/*-------------------------------- 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-color: var(--white);
    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;
}


/*-------------------------------- 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(--black);
    font-size: var(--fs--Text);
    position: absolute;
    font-family: helveticaBold;}

.botonLenguaje:hover{
    color: #646464;
    cursor: pointer;
}


/*-------------------------------- 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;
    }
}


/*-------------------------------- categorias--------------------------------*/
.categoriasContainer{
    padding-top: 15%;
    display: flex;
    gap: 10px;
    margin-left: 5%;
    margin-right: 5%;
}

.categoria{
    font-size: var(--fs--Text);
    color: var(--black);
    font-family: helveticaLight;
    margin-bottom: 0px;
}

.tituloProyectoContainer{
    margin-left: 5%;
    margin-right: 5%;
}

.tituloProyecto{
    font-size: var(--fs--Title);
    color: var(--black);
    font-family: helveticaBold;
    margin-top: 15px;
}

.contenidoContainer{
    width: 95vw;
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 8%; */
    margin-bottom: 10%;
    display: flex;
    flex-wrap: wrap;
}

.marginT{
    margin-top: 2%;
}

.unoFlex {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.dosContainer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.dosFlex{
    max-height: 100%;
    min-width: 49%;
    width: 49%;
    /* object-fit: cover;
    vertical-align: bottom; */
}

.infoContainer{
    /* margin-top: 4%; */
    margin-bottom: 4%;
    width: 65%;
    margin-left: 3%;
}

.tituloInfo{
    font-size: var(--fs--SubTitle);
    color: var(--black);
    font-family: helveticaBold;
}

.textoInfo{
    font-size: var(--fs--Text);
    color: var(--black);
    font-family: helveticaRegular;
}

/*-------------------------------- 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;
    }

    /*-------------------------------- categorias--------------------------------*/
    .contenidoContainer{
        margin-bottom: 12%;
    }

    .marginT{
        margin-top: 3%;
    }

    .infoContainer{
        margin-top: 5%;
        margin-bottom: 5%;
        width: 94%;
        margin-left: 3%;
    }


    /*-------------------------------- 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);
    }


    /*-------------------------------- categorias--------------------------------*/
    .categoriasContainer{
        margin-bottom: 10%;
    }

    .tituloProyecto{
        margin-top: 0px;
    }

    .contenidoContainer{
        width: 100vw;
        /* margin-top: 10%; */
    }

    .infoContainer{
        width: 90%;
    }

    /*-------------------------------- 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%;
    }
}