@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
body{
     font-family: "EB Garamond", serif;
     background-color: #04010010;/*color de la pagina*/
}
img{
    max-width: 100%;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
}
.header{
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 50px 0 0 0;
}
.menu {
    position: absolute;
    top:0;
    left:0;
    right: 0;
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.logo{
    color:#e22717;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 800;
    font-family: 'Times New Roman', Times, serif;
}
.menu .navbar ul li{
    position: relative;
    float: left;
}
.menu .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color:#0d0d0d;
    display: block;
    font-weight: 600;
}
.menu .navbar ul li a:hover{
    color:#68e217a7;
}
#menu{
    display:none;
}
.menu-icono{
    width: 25px;
}
.menu label{
    cursor:pointer;
    display: none;
}
.header-content{
    display:flex;
    align-items: center;
    margin-top: 100px;
}
.header-txt{
    flex-basis: 50%;
}
.header-txt h1{
    font-size: 100px;
    line-height: 1;
    font-family: 'Times New Roman', Times, serif;
    color: #ffffff;
    margin-bottom: 50px;
}
.p{ /*parrafo*/
    color:#D0D0D0;
    font-size: 17px;
    margin-top: 35px;/*sino jala margin-button*/
}
.btn-1{
    display: inline-block;
    padding: 13px 35px;
    background-color: #e22717;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px;
    border-radius: 25px;
}
.btn-1:hover{
    background-color: #ffffff;
    color: #040100;
}
.header-img{
    text-align: right;
    flex-basis: 50%;
}
.header-img img{
    width: 850px;
}
.information{
    padding: 50px 0;
}
.information-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.information-box{
    flex-basis: 50%;
    display: flex;
}
.card-1{ /*para los cuadros lado a lado*/
    flex-basis: calc(50%-100px);
    background-color:rgba(237, 232, 101, 0.345);
    border-radius: 25px;
    margin-right: 50px;
    text-align: center;
    padding: 20px;
}
.card-1 img{ 
    width: 150px;
    margin-top: -70px;
}
.card-1 h3{
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #447a5f;
}
.card-1 p{
    margin-bottom: 10px;
}
.card-1 span{
    color:#e22717;
    font-weight: 700;
}
.informacion-txt{
    flex-basis: 50px;
}
h2{
    color:#99d2fb;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 30px;
}
h4{
    color:#83513e;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 30px;
}
h5{
    color:#e4568b;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 30px;
}
.general{
    padding: 50px 0;
}
.general-content{
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.general-txt{
    flex-basis: 50%;
    margin: 0 50px;
}
.general-img{
    text-align: center;
    flex-basis: 50%;
}
.contacto{
background-color:#b53324; /*fondo del contenedor principal*/
	padding: 40px; /*espacio interno*/
	text-shadow: none;
	border-radius: 10px; /*sirve para que tenga bordes redondeados*/
	box-shadow: 0 0 10px rgba (0,0,0,0.1);/*sombra suave alrededor*/
	width: 500px /*Ancho fijo del contenedor*/
	margin auto; /*Centrado*/
	margin-bottom: 25px;
}
.formulario-login h2{
	text-align: center; /*centra el titulo dentro del formulario*/
	margin-bottom:20px;/*Espacio inferior al titulo*/
	color: #f5e2ce; /*color del texto del titulo*/
}
.formulario-login input{
	display:block;/*Es para que el objeto se muestre*/
	width:100%;
	padding: 10px;
	margin-bottom: 15px; /*Espacio entre campos*/
	border: 1px /*grueso*/ solid #CB46E2; /*color solido*/ /*Es para crear un borde ligero*/
	border-radius: 5px; /*Bordes redondeados*/
	box-sizing: border-box;/*Incluye el borde y el padding en el ancho total*/
}
.formulario-login textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #CB46E2;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none; /*evita que el usuario cambie el tamaño*/
    height: 50px; /*ajusta la altura del cuadro*/
}
.formulario-login button{
	width:35%;
	padding:10px;
	background-color:#c08429; /*fondo lila*/
	color: armygreen; /*color del texto*/
	border: none; /*Es sin borde*/
	border-radius: 10px 60px 30px; /*Bordes punta a punta*/
	cursor: pointer;/*Cambia el cursor a una manita*/
	font-weight: bold;/*para que sea letra negrita la letra del botón*/
	transition: background-color 0.3s ease; /*suavizar el cambio de color al pasar el mouse*/
}
.formulario-login button:hover{
	background-color: #ab2a02; /*Rosa oscura al pasar el mouse*/
	display: block;
	filter: drop-shadow(0 0 10px #e5a657);
}
.footer{
	color: black;
    text-align: center;
    padding: 10px;
    background-color: #D9CBC2;
	text-shadow: 2px 4px 10px  gold;/
}
.especial{
    width: 1ch;
    overflow: hidden;
    font-family: 'Courier New';
    animation: 4s proyectos steps(12)
    infinite alternate;
}
@keyframes proyectos {
    from{width: 0ch; }
    to {width: 12ch;}
}
@media (max-width:991px){
    .menu label{
        display: block;
    }    
    .menu .navbar{
        position: absolute;
        top:100px;
        left: 0;
        right: 0;
        background-color:#867b18;
        display:none;
        flex-direction: column;
        text-align: center;
    }
    #menu:checked ~ .navbar{
        display: block;
    }
    .menu .navbar ul li{
        width: 100%;
    }
    .header{
        min-height: 0vh;
        padding: 80px 0 30px 0;
    }
    .header-content{
        padding: 20px;
        flex-direction: column;
        text-align: center;
        margin-top: 50px;
    }
    .header-txt{
        margin-top: 35px;
    }
    .header-txt h1{
        font-size: 80px;
        margin-bottom: 25px;
    }
    .header-img{
        text-align: center;
    }
    .header-img img{
        width: 100%;
    }
    .information{
        padding: 20px;
    }
    .information-content{
        flex-direction: column;
        text-align: center;
    }
    .information-box{
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .card-1{
        flex-basis: calc(50%-20px);
        margin-right: 10px;
        padding: 20px;
    }
    .general{
        padding: 0 20px;
    }
    .general-content{
        flex-direction: column;
        text-align: center;
    }
    .general-txt{
        margin: 0 0 20px 0;
    }
    .general-img{
        order: 2;
    }
}