html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 1em;
    font-family: Georgia, Times, "Times New Roman", serif;
}

body {
    margin: 0;
    background-color: white;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

h1 {
    font-weight: inherit;
    margin: 1em 0 1.5em;
    font-size: 2.5em;
    text-align: center;
}

h2 {
    font-size: 1.2em;
    font-style: italic;
}

h1, h2, h3, h4 {
    margin: 1.5em 0 1.5em;
    font-weight: inherit;
    line-height: 1.2;
}

hr {
  border-style: dotted none none;
  border-width: 8px;
  border-color: rgb(195, 218, 151);
  width: 5%;
  margin-top: 50px;
  margin-bottom: 50px;
}

.main-section {
    background-color: #efefef;
    padding: 1em 0;
    border-bottom: 5px solid #000;
    border-top: 5px solid #000;
}

.container {
    max-width: 60em;
    padding: 0 1.250em;
    margin: 0 auto;
    position: relative;
}

.subtitle {
    font-size: 1.2em;
    font-style: italic;
    text-align: center;
}

.profile-picture {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    max-width: 100%;
    height: auto;
    width: 200px;
    /* border: 5px solid #000; */
}

.profile-figure {
    text-align: center;
    margin: 1em auto;
}

.profile-coco {
    display: block;
    margin: 0 auto;
    margin-bottom: 0.5em;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    /* Tamaño máximo en pantallas grandes */
    width: 300px;
    /* border: 5px solid #000; */
}

.profile-figure figcaption {
    font-size: 1em;
    font-style: italic;
    color: #666;
    margin-top: 0.5em;
}

.pixel-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    margin: 1.5em 0;
    flex-wrap: wrap;
}

.pixel-pet {
    width: 90px;
    max-width: 25vw;
    height: auto;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.coco-hr {
    display: block;
    margin: 0 auto;
    margin-bottom: 0.5em;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    /* Tamaño máximo en pantallas grandes */
    width: 50px;
    /* border: 5px solid #000; */
}

.coco-fotos {
    display: block;
    margin: 0 auto;
    margin-bottom: 0.5em;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    /* Tamaño máximo en pantallas grandes */
    width: 400px;
    /* border: 5px solid #000; */
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .profile-coco {
        width: 80%;
        max-width: 300px;
    }
    
    .coco-fotos {
        width: 90%;
        max-width: 400px;
    }
    
    .profile-picture {
        width: 70%;
        max-width: 200px;
    }
    
    .section-link img {
        width: 120px;
    }

    .pixel-pet {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .profile-coco {
        width: 90%;
    }
    
    .coco-fotos {
        width: 95%;
    }
    
    .profile-picture {
        width: 80%;
    }
    
    .section-link img {
        width: 100px;
    }
    
    .section-link {
        margin: 0 0.5em;
    }

    .pixel-pet {
        width: 70px;
    }
}

.description {
    text-align: justify;
    /* border-left: 3px solid #333;
    border-right: 3px solid #333; */
    padding-left: 1em;
    padding-right: 1em;
    font-family: 'Merriweather', serif;
}

.sections {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.section-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    margin: 0 1.5em;
    transition: transform 0.2s;
}

.section-link:hover {
    transform: scale(1.05);
}

.section-link img {
    margin-bottom: 0.5em;
    border-radius: 10px;
    width: 150px;
    max-width: 100%;
    height: auto;
}

.section-link span {
    font-size: 1.1em;
    font-weight: 500;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 0;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}