/*-------------------------------- root --------------------------------*/
:root{
    --white: #EDEDED;
    --black: #2e2e2e;
    --yellow: #F2C12E;
    --pink: #F22797;
    --blue: #514DE8;

    --fs--Title: clamp(1.8rem , 2.8vw,  3.2rem );
    --fs--SubTitle: clamp(16px , 2vw,  2.1rem );
    --fs--Text: clamp(16px , 1.2vw,  40px);
    --fs--TextNav: clamp(16px , 1vw,  35px);
}

@font-face {
    font-family: 'helveticaBold';
    src: url(./HelveticaNowDisplayBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'helveticaRegular';
    src: url(./HelveticaNowDisplayRegular.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'helveticaLight';
    src: url(./HelveticaNowDisplayLight.ttf);
    font-display: swap;
}

@font-face {
    font-family: 'helveticaThin';
    src: url(./HelveticaNowDisplayThin.ttf);
    font-display: swap;
}

body{
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

p:hover{
    cursor: default;
}


/*-------------------------------- Scroll Bar --------------------------------*/
/* Works on Firefox */
* {
    scrollbar-width:thin;
    scrollbar-color: var(--black) var(--white);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 15px;
}

*::-webkit-scrollbar-track {
    background: var(--white);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--black);
    border-radius: 0px;
    border: 0px solid var(--white);
}


/*-------------------------------- loader --------------------------------*/
#hiddenBody{
    overflow:hidden;
}

#loaderP{
    z-index: 110;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#loader{
    margin-left: auto;
    margin-right: auto;
}

.spinner {
    background-image: linear-gradient(#F2C12E 0%, #F22797 50%, #514DE8 100%);
    /* background-image: linear-gradient(#F2C12E 35%,#4a248a); */
    width: 200px;
    height: 200px;
    animation: spinning82341 1.7s linear infinite;
    text-align: center;
    border-radius: 100px;
    filter: blur(1px);
    /* box-shadow: 0px -5px 0px 0px #F2C12E, 0px 0px 0px 0px #F22797, 0px 5px 0px 0px #514DE8; */
    box-shadow: 0px -5px 20px 0px #F2C12E, 0px 15px 20px 0px #514DE8;
}

.spinner1 {
    background-color: rgb(36, 36, 36);
    width: 200px;
    height: 200px;
    border-radius: 100px;
    filter: blur(10px);
}

@keyframes spinning82341 {
    to {
        transform: rotate(360deg);
    }
}


/*-------------------------------- Nav --------------------------------*/
header{
    position: fixed;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    padding-top: 4.5%;
    padding-bottom: 0px;
    transition: all 0.3s ease-in-out;
    margin-top: 0px;
    z-index: 100;
}

.smaller{
    background-image: url(./imgFondo.webp);
    background-position: 50%;
    padding-top: 2%;
    padding-bottom: 2%;
}

nav{
    display: flex;
}

.logoNav{
    margin-top: auto;
    margin-bottom: auto;
    transition: all 0.3s ease-in-out;
    margin-left: 5%;
    max-width: max-content;
    width: 15%;
    position: absolute;
}

.navB{
    padding-top: 4.5%;
    position: absolute;
}

.smallerLogoOR{
    display: none;
    transition: all 0.3s ease-in-out;
}

.smallerLogoSmall{
    display: block !important;
    transition: all 0.3s ease-in-out;
}

.containerLeft{
    margin-left: auto;
    /* margin-right: 10px; */
    justify-content: right;
    display: flex;
    margin-right: 5%;
}

.menuIco{
    margin-bottom: auto;
    margin-top: auto;
    width: 10%;
    margin-left: 50px;
    transition: all 0.2s ease-in-out;
}

.smallerIco{
    width: 10%;
    transition: all 0.2s ease-in-out;
}

.menuIco:hover{
    cursor: pointer;
    scale: 1.03;
    filter: saturate(1.6);
    transition: all 0.2s ease-in-out;
}

.menu-btn{
    z-index: 50;
}

#xham{
    transition: transform 0.3s ease-in-out;
    display: none;
}

#ham.activeHam{
    transition: transform 0.3s ease-in-out;
    display: none;
}

#ham:hover{
    cursor: pointer;
    scale: 1.03;
    filter: saturate(1.6);
    transition: all 0.2s ease-in-out;
}

#xham.activeXHam{
    transition: transform 0.3s ease-in-out;
    display: inline;
}

.menu {
    position: absolute;
    top: 0px;
    right: 0;
    background-color: var(--white);
    width: 100vw;
    height: 100vh;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease-in-out;
}

.menu.active {
    transform: scaleY(1);
}

.menu.disactive {
    transform: scaleY(0);
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.menu-items li {
    margin-bottom: 20px;
}

.menu-items a {
    text-decoration: none;
    color: var(--black);
    font-size: var(--fs--SubTitle);
    font-family: helveticaRegular;
    transition: all 0.2s ease-in-out;
}

.menu-items a:hover{
    /* color: #000000; */
    font-size: calc(var(--fs--SubTitle) + 3px);
    transition: all 0.2s ease-in-out;
    font-family: helveticaBold;
}

#logoNavB{
    transition: all 2s ease-in-out;
    display: none;
}

#logoNavB.visibleLogoNavB{
    transition: all 2s ease-in-out;
    display: inline;
}


/*-------------------------------- recuadroColores--------------------------------*/
.recuadroColores{
    position: fixed;
    width: 90%;
    height: 10px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    background: linear-gradient(90deg, #F2C12E 0%, #F22797 50%, #514DE8 100%);

    /* opacity: 0; */
    transition: 0.5s linear;
}

.colorChange {
	-webkit-animation: colorChange 6s linear infinite alternate both;
	animation: colorChange 6s linear infinite alternate both;
}

@-webkit-keyframes colorChange {
    0% {
        background:#F2C12E;
    }
    50% {
        background:#F22797;
    }
    100% {
        background:#514DE8;
    }
}

@keyframes colorChange {
    0% {
        background:#F2C12E;
    }
    50% {
        background:#F22797;
    }
    100% {
        background:#514DE8;
    }
}

/*-------------------------------- botones lengauje --------------------------------*/
.rightElementsNav{
    display: flex;
    align-items: center;
    margin-right: 10%;
    flex-direction: column;
    margin-top: -3px;
}

.botonLenguaje{
    background: none;
    border: none;
    /* padding: 5px; */
    color: var(--white);
    font-size: var(--fs--Text);
    position: absolute;
    font-family: helveticaBold;}

.botonLenguaje:hover{
    color: #c4c4c4;
    cursor: pointer;
}


/*-------------------------------- Proyectos --------------------------------*/
p{
    color: var(--black);
}

.video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.proytectosVideo {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -0.5px;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    z-index: -1;
    /* filter: brightness(1); */
    filter: brightness(0.5);
    background-color: black;
}

.proyectosTitulo{
    margin-top: 0px;
    padding-top: 15%;
    margin-bottom: 0px;
    margin-left: 5%;
    font-size: var(--fs--Title);
    font-family: helveticaBold;
    color: var(--white);
}

.proyectosSubTitulo{
    margin-top: 20px;
    margin-left: 5%;
    font-size: var(--fs--Text);
    width: 40%;
    font-family: helveticaRegular;
    color: var(--white);
    margin-bottom: 0%;
}

.proyectosSubTitulo2{
    margin-top: 0px;
    margin-bottom: 6%;
}


/*-------------------------------- Filtros botones --------------------------------*/
.filtrosContainer{
    margin-top: 12%;
    width: 90%;
    height: auto;
    /* background-color: red; */
    margin-left: 5%;
    margin-right: auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: baseline;
}

/* .boton {
    outline: none;
    cursor: pointer;
    border: none;

    position: relative;
    display: inline-block;
    border-radius: 0px;
    overflow: hidden;

    color: var(--white);
    background-color: var(--black);
    border: 1px solid var(--black);
    padding: 20px 52px;

    margin-top: auto;
    margin-bottom: auto;
    font-size: var(--fs--Text);
    font-family: helveticaBold;
    transition: all 0.3s ease-in-out;
}

.boton span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
}

.boton:hover{
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow:rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 7px 7px, rgba(82, 77, 232, 0.7) 10px 10px;
    -moz-box-shadow: rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 7px 7px, rgba(82, 77, 232, 0.7) 10px 10px;
    box-shadow: rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 7px 7px, rgba(82, 77, 232, 0.7) 10px 10px;
    color: var(--black);
    background-color: var(--white);
} */

.boton {
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: var(--black);
    font-family: helveticaRegular;
    font-size: var(--fs--Text);
}

.boton span {
    padding-bottom: 7px;
    padding-right: 15px;
    padding-left: 15px;
}

.hoverunderlineanimation {
position: relative;
padding-bottom: 20px;
}

.hoverunderlineanimation:after {
content: "";
position: absolute;
width: 100%;
transform: scaleX(0);
height: 3px;
bottom: 0;
left: 0;
background: linear-gradient(90deg, #F2C12E 0%, #F22797 50%, #514DE8 100%);
transform-origin: bottom right;
transition: transform 0.3s ease-out;
}

.boton:hover .hoverunderlineanimation:after {
transform: scaleX(1);
transform-origin: bottom left;
}

.active{
    border-width: 3px;
    border-image: linear-gradient(to right, #F2C12E 0%, #F22797 50%, #514DE8 100%) 1;
    font-family: helveticaBold;
}

.tabcontent {
    display: none;
}

.tabcontent.active {
    display: block;
}


/*-------------------------------- Proyectos Galeria --------------------------------*/
.proyectos{
    background-color: var(--white);
    padding-top: 7%;
}

.containerProyectos{
    /* background-color: var(--black); */
    width: 95vw;
    height: auto;
    margin-bottom: 8%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
    gap: 1.1vw;
}

.elementosPro{
    display: block;
    position: relative;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    min-width: 40%;
    max-width: 49%;
    min-height: 35vw;
    flex: 1;
    /* flex-wrap: wrap; */
    /* width: 500px;
    min-width: 500px; */
    text-decoration: none;
    justify-content: space-between;
    border: 1px solid var(--white);

    /* transition: all 0.5s ease-in-out !important; */
    transition: all 0.3s ease;
}

#atmosferaEle{
    background-image: url(./atmosfera09.webp);
}

#barraEle{
    background-image: url(./barraNegra19.webp);
}

#gazproEle{
    background-image: url(./gazpro14.webp);
}

#haciendaEle{
    background-image: url(./haciendaNohchakan10.webp);
}

#yellowBirdEle{
    background-image: url(./yellowBird16.webp);
}

#sunnyBobbaEle{
    background-image: url(./sunnyBobba05.webp);
}

#amatoEle{
    background-image: url(./amato09.webp);
}

#letsGolfEle{
    background-image: url(./LetsGolf17.webp);
}

#studioSieteEle{
    background-image: url(./studioSiete011.webp);
}

#tresSesemntaEle{
    background-image: url(./tresSesenta030.webp);
}


.elementosPro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    opacity: 0;
    transition: all 0.5s ease;
}

.elementosPro:hover::before {
    opacity: 1;
    transition: all 0.5s ease;
}

.elementosPro:hover{
    -webkit-box-shadow:rgba(242, 193, 46, 0.9) 4px 4px, rgba(242, 39, 151, 0.8) 8px 8px, rgba(82, 77, 232, 0.7) 12px 12px;
    -moz-box-shadow: rgba(242, 193, 46, 0.9) 4px 4px, rgba(242, 39, 151, 0.8) 8px 8px, rgba(82, 77, 232, 0.7) 12px 12px;
    box-shadow: rgba(242, 193, 46, 0.9) 4px 4px, rgba(242, 39, 151, 0.8) 8px 8px, rgba(82, 77, 232, 0.7) 12px 12px;

    border: 1px solid var(--black);
}

.pImgs{
    width: 60%;
    margin-left: 5%;
    color: var(--black);
    transition: all 0.3s ease;
    opacity: 0;
}

.elementosPro:hover p{
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
}

#tituloImgs{
    margin-top: 5%;
    margin-bottom: 0px;
    font-size: var(--fs--Text);
    font-family: helveticaBold;
}

#subTituloImgs{
    margin-top: 2%;
    font-size: var(--fs--TextNav);
    font-family: helveticaLight;
}


/*-------------------------------- footer--------------------------------*/
footer{
    width: 100%;
    /* height: 200px; */
    background-image: url(./imgFondo.webp);
    background-position: 10%;
}

.containerFooter{
    display: flex;
}

.imgFooter{
    margin-top: auto;
    margin-bottom: auto;
    width: 20%;
    margin-left: 5%;
}

.infoFooter{
    margin-left: auto;
    margin-right: 5%;
    margin-top: 4%;
    margin-bottom: 4%;
}

.textFooter{
    text-decoration: none;
    display: flex;
    margin-bottom: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pFooter{
    color: var(--white);
    font-size: var(--fs--TextNav);
    font-family: helveticaLight;
    margin-top: auto;
    margin-bottom: auto;
}

.pFooter:hover{
    cursor: pointer;
    color: var(--white);
    scale: 1.05;
}

.pFooter:hover{
    color: #d4d4d4;
}

.pFooter:visited{
    color: var(--white);
}

/* .icosFooter{
    width: 6%;
} */

.copyFooter{
    text-align: center;
    color: var(--white);
    font-size: var(--fs--TextNav);
    font-family: helveticaLight;
    padding-bottom: 2%;
    margin-bottom: 0px;
}



/*---------------------------------------- Responsive ----------------------------------------*/
@media screen and (max-width: 900px){
    .smaller {
        padding-bottom: 4%;
    }

    .aNavImg{
        margin-top: 10px;
    }

    .botonLenguaje{
        font-size: var(--fs--Title);
    }

    /*-------------------------------- recuadroColores--------------------------------*/
    .recuadroColores{
        height: 12px;
    }


    /*-------------------------------- Nav --------------------------------*/
    .logoNav{
        width: 22%;
    }

    .menuIco{
        width: 11%;
    }

    .menu-items li {
        margin-bottom: 20px;
    }


    /*-------------------------------- Proyectos --------------------------------*/
    .proytectosVideo {
        height: 70vh;
    }


    /*-------------------------------- Filtros botones --------------------------------*/
    .filtrosContainer{
        width: 90%;
    }

    .boton {
        padding: 20px 55px;
    }


    /*-------------------------------- Proyectos Galeria --------------------------------*/
    .containerProyectos{
        margin-bottom: 10%;
        /* gap: 50px; */
    }

    .elementosPro{
        min-height: 420px;
    }

    .pImgs{
        width: 80%;
    }


    /*-------------------------------- footer--------------------------------*/
    .imgFooter{
        width: 25%;
    }

    .textFooter{
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .icosFooter{
        width: 7%;
    }

    .copyFooter{
        padding-bottom: 4%;
    }

}

@media screen and (max-width: 700px){
    .botonLenguaje{
        font-size: var(--fs--Title);
    }

    /*-------------------------------- recuadroColores--------------------------------*/
    .recuadroColores{
        width: 100vw;
        height: 15px;
    }


    /*-------------------------------- Nav --------------------------------*/
    /* header{
        padding-top: 10%;
    } */

    .logoNav{
        width: 35%;
    }

    /* .navB{
        padding-top: 10%;
    } */

    .menuIco{
        width: 10%;
    }

    .menu-items li {
        margin-bottom: 30px;
    }

    .menu-items a:hover{
        font-size: calc(var(--fs--SubTitle) + 1px);
    }


    /*-------------------------------- Proyectos --------------------------------*/
    .proytectosVideo {
        height: 80vh;
    }

    #background-video {
        object-fit: cover;
        filter: brightness(0.1);
    }

    .proyectosTitulo{
        padding-top: 0%;
    }

    .proyectosSubTitulo{
        margin-bottom: 0%;
        width: 90%;
    }


    /*-------------------------------- Filtros botones --------------------------------*/
    .filtrosContainer{
        margin-left: auto;
        flex-direction: column;
        gap: 0px;
    }

    .boton {
        border-bottom: 10px solid transparent;
        padding: 10px 0px;
        width: max-content;
        
    }

    .boton span {
        padding-bottom: 15px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .hoverunderlineanimation {
    position: relative;
    padding-bottom: 0px;
    }

    .active{
        border-width: 3px;
    }


    /*-------------------------------- Proyectos Galeria --------------------------------*/
    .elementosPro{
        min-width: 99%;
    }

    .elementosPro:hover{
        -webkit-box-shadow:rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 6px 6px, rgba(82, 77, 232, 0.7) 8px 8px;
        -moz-box-shadow: rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 6px 6px, rgba(82, 77, 232, 0.7) 8px 8px;
        box-shadow: rgba(242, 193, 46, 0.9) 3px 3px, rgba(242, 39, 151, 0.8) 6px 6px, rgba(82, 77, 232, 0.7) 8px 8px;
    }

    .pImgs{
        width: 100%;
    }


    /*-------------------------------- footer--------------------------------*/
    .containerFooter{
        flex-direction: column-reverse;
    }

    .imgFooter{
        margin-top: 20px;
        margin-bottom: 20px;
        width: 50%;
        margin-left: 5%;
        margin-right: auto;
    }

    .infoFooter{
        margin-top: 5%;
        margin-bottom: 5%;
        margin-left: 5%;
        margin-right: auto;
    }

    .textFooter{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .icosFooter{
        width: 7%;
    }

    .copyFooter{
        padding-bottom: 5%;
        margin-left: 5%;
        text-align: left;
    }
}

@media screen and (max-width: 600px){
    /*-------------------------------- Nav --------------------------------*/
    .logoNav{
        width: 40%;
    }

    .menuIco{
        width: 13%;
    }
}