main{
    margin-top: 6%;
}
body {
    margin: 0;
    padding: 0;
    background-color: #9DA9A0;
}
header {
    background-color: #654C4F; 
    padding: 1px; 
    margin: 0;
    text-align: center;
    position: fixed; /* Para mantener el header en la parte superior */
    top: 0;
    width: 100%;
    z-index: 2; /* Asegura que está por encima del contenido */
}
hr {
    margin: 0; 
    border: 1px solid #000; 
    border: none;
    height: 5px;
    background-color: #CEC075;
}
h1{
    text-align: left;
    margin-left: 20px;
    color: #D2C0B8;
    font-family: Century Gothic;
}
.menu {
    grid-column: 1;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #654C4F;
    padding: 15px;
    z-index: 2; /* Asegura que esté por encima del contenido */
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu li {
    display: inline-block;
    margin-left: 30px;
}

.menu a {
    font-family: Century Gothic;
    color: #F8DDCD;
    text-decoration: none;
}

.menu a:hover {
    color: #ff0000;
}
@keyframes movimiento {
  0% { 
    transform: translateY(-100%);
    opacity: 0%;
  }
  100% { 
    transform: translateY(20%);
    opacity: 100%;
  }
}
img.smaller {
    width: 90%; 
    height: 10%;
    display: block; 
    margin: 0 auto; 
    padding: 20px; 
    border-radius: 50px;
    /*padding-top: 100px;
    border-radius: 30px; /* Esquinas redondeadas */
    align-self: flex-start;
    background-size: cover;
    animation: movimiento 2s forwards; 
}
@keyframes movimiento-dos {
  0% { 
    transform: translateY(-100%);
    opacity: 0%;
  }
  100% { 
    transform: translateY(3%);
    opacity: 100%;
  }
}
.izqprincipal{
    width: 30%;
    float: right;
    margin-left: 5%;
    position: absolute; 
    border-radius: 50px;
    animation: movimiento-dos 2s forwards; 
    margin-top: 5%;
    height: 250px;
}
.biography {
    text-align: left    ; /* Centramos el contenido */
    padding: 20px; /* Espacio alrededor del texto */
    font-family: 'Century Gothic', sans-serif; /* Estilo de fuente */
}
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #B26E63;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color:rgb(255, 255, 255);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
p{
    text-align: "justify";
}
@keyframes movimiento-texto {
    0% { 
    transform: translateY(-100%);
    opacity: 0%;
  }
  100% { 
    transform: translateY(5%);
    opacity: 100%;
  }
}
.rectangulo {
    position: relative;
    width: 60%;
    float: right; /* Alinea a la derecha */
    padding: 30px; /* Espacio alrededor del contenido */
    font-size: 180%;
    border-radius: 50px;
    font-family: Georgia;
    color: #654C4F;
    background-color: #C0CAAD;
    animation: movimiento-texto 2s forwards; /* Animación para el cuadro de texto */
    margin-top: 5%;
    height: auto;
}
.ima{
    text-align: right;
    max-width: 10%;
}
.titu{
    text-align: center;
    color: #4A3336;
}
.hr {
    margin: 0; 
    border: none; /* Elimina el borde */
    height: 5px;
    background-color: #222831;
}
h2{
    margin-top: 2%;
    text-align: center;
    margin-left: 20px;
    color: #654C4F;
    font-family: Century Gothic;
}
h3{
    text-align: left    ;
    margin-left: 20px;
    color: hwb(0 0% 100%);
    font-family: Century Gothic;
}
ol{
    text-align: left    ;
    margin-left: 0px;
    color: white;
    font-family: Century Gothic; 
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.grid-item {
    border-radius: 10px;
    box-shadow: black;
    padding: 20px;
    background-color: #B26E63;
    text-align: center;
}

.grid-img {
    width: 100%;
    border-radius: 10px;
}

.grid-title {
    font-size: 18px;
    color: #F8DDCD;
    margin-top: 10px;
}
.grid-container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 2%;
    margin-bottom: 30px;
}

.grid-item {
    text-align: center; /* Centra el contenido */
    font-family: Century gothic;
}

.grid-img {
    width: 100%; /* Ajusta el tamaño de la imagen */
    max-width: 200px; /* Establece un ancho máximo */
    height: auto; /* Mantiene la proporción */
    border-radius: 10px; /* Agrega esquinas redondeadas */
}

.grid-title {
    margin-top: 10px; /* Espacio entre la imagen y el título */
}
.forma {
    width: 700%; /* Ancho del rectángulo */
    max-width: 1000px; /* Ancho máximo del rectángulo */
    padding: 20px;
    background-color: #C0CAAD;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-left: 20px;
    margin-top: 20px;
    position: relative; 
}
.derecha{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 15px;
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.derecha1{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 210px; 
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.derecha2{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 435px; 
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.derecha3{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 663px; 
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.derecha4{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 867px; 
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.derecha5{
    width: 15%;
    height: 15%;
    float: right;
    margin-right: 10px;
    position: absolute;
    top: 1065px; 
    right: -190px;
    border: solid #CEC075;
    border-radius: 20px;
}
.h1dos{
    color: #654C4F;
}
.hrokey{
    color: #CEC075;
    background-color: #CEC075;
}
.grillas{
    display: inline-grid;
    grid-template-columns: 100%;
}
header > button{
    display: none;
}
.hamburguesa{
    display: none;
}
.obras{
    display: none;
}
.links{
    margin-left: 40%;
    color: #B26E63;
    font-size: 120%;
}
.linksa{
    color: #B26E63;
}
.linksa2{
    color: #CEC075;
}
.catalogo{
    margin-top: 6%;
    text-align: center;
    color: #4A3336;
}
a{
    color: #D2C0B8;
}
@media screen and (max-width: 800px){
    img.smaller {
        width: 90%; 
        height: 10%;
        margin-top: 20%;
        position: relative;
        display: block; 
        padding: 20px; 
        border-radius: 50px;
        /*padding-top: 100px;
        border-radius: 30px; /* Esquinas redondeadas */
        background-size: cover;
        animation: movimiento 2s forwards; 
    }
    .rectangulo {
        position: relative;
        width: 80%;
        float: right; /* Alinea a la derecha */
        padding: 30px; /* Espacio alrededor del contenido */
        font-size: 120%;
        border-radius: 50px;
        font-family: Georgia;
        color: #654C4F;
        background-color: #C0CAAD;
        animation: movimiento-texto 2s forwards; /* Animación para el cuadro de texto */
        margin-top: 0;
        margin-bottom: 0%;
        height: auto;
    }
    .izqprincipal{
        width: 90%;
        margin-left: 1%;
        margin-top: 110%;
        position: absolute; 
        border-radius: 50px;
        height: 20%;
        animation: movimiento-dos 2s forwards; 
    }
    .grillas{
        display: inline-grid;
        grid-template-columns: 29.5% auto;
        margin-left: -1px;
    }
    .menu{
        display: none;
    }
    header h1{
        text-align: center;
    }
    header button{
        grid-column: 1;
        width: 100%;
        background-color: #9B7F79;
        color: #654C4F;
        font-size: 300%;
        border: none;
        display: block;
        width: 100%;
        border: 4px #654C4F solid;
        border-bottom: none;
    }
    header a{
        color: #D2C0B8;
    }
    .hamburguesaOn{
        background-color: #9B7F79;
        margin-top: 20%;
        display: block;
        width: 28%;
        border: 4px #654C4F solid;
        border-top: none;
        color: #CEC075;
        position: fixed;
        z-index: 2;
        top: 0%;
    }
    .obrasOn{
        display: block;
    }
    a{
        color: #CEC075;
    }
    .obrasOn a{
        color: #C0CAAD;
    }
    .forma {
        width: 55%;
        max-width: 55%;
        padding: 20px;
        background-color: #C0CAAD;
        border: 1px solid #ccc;
        border-radius: 10px;
        margin-left: 20px;
        margin-top: 0%;
        position: relative; 
    }
    .derecha, .derecha1, .derecha2, .derecha3, .derecha4, .derecha5{
        width: 40%;
        height: auto;
        float: right;
        margin-right: 10px;
        position: absolute;
        margin-top: 40px;
        margin-bottom: 40%;
        left: 100%;
        right: 0%;
        border: solid #CEC075;
        border-radius: 20px;
    }
    main{
        margin-top: 20%;
    }
    .grid-container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2%;
        row-gap: 20px;
    }
    h2{
        text-align: center;
        margin-left: 20px;
        color: #654C4F;
        font-family: Century Gothic;
    }
    .links{
        margin-left: 9%;
        color: #B26E63;
        font-size: 120%;
    }
    .linksa{
        color: #B26E63;
    }
    .catalogo{
        margin-top: 6%;
        text-align: center;
        color: #4A3336;
    }
    header {
        background-color: #654C4F;
        color: #D2C0B8;
        padding: 1px; 
        margin: 0;
        text-align: center;
        position: fixed; /* Para mantener el header en la parte superior */
        top: 0;
        width: 100%;
        height: 11%;
        z-index: 2; /* Asegura que está por encima del contenido */
    }
}