* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Anonymous Pro", monospace;
    font-size: 16px;
}

main {
    flex: 1;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 20px;
}

@media (min-width: 1024px) {
    main {
        flex: 1;
        width: 100%;
        max-width: 50%;
        margin: 0 auto;
        padding: 20px;
    }
}

main img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

header {
    text-align: center;
    padding-top: 30px;
}

header h1 a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

header h1 a:hover {
    color: gray;
}

header nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

footer {
    text-align: center;
    padding: 30px;
}

.posts-list {
    list-style: none;
    padding: 0;
}

.posts-list li {
    margin-bottom: 20px;
}

.posts-list a {
    text-decoration: none;
    color: dodgerblue;
}

.posts-list a:hover {
    color: mediumblue;
}

.contacto {
    text-decoration: none;
    color:dodgerblue
}

.contacto:hover {
    color: mediumblue;
}

.posts {
    text-decoration: none;
    color:dodgerblue
}

.posts:hover {
    color: mediumblue;
}

.proyectos {
    text-decoration: none;
    color:dodgerblue
}

.proyectos:hover {
    color:mediumblue
}

ol {
    list-style-type: none;
    padding-left: 0;
}

@media (min-width: 1024px) {
    ol {
        list-style-type: decimal;
        padding-left: 20px;
    }
}

.intro img {
    float: left;
    width: 200px;
    max-width: 40%;
    height: auto;
    margin-right: 20px;
}

.intro::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 600px) {
    .intro img {
        float: none;
        width: 100%;
        max-width: none;
        margin-bottom: 20px;
    }
}