@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    text-decoration: none;
}
header{
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    background: #285ea5;
}
/* Header Superior */
.header__superior{
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
}
.logo img{
    width: 150px;
}
.search input{
    width: 300px;
    padding: 10px;
}
/*Barra Menú*/
.container__menu{
    width: 100%;
    height: 70px;
    background: #285ea5;
    padding: 0 40px;
}
.menu{
    max-width: 1500px;
    margin: auto;
    height: 100%;
}
nav{
    height: 100%;
}
nav > ul{
    width: 50px;
    height: 100%;
    display: flex;
}
nav ul li{
    height: 100%;
    list-style: none;
    position: relative;
}
nav > ul > li:first-child > a{
    background-image: url(../img/home.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0px 40px;
}
nav > ul > li:first-child:hover > a{
    background-image: url(../img/home.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
}
nav > ul > li > a{
    /*width: 50px;*/
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #fff;
    font-size: 14px;
    transition: all 30ms ease;
}
nav > ul > li > a:hover{
    transform: scale(1.1);
    background: #55914a;
    box-shadow: 0px, 0px, 10px, 0px rgba(0, 0, 0, 0.5);
}
#selected{
    transform: scale(1.1);
    background-color: #55914a;
    box-shadow: 0px, 0px, 10px, 0px rgba(0, 0, 0, 0.5);   
}
/*Sub Menú */
/*#lia_seleccion nav ul li ul li{*/
nav ul li ul{
    width: 250px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 90PX;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px, 0px, 10px, 0px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: all 300ms ease;
}
nav ul li:hover ul{
    visibility: visible;
    opacity: 1;
    top: 70px;
}
nav ul li ul::before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: -12px;
    left: 20px;
}
nav ul li ul li a{
    display: block;
    color: #285ea5;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}
nav ul li ul li a:hover{
    background: #285ea5;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px, 0px, 10px, 0px rgba(0, 0, 0, 0.5);
}
.mostrar-menu{
    font-size: 60px;
    width: 60px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
    color: #fff;
    height: 100%;
    align-items: center;
}
.mostrar-menu{
    order: 1;
}
#check{
    display: none;
}
/* Banner */
#banner{
    padding: 100px 0px 0px 50px;
    background-image: url(../img/laguna-larga-parque-ecoturistico-los-azufres-michoacan-aguas-termales-AoPEbr5Lq8hwVe0L.jpg.avif);
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    position: relative;
    z-index: -2;
}
#banner::before{
    content: '';
    background: rgba(77,77,92,0.1);
    position: absolute;
    width: 100%;
    height: 60vh;
    left: 0;
}
.contenido-banner{
    position: relative;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column; /*flex row*/
    justify-content: center;
}
.contenido-banner h3{
    font-size: 30px;
    font-weight: 400;
    padding: 50px 0px;
}
.contenido-banner h3 span{
    font-weight: 600;
}
.boton-empezar{
    text-decoration: none;
    color: #fff;
    border: 1px solid #55914a;
    padding: 20px 60px;
    align-self: baseline;
    transition: all 0.4s;
}
.boton-empezar:hover{
    background: #6cc09070;
}
/* Secciones (para Secciones.html) */
.card {
    display: flex;
    width: auto;
    padding: .1em;
    flex-wrap: wrap;

    position: relative;
    width: cover;
    height: 500px;
    margin: 20px;

}
.image_size_card{
    display: inline;
    width: 300px;
    height: auto;
}
.card .face {
    z-index: -2;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 145px;
    line-height: 145px;
    color: #fff;
    font-size: 60px;
    background: rgba(0,0,0,.4);
    text-align: center;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    background: #285ea5;
    /*background: rgb(3, 35, 54);*/
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: justify;
    box-shadow: 0 5px 10px #000;
}

.card .back .link {
    border-top: solid 1px #f3f3f3;
    height: 80px;
    line-height: 80px;
}

.card .back .link a {
    color: #f3f3f3;
    font-size: 30px;
}

.card .back h3 {
    font-size: 60px;
    margin-top: 20px;
    letter-spacing: 4px;
    text-align: center;
}

.card .back p {
    letter-spacing: 1px;
    font-size: 20px;
} 

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
}


/* Artículos */
main{
    background: #285ea5;
    padding: 5px 0px 5px;
    margin-top: 0px;
}
article{
    max-width: 1500px;
    margin: 20px;
    padding: 50px 50px 50px 50px;
    background: #fff;
}
article p{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300px;
    text-align: justify;
}
article h2{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 300px;
    text-align: center;
    color: #55914a;
}
.containerabc{
    display: flexbox;
    width: 200px;
    height: 100vh;
    padding: .1em;
}
.image_size{
    display: flex;
    width: 300px;
    height: auto;
}

/*creando animación para las imagenes en el scroll*/
@keyframes show{
    from{
        opacity: 0;
        scale: 25%;
    }
    to{
        opacity: 1;
        scale: 100%;
    }
}

img{
    animation: show linear;
    animation-timeline: view();
/*    view-timeline-name: --image;
    view-timeline-axis: block; vertical y si es inline es horizontal
    animation-timeline: --image;
    animation-name: show;
    animation-range: entry  25% cover 50%;
    animation-fill-mode: both;*/
}



/* Precios */
/*table{
    background: #fff;
    color: #285ea5;
    border-collapse: collapse;
}

table th{
    padding: 10px 50px;
}

table td{
    font-size: 20px;
    color: #285ea5;
}

table tr:nth-child(even){
    font-size: 20px;
    background-color: #edefee;
}
table tr:hover{
    font-size: 20px;
    background-color: #c2d0e4;
    color: #fff;
}*/
/*.acampar{
    margin-left: auto;
    margin-right: auto;
    margin: 30px 5px;
    /*width: 800px;
    padding: 10px 50px;
}
.acampar tr:nth-of-type(1) > th{
    background: #285ea5;
    color: #fff;
    border-bottom: solid 5px #55914a;
}
#balneario{
    margin: 30px 5px;
    /*width: 800px;
    padding: 10px 50px;
}
#balneario tr:nth-of-type(1) > th{
    background: #285ea5;
    color: #fff;
    border-bottom: solid 5px #55914a;
}
#habitaciones{
    margin: 30px 5px;
    /*width:auto;
    padding: 10px 50px;
}
#habitaciones tr:nth-of-type(1) > th{
    background: #285ea5;
    color: #fff;
    border-bottom: solid 5px #55914a;
}
#cabañas{
    margin: 30px 5px;
    /*width: 800px;
    padding: 10px 50px;
}
#cabañas tr:nth-of-type(1) > th{
    background: #285ea5;
    color: #fff;
    border-bottom: solid 5px #55914a;
}
*/
.table-rwd {
    font-size: .85em;
    border: 1px solid rgba(21, 27, 187, 0.5);
    background: #fff;
    color: #285ea5;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto; }
    .table-rwd td, .table-rwd th {
        padding: .8em;
        border-bottom: 1px solid rgba(146, 144, 213, 0.5); }
    .table-rwd th {
    background: #285ea5;
    color: #fff;
    font-weight: normal;
    text-align: center; }
/*    .table-rwd td {
        font-size: 20px;
        color: #285ea5;
        text-align: right; }
    .table-rwd td:before {
        content: "$ ";
        color: #1A8CFF; }
    .table-rwd td:after {
        content: ".00"; }
    .table-rwd td:first-of-type {
        text-align: left; }
        .table-rwd td:first-of-type:before {
        content: ""; }
        .table-rwd td:first-of-type:after {
        content: ""; }
*/
    .table-rwd tr:hover {
/*    font-size: 20px;
    background-color: #c2d0e4;
    color: #fff;*/

    background: rgba(181, 213, 144, 0.2); }
/* Acomoda color por columna cada dos
    .table-rwd tr td:nth-child(2n) {
    background: rgba(181, 213, 144, 0.2); }
*/
.table-container {
    overflow-x: auto; }

/*.table-rwd {
    min-width: 900px; }
    .table-rwd td:first-child {
    position: absolute;
    background: #fff;
    width: 8em; }
    .table-rwd th:first-child {
    width: 8em; }
    .table-rwd tr:hover td:first-child {
    background: #1A8CFF;
    color: #fff; }
    .table-rwd tr:nth-child(2) td:first-child {
    box-shadow: 0 -2.7em 0 -6px #1A8CFF, -6px -2.7em 0 -6px #1A8CFF; }
*/
.moneda{
    /* background-color: aqua; */
    text-align:right;
    width: 8em;
}

.texto3d {
    font-size: 3.5em;
    color: #eee;
    text-shadow: 2px 2px #000,
                1px 1px #142533,
                2px 2px #142533,
                3px 3px #142533,
                4px 4px #142533,
                5px 5px #142533,
                6px 6px #142533,
                7px 7px #142533,
                8px 8px #142533,
                9px 9px #142533,
                10px 10px #142533,
                11px 11px #142533,
                12px 12px #142533,
                13px 13px #142533,
                14px 14px #142533,
                15px 15px #142533,
                16px 16px #142533,
                17px 17px #142533,
                18px 18px #142533,
                19px 19px #142533,
                20px 20px #142533,
                21px 21px #142533,
                22px 22px #142533,
                23px 23px #142533,
                24px 24px #142533,
                25px 25px #142533,
                26px 26px #142533,
                27px 27px #142533,
                28px 28px #142533,
                29px 29px #142533,
                30px 30px #142533,
                31px 31px #142533,
                32px 32px #142533,
                33px 33px #142533,
                34px 34px #142533,
                35px 35px #142533,
                36px 36px #142533,
                37px 37px #142533,
                38px 38px #142533,
                39px 39px #142533,
                40px 40px #142533;
    transform: rotate(-6deg);
}



 /* Footer */
footer{
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0px;
}
     /* Mapa */
    .map-responsive{
        overflow: hidden;
        padding-bottom: 56.25%;
        position: relative;
        height: 0;
    }
    .map-responsive iframe{
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        border: 0;
    }



/* Responsive */
/*@media(max-height:528px max-width:768px){
    .contenido-banner{
        display: flex;
        flex-direction: row;
    }  
}*/
@media(max-width:768px){
/* Banner */
#banner{
    padding: 80px 0px 0px 50px;
    background-image: url(../img/laguna-larga-parque-ecoturistico-los-azufres-michoacan-aguas-termales-AoPEbr5Lq8hwVe0L.jpg.avif);
    height: 45vh;
    background-size: cover;
    background-position: center;
    display: flex;
    }
#banner::before{
    content: '';
    background: rgba(77,77,92,0.1);
    position: absolute;
    width: 100%;
    height: 45vh;
    left: 0;
}
.contenido-banner h3{
        font-size: 20px;
        font-weight: 400;
        padding: 10px 0px;
    }
    .boton-empezar{
        padding: 5px 30px;
        font-size: 20px;
    }
        .logo img{
        width: 100px;
        padding: 50px auto 0px;
    }    
    nav > ul{
        flex-direction: column;
        background-color: #285ea5;
        position: fixed;
        left: 0;
        top: 70px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }    

    nav > ul > li > a:hover{
        transform: scale(1);
    }
    nav ul li ul{
        left: 90px;
    }
    nav > ul > li:hover > ul{
        top: 50px;
    }
    nav > ul > li:first-child a{
        background-position: 20px;
    }
    #selected{
        transform: scale(1);
    }
    .mostrar-menu{
        display: flex;
    }
    #check:checked ~ nav > ul{
        height: 300px;
        opacity: 1;
        visibility: visible;
    }
    /* Artículos */    
    main{
        padding: 5px 0px 5px;
        margin-top: 0px;
    }
    article p{
        margin-top: 20px;
        font-size: 14px;
        font-weight: 300px;
        text-align: justify;
    }     /* Mapa */
/*        .map-responsive{
        overflow: hidden;
        padding-bottom: 56.25%;
        position: relative;
        height: 0;
        }
        .map-responsive iframe{
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        border: 0;
    }*/    
}