@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600&family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600&family=Fira+Code&family=Inspiration&family=Inter:wght@300&family=Montserrat:wght@700&family=PT+Mono&family=Roboto:wght@300&family=Shadows+Into+Light&family=Sora:wght@300;400;600;800&display=swap');

:root{
    --bg-white: rgba(151, 151, 151, 0.3);
    --br: 5px;
    --border: solid 1px rgba(255, 255, 255, 0.5);
    --black: #212121;
    --gray: #131212;
}

html{scroll-behavior: smooth;}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Sora, Arial, Helvetica, sans-serif;
}

a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

body{
    width: 100%;
    height: auto;
    background: #02021f;
    scroll-behavior: smooth;  
    background: radial-gradient(circle at 100% 0%, rgb(30, 52, 113) 0%, #01012a 25%, #00001b 60%);
    background: radial-gradient(circle at 100% 0%, rgb(30, 52, 113) 0%, #01012a 25%, #00001b 60%);
}

.container{
    width: 100%;
    overflow: hidden;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: url('img/loader4.gif') 50% 50% no-repeat rgb(0,0,0);
}

/*--------------------------------menu responsive-----------------------------------*/
.links{
    width: 100%;
    height: 78px;
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.links.up{
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px 5px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(7px);
    background-color: rgba(17, 21, 43, 0.3);
}

.links strong, .container .links-cel strong{
    font-family: 'Inspiration', Tahoma, Geneva, Verdana, sans-serif;
    color: #52dee5;
    font-size: 30px; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #52dee5;   
}

.links div{
    display: flex;
    justify-content: space-between;
    gap: 2.4vw;
    align-items: center;
}

.links div a{
    font-size: 16px;
    color: #c7d3ff; 
    line-height: 24px;
    font-weight: 400;
    transition: all 0.01s ease-in-out;
    padding-bottom: 3px 0;
}

.links .menu-active > a:hover, .links .menu-active > a.active, .links .menu-active > a.activee{
    color: #62edd1;   
    border-bottom: 2px solid #62edd1;  
}
.links-cel .menu-active1 > a:hover, .links-cel .menu-active1 > a.active1{
    color: #62edd1;     
}

/*------------------Boton dia noche------------------*/
label{
    position: relative;
    width: 100px;
    height: 50px;
    background: #162066;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    margin-left: 2.3vw;
}

label input{
    appearance: none;
}

label span{
    position: absolute;
    top: 0;
    left: 0;
    width: 50px; 
    height: 50px; 
    background: #47468f;
    border: 6px solid #162066;
    backdrop-filter: blur(20px);
    border-radius: 14px;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}

label input:checked ~ span{
    left: 50px; 
}

label span ion-icon{
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5em;
    transition: 0.5s;
}

label input:checked ~ span ion-icon{
    color: #ffffff;
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 15px #fff);
}

@media (max-width: 900px){
    .wrapper-menu {
        width: 25px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        transition: transform 200ms ease-out;
    }  
    .wrapper-menu.open {
        transform: rotate(-45deg);  
    } 
    .line-menu {
        background-color: #fff;
        border-radius: 2.5px;
        width: 100%;
        height: 3px;
        color: rgba(255, 255, 255, 1);
        filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 15px #fff);
    }  
    .line-menu.half {
        width: 50%;
    } 
    .line-menu.start {
        transition: transform 100ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
        transform-origin: right;
    }
    .open .line-menu.start {
        transform: rotate(-90deg) translateX(1.5px);
    } 
    .line-menu.end {
        align-self: flex-end;
        transition: transform 100ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
        transform-origin: left;
    }
    .open .line-menu.end {
        transform: rotate(-90deg) translateX(-1.5px);
    } 
    .links{
        display: none;
    } 
    label{
        width: 90px;
        height: 45px;
        border-radius: 9px;
        margin-left: 0;
    } 
    label span{
        width: 45px; 
        height: 45px; 
        border: 6px solid #162066;
        border-radius: 12px;
    }
    label input:checked ~ span{
        left: 45px; 
    }
    .menu{
        position: absolute;
        top: 66px;
        right: 0;
        left: -61%;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 70%;
        height: calc(100vh - 70px);
        transition: all 0.2s ease-in-out;
        border-radius: 0 6px 6px 0;
        opacity: 0;
    }
    
    .menu.active{
        left: 0;
        opacity: 1;
        background: #010030;
    }

    .menu div{
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 8vh 0 0 10vw;
        gap: 2vh;
    }

    .links-cel strong{
        width: 43px;
        height: 43px;
        display: flex;
        color: #52dee5;
        font-size: 22px; 
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        border: 2px solid #52dee5;   
        font-family: 'Inspiration','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .links-cel{
        width: 100vw;
        height: 67px;
        display: flex;
        position: fixed;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px 0 20px;
        z-index: 1000;
    }
    .links-cel.up{
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 20px 5px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(7px);
        background-color: rgba(17, 21, 43, 0.3);
    }
}

@media (min-width: 900px){
    .links-cel{
        display: none;
    }
}

@media (max-width: 480px) and (min-width: 370px){
    .links-cel{
        height: 65px;
    }
    .menu{
        top: 64px;
        height: calc(100vh - 65px);
    }
}

@media (max-width: 370px){
    .menu div:first-child a{
        font-size: 14px;
        font-weight: 400;
    }
    .links-cel{
        height: 60px;
    }
    .menu{
        top: 59px;
        height: calc(100vh - 59px);
    }
}

/*--------------------------------------------body----------------------------------------------*/
.introduction{
    width: 100%;
    display: flex;   
}

.container .introduction header{
    width: calc(100vw - 25vw - 5vw - 5.3vw - 4vw - 4.6vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5vw;
    margin-top: 11.8vh;
}

.container > .introduction > .code{
    width: calc(25vw + 30px);
    margin: 0 6.8vw 0 2.4vw;
    margin-top: 11.8vh;
}
.container .introduction header small{
    font-size: 28px;
    line-height: 36px;
    font-family: 'Fira Code','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    color: #52dee5;
    transition: all 1.2s ease-in-out;
    margin-left: -35vh;
    opacity: 0;
}
.container > .introduction header strong{
    transition: all 1.2s ease-out;
    margin-left: -15vh;
    opacity: 0;
    font-weight: 800;
    font-size: 93px;
    line-height: 93px;
    color: #d56de7;
    background-image: linear-gradient(to right,#8e6de7,#d56de7,#5dbeff,#d56de7);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fluido 10s ease-in-out infinite;
    background: linear-gradient(-45deg,#ee7752,#8e6de7, #23a6d5, #23d5ab);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container > .introduction header strong.active,
.container > .introduction header small.active
{
    margin-left: 0vw;
    opacity: 1;
}

@keyframes fluido {
    0% { background-position: 0 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0 50% }
}
.container > .introduction header .span{
    font-weight: 400;
    font-size: 50px;
    line-height: 55px;
    color: #cecece;
}

.container > .introduction header p{
    width: 80%;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #b0bcd3;
}

.container .introduction header p span{
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #52dee5;
}

.container .introduction header> div{
    display: flex;
    gap: 3vw;
}

.container .introduction header div a{
    font-size: 16px;
    
    padding: 14px 26px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -1px 2px 17px 0px rgba(0,0,0,0.6);
    -webkit-box-shadow: -1px 2px 17px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: -1px 2px 17px 0px rgba(0,0,0,0.6);
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
}

.container .introduction header div a:first-child{
    border: 2px solid #52dee5;
    color: #52dee5;
    box-shadow: 0 4px 16px rgba(49, 138, 172, 1);
    transition: all 0.2s ease;
    background: transparent;
}

.container .introduction header div a:first-child:hover{
    color: #11152b;
    background: #d9a7c7;  
    background: -webkit-linear-gradient(to bottom, #ffffff, #f0dbff);  
    background: linear-gradient(to bottom, #ffffff, #f0dbff); 
    border: 2px solid rgba(167, 168, 217, 0.02);
    box-shadow: 0 0 50px #010030;  
}

.container .introduction header div a:last-child{
    color: #11152b;
    font-weight: 500;
    background: #f1c4e1;  
    background: -webkit-linear-gradient(to bottom, #ffffff, #f0dbff);  
    background: linear-gradient(to bottom, #ffffff, #f0dbff);
    border: 1px solid rgba(167, 168, 217, 0.02);  
    box-shadow: 0 0 50px #010030; 
}

.container .introduction header div a:last-child ion-icon{
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #0a192f;
    margin-left: 9px;
    font-size: 20px;
}

.container .introduction header div a:last-child:hover{
    border: 2px solid #52dee5;
    color: #52dee5;
    box-shadow: 0 4px 16px rgba(49, 138, 172, 1);
    transition: all 0.2s ease;
    background: transparent;
}

.container > .introduction header div a:last-child:hover ion-icon{
    color: #52dee5;
}

/*-----------------------codigo css-------------------------*/
.code{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}
.code > div:last-child{
    margin-left: 14.6vw;
    transition: all 1.2s ease-in-out;
}
.code > div:first-child{
    margin-left: -10vw;
    transition: all 1.2s ease-in-out;
}
.code > div:last-child.active{
    margin-left: 4.6vw;
    opacity: 1;
}
.code > div:first-child.active{
    margin-left: 0vw;
    opacity: 1;
}
.code > div{
    opacity: 0;
    width: 25vw;
    z-index: 10;
    background: #0F2027;  
    padding: 4.2vh 0 4.2vh 2.5vw;
    box-shadow: 0 10px 20px 5px rgba(0, 0, 0, 0.18);
    background: rgb(18,28,82); 
    background: radial-gradient(circle at 0% 100%, #121144 0%,#121c52 20%, #19235f 40%, #2e3b87 100%);
    background: radial-gradient(circle at 0% 100%, #121c52 0%,#131e5c 20%, #162266 40%, #3d4dab 100%);
}
.introduction .code div p{
    font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    width: 100%;
}
.introduction .code  div  div{
    margin-left: 15px;   
}
.introduction .code > div p .span{
    color: #ec91ff;
    margin-right: 5px;
    font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
}
.introduction .code > div .comment{
    color: #586c7a;
    color: #b1b1b1;
}
.introduction .code div div p span{
    color: #52dee5;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-weight: normal;
    text-decoration: none;
    display: flex;
    font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
    margin-left: 5px;
}

/*-----------------------------animation line-------------------------------*/
.code div p .line1{
    color: #edf2f5;
    margin-left: 3px;
    animation-duration: 0.5s;
    animation-name: slidein1;
    animation-iteration-count: infinite;
}

@keyframes slidein1{
    100%{
        color: rgba(237, 242, 245, 0);
    }
}

.code div p .line2{
    margin-left: 3px;
    animation-duration: 0.5s;
    animation-name: slidein2;
    animation-iteration-count: infinite;
    color: rgba(237, 242, 245, 0);
}

@keyframes slidein2{
    100%{
        color: #edf2f5;
    }
}

/*-----------------boton de ir arriba-----------------*/
#gotop{
    width: 50px;
    height: 50px;
    z-index: 100;
    top: auto;
    bottom: 6vh;
    left: auto;
    /*right: 52px;*/
    right: 6px;
    margin: auto;
    position: fixed;
    font-size: 28px;
    color: #52dee5;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all .15s ease-in-out;
    border-radius: 50%;
    border: 1px solid #52dee5;
}

#gotop:hover{
    box-shadow: 0px 0px 4px 1px #52dee5;
}

/*#gotop.active{
    right: 6px;
}*/

@media only screen and (max-width: 768px){
    #gotop{
        width: 46px;
        height: 46px;
        font-size: 25px;
        bottom: 5vh;
    }
}
@media (max-width: 480px) and (min-width: 370px){
    #gotop{
        width: 46px;
        height: 46px;
        font-size: 25px;
        bottom: 5vh;
        border: 2px solid #52dee5;
    }
}

@media only screen and (max-width: 320px){
    #gotop{
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}

/*--------------------------media queries del body-------------------------------*/
@media (min-width: 1201px){
    .container .introduction{
        height:  auto;
        justify-content: center;
        align-items: center;
        padding-top: 3.8vh;
    }
    body .container .introduction .code{
        margin-bottom: 6vh;
    }
    body .container .introduction header small{
        margin-top: 8vh;
    }
    body .container > .introduction header .span{
        margin: 5.7vh 0 1vh 0;
    }
    .container .introduction header {
        width: 80%;
        margin-left: 5vw;
    } 
    .container > .introduction header p{
        width: 80%;
    } 
    body .container .introduction header > div{
        margin: 11vh 0 18vh 0; /*Aqui hice un cambio*/
    }
}
@media (max-width: 1200px) and (min-width: 900px){
    .container .introduction .code{
        display: none;
    }
    .container .introduction header{
        width: 100%;
        margin: 0 7vw 0 9vw;
        margin-top: 11.8vh;
    }
    .container .introduction{
        align-items: flex-start;
    }

    body .container .introduction header small{
        margin-top: 8vh;
    }
    body .container > .introduction header .span{
        margin: 4vh 0 1.5vh 0;
    }
    
    .container > .introduction header p{
        width: 60%;
    }

    body .container .introduction header > div{
        margin: 10vh 0 14vh 0;
    }
    .container .introduction header div a{
        font-size: 16px;
        width: 200px;
        height: 54px;
        border-radius: 12px;
    }
}
@media (max-width: 900px) and (min-width: 769px){
    .container .introduction .code{
        display: none;
    }
    .container .introduction header{
        width: 100%;
        margin: 0 7vw 0 8vw;
        margin-top: 10vh;
        margin-bottom: 0vh;
    }
    .container .introduction{
        align-items: flex-start;
    }

    body .container .introduction header small{
        margin-top: 4.5vh;
        font-size: 25px;
        line-height: 36px;
        font-weight: 400;
    }
    body .container > .introduction header .span{
        margin: 3vh 0 1vh 0;
        font-weight: 400;
        font-size: 44px;
        line-height: 44px;
    }
    
    .container > .introduction header p{
        width: 70%;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
    }

    body .container .introduction header > div{
        margin: 6vh 0 8vh 0;
    }

    .container > .introduction header strong{
        font-weight: 800;
        font-size: 85px;
        line-height: 85px;
    }
}
@media (max-width: 768px) and (min-width: 481px){
    .container .introduction{
        display: flex;
        flex-direction: column;
    }
    .container .introduction .code{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding-bottom: 8vw;
        margin-left: 0vw;
        display: none;
    }
    .code > div{
        width: 50vw;
        min-width: 300px;
        height: 170px;
        padding: 23px 0 0px 30px;
       
    }
    .code > div:first-child{
        margin-right: 90vw;
        transition: all 1s ease-in-out;
    }
    .code > div:last-child{
        margin-left: 90vw;
        transition: all 1s ease-in-out;
    }
    .code > div:first-child.active{
        margin-right: 10vw;
    }
    .code > div:last-child.active{
        margin-left: 10vw;
    }
    .introduction .code div div p span{
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-decoration: none;
        margin-left: 5px;
    }
    .container .introduction header{
        width: calc(100% - 8vw - 7vw);
        margin: 0 7vw 0 8vw;   
        margin-top: 11vh;
    }
    .container .introduction{
        align-items: flex-start;
    }

    .container > .introduction header strong{
        font-weight: 800;
        font-size: 69px;
        line-height: 69px;
        margin-right: 15vw;
    }

    body .container .introduction header small{
        margin-top: 5vh;
        font-size: 25px;
        line-height: 36px;
        font-weight: 400;
    }
    body .container > .introduction header .span{
        margin: 4vh 20vw 1.5vh 0;
        font-weight: 400;
        font-size: 38px;
        line-height: 42px;
    } 
    .container > .introduction header p{
        width: 65%;
        font-size: 15px;
        line-height: 24px;
        font-weight: 400;
    }
    body .container .introduction header > div{
        margin: 6vh 0 5vh 0;
    }
}

/*--------------------dispositivos moviles----------------------*/
@media (max-width: 480px){
    body{
        background: #02021f;
        background: radial-gradient(circle at 100% 0%, rgb(30, 52, 113) 0%, #01012a 15%, #010030 40%);
    }
    .container .introduction header > span,
    .container .introduction header > p,
    .container .introduction header > div{
        display: none;
    }
    .container .introduction header > small{
        font-size: 26px;
        line-height: 25px;
        font-weight: 400px;
        margin: 14vw 0 5vw 0vw; /*cambio de altura del nombre*/
        text-align: center;
        margin-left: -15vh;
    }
    .container .introduction header > strong{
        font-size: 64px;
        font-weight: 700;
        line-height: 60px;
        text-align: center;
        transition: all 0.5s ease-out;
        margin-left: -15vw;
        color: #d56de7;     
    }
    .container > .introduction header strong{
        transition: all 0.5s ease-out;
        margin-left: -15vh;
        opacity: 0;
        font-weight: 700;
        font-size: 64px;
        text-align: center;
        line-height: 60px;
        color: #d56de7;
        background-image: linear-gradient(to right,#8e6de7,#d56de7,#5dbeff,#d56de7);
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: fluido 10s ease-in-out infinite;
        background: linear-gradient(-45deg,#8e6de7, #23a6d5, #23d5ab);
        background-size: 300%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .container .introduction{
        flex-direction: column;
    }
    .container .introduction header{
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-left: 0vw;
        margin-top: 12vh;
    }
    .container > .introduction > .code{
        width: 100%;
        margin: 12vw 0 18vw 0;
        gap: 15px;
        align-items: center;
      
    }
    .code > div{
        width: 70%;
        height: auto;
        padding: 2.8vh 4vw 2.8vh 6vw;
    }
    .code > div:first-child{
        margin-right: 80vw;
        transition: all 1s ease-out;
        opacity: 0;
    }
    .code > div:last-child{
        margin-left: 80vw;
        transition: all 1s ease-out;
        opacity: 0;
    }
    .code > div:first-child.active{
        margin-right: 15vw;
        opacity: 1;
    }
    .code > div:last-child.active{
        margin-left: 15vw;
        opacity: 1;
    }
   
    /*-------------------code------------------*/
    .introduction .code div p{
        font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
        font-size: 13px;
        line-height: 20px;
        width: 100%;
    }
    
    .introduction .code div div{
        margin-left: 15px;
    }
    
    .introduction .code > div p .span{
        margin-right: 5px;
        font-size: 13px;
        line-height: 20px;
        font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
    }
    
    .introduction .code > div .comment{
        font-size: 13px;
        line-height: 20px;
    }
    
    .introduction .code div div p span{
        font-size: 13px;
        line-height: 20px;
        font-family: Barlow,Verdana, Geneva, Tahoma, sans-serif;
        margin-left: 5px;
    }
}

@media (max-width: 370px){
    .container .introduction header > small{
        font-size: 24px;
    }
    .container .introduction header > strong{
        font-size: 60px;
    }

}

@media (max-width: 320px){
    .code > div{
        width: 70%;
        height: auto;
        padding: 14px 15px;
    }
    .code > div:first-child{
        margin-right: 10vw;
    }
    .code > div:last-child{
        margin-left: 10vw;
    }
    .container .introduction header > strong{
        font-size: 50px;
    }
}





