@import url('https://fonts.googleapis.com/css2?family=Henny+Penny&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

.float{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: #951b1a;
    bottom: 40px;
    right: 40px;
    border-radius: 50%;
    z-index: 999;
}

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

body{
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #fff;
}

a{
    text-decoration: none;
}

.header{
    background: linear-gradient(135deg, rgba(225, 135, 5, 1) 0%, rgba(250, 176, 72, 1) 100%);
    top: 0;
    width: 100%;
}

.logo{
    display: inline-block;
    font-size: 40px;
    font-family: "Henny Penny", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    text-shadow: 1px 1px #000;
    padding: 10px;
}

.encabezado{
    text-align: center;
}

h1{
    font-family: "Henny Penny", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #951b1a;
    text-align: center;
}

h2{
    font-family: "Henny Penny", system-ui;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
    line-height: 40px;
    color: #951b1a;
    padding-bottom: 10px;
}

h3{
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 20px;
}

h4{
    font-family: "Henny Penny", system-ui;
    font-size: 26px;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: #951b1a;
}

span{
    font-weight: bold;
    color: #951b1a;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

/*404*/
.error{
    background: linear-gradient(120deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
}

.seccion-error{
    width: 100%;
    padding: 50px;
    text-align: center;
}

.container-error{
    width: 100%;
    background: linear-gradient(320deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
}

.datos-error{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0 90px 0;
}

.error-link .btn-error{
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    font-weight: 300;
    width: 300px;
    background-color: #005757;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 12px;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
}

.error-link .btn-error:hover{
    background-color: #951b1a;
    color: #fff;
}


/*cvs*/
.cvs{
    background: linear-gradient(120deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
    width: 100%;
    padding-top: 20px;
}

.seccion{
    width: 70%;
    margin: 0 auto;
}

.seccion h2{
    text-align: center;
}

.contenido_col1{
    flex: 60%;
    padding: 20px;
}

.contenido_col1 p{
    padding-bottom: 20px;
    line-height: 25px;
}

.contenido_col2{
    flex: 40%;
    text-align: center;
    padding: 20px 0 20px 0;
}

.contenido_col2 img{
    width: 290px;
    border-radius: 10px;
    box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
}

.contenido_col2_img{
    flex: 40%;
    text-align: center;
    padding: 20px 0 20px 0;
}

.contenido_col2_img img{
    width: 290px;
    border-radius: 10px;
}

/* clientes lista */
.contenedor-clientes{
    background: linear-gradient(320deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 30px 0;
}

.contenedor-clientes h2{
    text-align: center;
}

.contenido_clientes{
    width: 80%;
    margin: 0 auto;

}

.clientes{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid #ffc061;
}

.lista_clientes{
    position: relative;
    width: 230px;
    border-left: solid 1px #ffc061;
    padding: 10px;
}

.lista_clientes p{
    font-size: 15px;
    line-height: 20px;
}

/* footer */
footer{
    background: linear-gradient(325deg, rgba(225, 135, 5, 1) 0%, rgba(250, 176, 72, 1) 100%);
    padding: 12px;
    display: flex;
    justify-content: center;
}

.redes{
    padding: 5px 20px 5px 20px;
}

.redes a{
    color: #005757;
}

.redes a:hover{
    color: #951b1a;
}

/* categorias */
.container-cards{
    background: linear-gradient(320deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
    padding: 20px;
    width: 100%;
}

.container-cards h1{
    font-size: 36px;
}

.card{
    width: 60%;
    columns: 3 200px;
    column-gap: 1em;
    margin: 0 auto;
}

.card .info{
    font-family: "Henny Penny", system-ui;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    padding: 20px;
    margin: 0 auto;
}

.card .info .dubujo{
    width: 74px;
}

.card .info .btn{
    width: 180px;
    background-color: #005757;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 10px;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.card .info .btn:hover{
    background-color: #951b1a;
    color: #fff;
}

/*video*/
.video{
    background: linear-gradient(120deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
    margin: 0 auto;
}

.seccion-video{
    width: 100%;
    padding: 30px 0 30px 0;
}

.contenido_video{
    width: 66%;
    margin: 0 auto;
}

.container-link{
    width: 100%;
    background: linear-gradient(320deg, rgba(231, 237, 194, 1) 0%, rgba(245, 244, 220, 1) 100%);
}

.datos-link{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
}

.datos-link p{
    margin-bottom: 10px;
    line-height: 25px;
}

.link .btn-link{
    font-size: 24px;
    font-family: "Henny Penny", system-ui;
    font-weight: 400;
    font-style: normal;
    width: 280px;
    background-color: #005757;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 10px;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
}

.link .btn-link:hover{
    background-color: #951b1a;
    color: #fff;
}

/*boton modal*/
.info3{
    display: flex;
    align-items: end;
}
.info3 p{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 10px;
}
.info3 .boton-modal{
    width: 18%;
    padding-bottom: 10px;
    text-align: right;
}
.fa-envelope{
    margin-top: 10px;
    font-size: 30px;
}
.boton-modal label{
    padding: 10px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 300ms ease;
}
.boton-modal label:hover{
    color: #ffc061;
}

/*ventana modal*/
#btn-modal{
    display: none;
}
.container-modal{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background-color: #222222a9;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#btn-modal:checked ~ .container-modal{
    display: flex;
}

.content-modal{
    width: 100%;
    max-width: 320px;
    position: relative;
    padding: 20px;
    border-radius: 6px;
    background-color: #ffffffc5;
}

.content-modal h2{
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    color: #951b1a;
    padding: 10px;
}
.content-modal p{
    text-align: center;
}

.content-modal .btn-cerrar{
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: flex-end;
    margin-top: -24px;
}
.content-modal .btn-cerrar label{
    width: 25px;
    background-color: #eb9955;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #333;
    border-radius: 6px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal .btn-cerrar label:hover{
    background-color: #fff;
}
.cerrar-modal{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0; left: 0;
    z-index: -1;
}

.mail .btn-mail{
    width: 280px;
    background-color: #005757;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 10px;
    color: #fff;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
}

.mail .btn-mail:hover{
    background-color: #951b1a;
    color: #fff;
}

@media (max-width: 768px)
{

    .portada{
        padding: 0;
    }
    
    .portada img{
        width: 100%;
        border-radius: 0;
    }

    .seccion{
        width: 100%;
    }

    .card{
        width: 100%;
    }

    .contenido_video{
        width: 100%;
    }

}