@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{
    background: linear-gradient(325deg, rgba(252, 234, 179, 1) 0%, rgba(255, 247, 198, 1) 100%);
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

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;
}

.gallery{
    width: 90%;
    padding: 30px 0 30px 0;
    columns: 3 300px;
    column-gap: 1em;
    margin: 0 auto;
}

.gallery img{
    max-width: 100%;
    display: block;
    margin-bottom: 1em;
    border-radius: 6px;
    box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
}

.gallery-pub{
    width: 70%;
    padding: 30px 0 30px 0;
    columns: 2 300px;
    column-gap: 1em;
    margin: 0 auto;
}

.gallery-pub img{
    max-width: 100%;
    display: block;
    margin-bottom: 1em;
    border-radius: 6px;
    box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.4);
}

.container-link{
    width: 100%;
    background: linear-gradient(325deg, rgba(252, 234, 179, 1) 0%, rgba(255, 247, 198, 1) 100%);
}

/* boton a galeria siguiente */
.datos-link{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
}

.link .btn-link{
    font-size: 24px;
    font-family: "Henny Penny", system-ui;
    font-weight: 400;
    font-style: normal;
    width: 200px;
    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;
}

/* 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;
}

/*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;
}