@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    max-width: 1300px;
    margin: auto;
    padding: 10px 15px;
}

body{
    font-family: 'Poppins', sans-serif;
}

.logo img{
    width: 50%;
}

.header{
    left: 0;
    top: 0;
    width: 100%;
    border-bottom: 1px solid hsla(0,0%,100%,0.2);
}

.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo img{
    vertical-align: middle;
}

.header .menu .head{
    display: none;
}

.header .menu ul{
    list-style: none;
}

.header .menu > ul > li{
    display: inline-block;
}

.header .menu > ul > li:not(:last-child){
    margin-right: 40px;
}

.header .menu .dropdown{
    position: relative;
}

.header .menu a{
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: hsl(100, 100%, 0%);
    line-height: 1.5;
    display: block;
}

.header .menu > ul > li > a{
    padding: 24px 0;
}

.header .menu > ul > .dropdown > a{
    padding-right: 15px;
}

.header .menu i{
    font-size: 10px;
    pointer-events: none;
    user-select: none;
    position: absolute;
    top: calc(50% - 5px);
}

.header .menu > ul > li > i{
    right: 0;
}

.header .menu .sub-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 230px;
    padding: 15px 0;
    background-color: hsl(0, 0%, 87%);
    box-shadow: 0 0 5px hsla(0, 0%, 0%, 0.5);
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}

.header .menu .sub-menu-right{
    left: 100%;
    top: 0;
}

.header .menu .sub-menu-left{
    top: 0;
    left: auto;
    right: 100%;
}

.header .menu li:hover > .sub-menu{
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: all 0.5s ease;
}

.header .menu .sub-menu a{
    padding: 6px 24px;
}

.header .menu .sub-menu .dropdown > a{
    padding-right: 34px;
}

.header .menu .sub-menu span{
    background-image: linear-gradient(hsl(100, 100%, 0%), hsl(100, 100%, 0%));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
}

.header .menu .sub-menu li:hover > a > span{
    background-size: 100% 1px;
}

.header .menu .sub-menu i{
    transform: rotate(-90deg);
    right: 24px;
}

.header-right{
    display: flex;
}

.header-right > *{
    margin-left: 15px;
}

.header-right .icon-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: black;
    font-size: 16px;
}

.header-right .open-menu-btn{
    display: none;
}

.horarios{
    text-decoration: none;
    background-color: rgb(175, 0, 0);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.horarios:hover{
    background-color: rgb(143, 0, 0);
    font-weight: 600;
}

/*HORARIOS*/

.title{
    color: rgb(210, 18, 22);
    margin-top: 30px;
    text-align: center;
    font-size: 40px;
}

.title h2{
    font-size: 40px;
}

.title h3{
    font-size: 30px;
}

.title p{
    padding: 3em;
    width: 80%;
    margin: auto;
    color: black;
}

.txt{
    text-align: justify;
    font-size: 20px;
}

.horario img{
    padding: 30px;
    display: flex;
    margin: auto;
    max-width: 1400px;
}

/*FILTRO DE HORARIOS*/
.contenedor{
    width: 100%;
    padding: 30px 8%;
}

.sectionhead{
    max-width: 1000px;
    margin: 0 auto 25px;
    text-align: center;
}

.sectionhead h1{
    position: relative;
    font-size: 32px;
    margin: 10px 0px 30px;
    color: rgb(175, 0, 0);
}

.botton-group{
    text-align: center;
    margin-bottom: 40px;
}

.botton-group .button{
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-style: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.botton-group .Ene .button.active{
    background-color: rgb(0, 88, 160);
    color: white;
}

.botton-group .Marzo .button.active{
    background-color: rgb(0, 94, 8);
    color: white;
}

.botton-group .Junio .button.active{
    background-color: rgb(141, 0, 0);
    color: white;
}

.botton-group .Sept .button.active{
    background-color: rgb(167, 157, 23);
    color: white;
}

.botton-group .Nov .button.active{
    background-color: rgb(0, 148, 141);
    color: white;
}

.Ene .button{
    background-color: rgb(154, 209, 255);
}

.Marzo .button{
    background-color: rgb(199, 255, 204);
}

.Junio .button{
    background-color: rgb(255, 185, 185);
}

.Sept .button{
    background-color: rgb(240, 252, 137);
}

.Nov .button{
    background-color: rgb(29, 81, 252);
}

/*FOOTER*/

footer{
    background-color: black;
    position: relative;
    width: 100%;
    min-height: 350px;
    padding: 3rem 1rem;
}

.container-footer{
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.col .fa-facebook,
.col .fa-instagram,
.col .fa-tiktok{
    font-size: 25px;
}

.row{
    display: flex;
    justify-content: space-between;
}

.col{
    color: white;
    font-family: 'Poppins', sans-serif;
    padding: 0 2rem;
    font-size: 13px;
}

.col img{
    width: 100px;
    margin-bottom: 25px;
}

.col h3{
    color: aquamarine;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

.col h4{
    color: beige;
}

.col h3::after{
    content: '';
    height: 3px;
    width: 0px;
    background-color: aquamarine;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}

.col h3:hover::after{
    width: 50px;
}

.col .social a i{
    color: white;
    margin-top: 2rem;
    margin-right: 20px;
    transition: 0.3s ease;
}

.col .social a i:hover{
    transform: scale(1.5);
    filter: grayscale(25);
}

.col .links a{
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 5px;
    position: relative;
    transition: 0.5s ease;
}

.col .links a:before{
    content: '';
    height: 16px;
    width: 3px;
    position: absolute;
    top: 5px;
    left: -10px;
    background-color: aquamarine;
    transition: 0.5s ease;
    opacity: 0;
}

.col .links a:hover::before{
    opacity: 1;
}

.col .links a:hover{
    transform: translateX(-8px);
    color: aquamarine;
}

.col2 a{
    color: white;
    margin: auto;
    text-decoration: none;
    align-items: center;
}

.col2 .fa-solid{
    font-size: 80px;
    margin-bottom: 15px;
}

/*PARA CELULAR*/

@media(max-width:991px){

    .header{
        padding: 12px 0;
    }

    .header .menu{
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100%;
        background-color: hsl(0, 0%, 87%);
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);
    }

    .header .menu.open{
        transform: none;
    }

    .header .menu .head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .header .menu .close-menu-btn{
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }

    .header .menu .close-menu-btn::before,
    .header .menu .close-menu-btn::after{
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: hsl(100, 100%, 0%);
    }

    .header .menu .close-menu-btn::before{
        transform: rotate(45deg);
    }

    .header .menu .close-menu-btn::after{
        transform: rotate(-45deg);
    }

    .header .menu > ul > li{
        display: block;
    }

    .header .menu > ul > li:not(:last-child){
        margin-right: 0;
    }

    .header .menu li{
        border-bottom: 1px solid hsla(100, 100%, 0%, 0.75);
    }

    .header .menu li:first-child{
        border-top: 1px solid hsla(100, 100%, 0%, 0.75);
    }

    .header .menu > ul > li > a{
        padding: 12px 0;
    }

    .header .menu > ul > .dropdown > a{
        padding-right: 34px;
    }

    .header .menu i{
        height: 34px;
        width: 34px;
        border: 1px solid hsla(100, 100%, 0%, 0.75);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
    }

    .header .menu .dropdown.active > i{
        background-color: hsla(0, 0%, 58%, 0.75);
        transform: rotate(180deg);
    }

    .header .menu .sub-menu{
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header .menu .dropdown.active > .sub-menu{
        display: block;
    }

    .header .menu .sub-menu li:last-child{
        border: none;
    }

    .header .menu .sub-menu a{
        padding: 12px 0 12px 15px;
    }

    .header .menu .sub-menu .sub-menu a{
        padding-left: 30px;
    }

    .header .menu .sub-menu span{
        background-image: none;
    }

    .header .menu .sub-menu i{
        transform: none;
        right: 0;
    }

    .header-right .open-menu-btn{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 44px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }

    .header-right .open-menu-btn .line{
        height: 2px;
        width: 30px;
        background-color: hsl(100, 100%, 0%);
        position: absolute;
    }

    .header-right .open-menu-btn .line-1{
        transform: translateY(-8px);
    }

    .header-right .open-menu-btn .line-3{
        transform: translateY(8px);
    }

}

@media(max-width:900px) {
    
    /*FOOTER*/

    .row{
        flex-direction: column;
    }
    
    .col{
        width: 100%;
        text-align: left;
        margin-bottom: 25px;
    }

    .horario img{
        width: 950px;
    }
}

@media(max-width:768px) {
    
    /*FOOTER*/

    .row{
        flex-direction: column;
    }
    
    .col{
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    .horario img{
        width: 100%;
        padding: 20px 5px;
    }

    .header-right .horarios{
        font-size: 13px;
    }

    .botton-group .button{
        font-size: 10px;
    }

    .title{
        font-size: 20px;
    }
}