body {
    margin: 0;
    padding: 0;
    background-color: #9DA9A0;
}
footer{
	text-align: right;
}
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 */
}
p{
	font-size: x-large;
    font-family: Georgia;
    color: #3B4D42;
    text-align: justify;
    margin: 45px;
}
b{
    text-align: justify;
}
h1{
	font-size: xx-large;
    color: #D2C0B8;
}
.letrah1{
    color: #4A3336;
    text-align: center;
    
}
.hrequis{
    width: 85%;
    color: #CEC075;
    margin: 0 auto ;
}
img{
	margin-left: 28%;
	width: 50%;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
display: block;
}

@media screen and (min-width:800px)
{
	
	p{
		font-size: xx-large;
	}
	.imgl{
		margin-left: 42%;
		width: 16%;
        border-color: #CEC075;
        border-radius: 20px;
	}
	h1{
    text-align: left;
    margin-left: 20px;
    color: #D2C0B8;
    font-family: Century Gothic;
	}
	html {
	    scroll-behavior: smooth;
	}

	/*body {
	    margin: 0;
	    padding: 0;
	    background-color: ;
	}*/

	.menu {
		height: 0;
	    position: absolute;
	    top: 14px;
	    right: 0;
	    background-color: #C0CAAD;
	    padding: 15px;
	}

	.menu ul {
	    list-style: none;
	    padding: 0;
	    margin: 10;
	}

	.menu li {
	    display: inline-block;
	    margin-left: 30px;
	}

	.menu a {
	    font-family: Century Gothic;
	    color: black;
	    text-decoration: none;
	}

	.menu a:hover {
	    color: #ff0000;
	}

	hr {
	    border: none;
	    height: 5px;
        color: #CEC075;
	    background-color: #CEC075;
	}

	img.smaller {
	    max-width: 90%; /* Máximo ancho para reducir la imagen */
	    height: auto; /* Mantener proporciones */
	    display: block; /* Asegura que no haya espacios extra */
	    margin: 0 auto; /* Centrar la imagen horizontalmente */
	    padding: 20px; /* Espacio adicional para asegurar distancia con bordes */
	    border-radius: 20px; /* Esquinas redondeadas */
	    align-self: flex-start;
	}

	.biography {
	    text-align: left    ; /* Centramos el contenido */
	    padding: 20px; /* Espacio alrededor del texto */
	    font-family: 'Century Gothic', sans-serif; /* Estilo de fuente */
	}


}
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%;
    z-index: 2; /* Asegura que está por encima del contenido */
}
hr {
    margin: 0; 
    border: 1px solid #000; 
    border: none;
    height: 5px;
    color: #CEC075;
    background-color: #CEC075;
}
h1{
    text-align: center;
    margin-left: 20px;
    color: #D2C0B8;
    font-family: Century Gothic;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #9DA9A0;
}

.menu {
    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;
    margin: 10;
}

.menu li {
    display: inline-block;
    margin-left: 30px;
}

.menu a {
    font-family: Century Gothic;
    color: #D2C0B8;
    text-decoration: none;
}

.menu a:hover {
    color: #CEC075;
}
img.smaller {
    max-width: 90%; /* Máximo ancho para reducir la imagen */
    height: auto; /* Mantener proporciones */
    display: block; /* Asegura que no haya espacios extra */
    margin: 0 auto; /* Centrar la imagen horizontalmente */
    padding: 20px; /* Espacio adicional para asegurar distancia con bordes */
    border-radius: 30px; /* Esquinas redondeadas */
    border-color: #CEC075;
    align-self: flex-start;
}

.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";
}
.rectangulo {
    width: 50%; /* Ocupa la mitad del ancho de la pantalla */
    float: right; /* Alinea a la derecha */
    padding: 20px; /* Espacio alrededor del contenido */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
    background-color: white;
}
.ima{
    text-align: right;
    max-width: 10%;
}
.titu{
    text-align: center;
    color: white;
}
.hr-container {
    max-width: 80%; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centra el contenedor horizontalmente */
}

.hr {
    margin: 0; 
    border: none; /* Elimina el borde */
    height: 5px;
    background-color: #CEC075;
    color: #CEC075;
}
h2{
    text-align: center;
    margin-left: 20px;
    color: #ffD369;
    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: #C0CAAD;
    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: #C0CAAD;
    text-align: center;
}

.grid-img {
    width: 100%;
    border-radius: 10px;
}

.grid-title {
    font-size: 18px;
    color: white;
    margin-top: 10px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Crea 4 columnas iguales */
    grid-gap: 20px; /* Espacio entre los elementos */
}

.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 */
}
.centered-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: calc(100vh - 50px); /* Resta la altura del header/menu */
    padding-top: 50px; /* Espacio para el header */
}

.forma {
    width: 50%; /* Ancho del rectángulo */
    max-width: 1000px; /* Ancho máximo del rectángulo */
    padding: 20px;
    background-color: #C0CAAD;
    border: 1px solid;
    border-radius: 10px;
}
.grillas{
    display: inline-grid;
    grid-template-columns: 100%;
}
header > button{
    display: none;
}
.hamburguesa{
    display: none;
}
.obras{
    display: none;
}
main{
    margin-top: 7%;
}
a{
    color: #D2C0B8;
}
@media screen and (max-width: 800px){
    .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: 17%;
        grid-column: 1 / 2;
        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;
    }
    main{
        margin-top: 20%;
    }
}