/*************

Header - nav

*****************/

header {
    height: 80px;
    /*color: #fff;*/
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 3;
    position: relative;
}
#btnMenu {
    display: none;
}
header label {
    font-size: 30px;
    cursor: pointer;
    display: none;
}
.menu {
    float: right;
}
.menu ul {
    display: flex;
    list-style: none;
}
.menu ul ul {
    display: none;
}
.menu a {
    display: block;
    padding: 15px 20px;
    /*color: #fff;*/
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    position:  relative;
}
.menu a:hover::before {
    transform: scaleX(1);
}
.menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #fff, #fff, #fff);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}
.menu .animated-linea::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #000, #000, #000);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.menu a:hover {
    /*background: #A2A7A7;*/
}
.menu a span {
    margin-left: 10px;
}
.menu ul li:hover ul {
    display: block;
    position: absolute;
}
.subMenu li {
    background-color: #000;
}
.subMenu li:hover {
    /*background-color: #ddd;*/
}
.efecto {
    text-align: center;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    overflow-y: hidden;
}
@media (max-width: 992px) {
    header label {
        display: inline-block;
        float: right;
    }
    .menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        transform: translateX(-120%);
        transition: all 0.3s;
    }
    .menu ul {
        flex-direction: column;
        background: #555;
    }
    .menu ul li:hover .hide {
        display: none;
    }
    .menu ul li:hover ul {
        display: block;
        position: static;
    }
    .menu a span {
        position: absolute;
        right: 20px;
    }
    #btnMenu:checked~.menu {
        transform: translateX(0%);
    }
    .menu ul ul {
        background: rgba(0, 0, 0, 0.4);
    }
}
.fixed-top{
    position: fixed; 
    z-index: 1030; 
    width: 100%; 
    transition: all .5s ease;
}
.sombra{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
/*************

Tab

*****************/

.tab {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 30px;
    margin-top: 30px;
}
.tab button {
    background-color: transparent;
    color: #98D7D8;
    border: none;
    outline: none;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    font-size: 16px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
}
.tab button:hover {
    color: #11192D;
}
.tab button.active {
    color: #11192D;
}
@media only screen and (max-width: 992px) {
    .tab {
        gap: 25px;
    }
}
@media only screen and (max-width: 576px) {
    .tab {
        margin-top: 0;
    }
    .tab button {
        font-size: 14px;
    }
}
.tabcontent {
    display: none;
    padding: 10px 0px;
    margin-top: 30px;
}
@media only screen and (max-width: 576px) {
    .tabcontent {
        padding: 10px;
    }
}
.btn-tabs {
    margin-top: 20px;
}
/*************

Video Home

*****************/

.thevideo {
    position: relative;
}
.thevideo .txt-cont {
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 98%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.thevideo .txt-video {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.thevideo .txt-video button {
    background-color: transparent;
    color: white;
    font-size: 30px;
    padding: 15px 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
}
.thevideo .txt-video buttonhover {
    background-color: transparent;
    border-radius: 50px;
    cursor: pointer;
}
.thevideo .txt-video button i {
    font-size: 30px;
}
/************************

Overlay

******************************/

.overlay {
    position: fixed;
    overflow-y: auto;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-in;
    -moz-transition: opacity 0.2s ease-in;
    transition: opacity 0.2s ease-in;
    pointer-events: none;
}
.overlay:target {
    opacity: 1;
    pointer-events: auto;
}
.cerrar {
    /*right: 9.5%;
    top: 3.3%;
    position: fixed;*/
    text-decoration: none;
    opacity: 1!important;
    border-radius: 50%;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    padding: 0!important;
    border: 1px solid #fff;
}
.cerrar:hover {
    color: #fff;
    border: 1px solid #fff;
}
.cerrar:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
    /*color: #ababab;*/
    font-size: 18px;
}
.cerrar:hover::before {
    color: #fff;
}

/***************
 * Boton de whatsapp 
 ****************/

 .btn-whatsapp-pulse {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    z-index: 999;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-pulse-border {
    bottom: 50px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #25d366;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        padding: 25px;
        opacity: 0.75;
    }
    75% {
        padding: 50px;
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.whatsapp-desktop{
    display:  flex;
}
.whatsapp-movil{
    display: none;
}
@media only screen and (max-width: 600px) {
    .whatsapp-desktop{
        display: none;
    }
    .whatsapp-movil{
        display: flex;
    }
}