:root{
    --blanco: #FBFEFF;
    --negro: #0F131E;
    --vino: #61223B;
    --azulOscuro: #172645;
    --rosa: #D89590;
    --crema: #F8D3B8;
}

@font-face {
    font-family: "TrebuchetMS";
    src: url(fonts/TrebuchetMS.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url(fonts/BebasNeue.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url(fonts/websymbols-regular-webfont.eot);
    src: url(fonts/websymbols-regular-webfont.eot?#iefix) format(embedded-opentype),
        url(fonts/websymbols-regular-webfont.woff) format(woff),
        url(fonts/websymbols-regular-webfont.ttf) format(truetype),
        url(fonts/websymbols-regular-webfont.svg#WebSymbolsRegular) format(svg);
    font-weight: normal;
    font-style: normal;
}

*{
    padding: 0px;
    margin: 0px;
}

body{
    background-color: var(--blanco);
    width: 100%;
}

.letraVino{
    color: var(--vino);
}

.letraAzul{
    color: var(--azulOscuro);
}

/* CABECERA */
header{
    width: 100%;
    height: 130px;
}

nav{
    width: 100%;
    position: fixed;
    transition: all 500ms;
    z-index: 1;
    transition: background-color 0.5s ease;
}

nav .logo{
    float: left;
    width: 100px;
    margin: 20px;
    margin-left: 40px;
    background-image: url("../img/logoLight.png");
    background-size: contain;
}

nav ul{
    float: right;
}

nav ul li{
    float: left;
    margin: 50px;
    list-style: none;
}

nav ul li a{
    display: block;
    text-decoration: none;
    color: var(--negro);
    font-size: 22px;
    font-family: "BebasNeue";
    letter-spacing: 2px;
    transition: all 300ms;
}

nav ul li a:hover{
    color: var(--vino);
    transform: scale(1.2,1.2);
}

/* MENÚ MOBILE */
.nav__toggle{
    position: absolute;
    cursor: pointer;
    margin: 0 1rem;
    right: 0;
}

.nav__toggle img{
   width: 1rem;
}

.nav__toggle .close{
    display: none;
}

.nav ul li{
    display: block;
}

.nav__toggle .close,
.nav__toggle .hamburguer{
    margin-top: 0.3rem;
}

.nav__checkbox{
    display: none;
}

.nav__toggle{
    display: none;
}
#nav__redes{
    display: none;
}

.active{
    background-color: var(--negro);
    width: 100%;
    transition: all 3s;
}

.active a{
    color: var(--blanco);
}

.active a:hover{
    color: var(--rosa);
}

.active .logo{
    content: url("../img/logoNight.png");
}

/* PRESENTACIÓN */
#presentacion{
    width: 100%;
    display: block;
    height: 500px;
    margin-top: 20px;
    overflow: hidden;
}

#presentacion__titulos{
    float: left;
    display: block;
    width: 50%;
    height: 300px;
    padding-left: 40px;
    padding-top: 90px;
    
}

#presentacion__titulos h1 {
    font-size: 85px;
    font-family: "BebasNeue";
    letter-spacing: 5px;
    display: block;
    white-space: nowrap;
    width: 17.5ch;
    animation: typing 1.1s steps(15), blink .5s infinite step-end alternate;
    overflow: hidden;
    border-right: none;
    position: relative;
    transition: all 300ms;
  }
  
  #presentacion__titulos h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 4px;
    background-color: transparent;
    animation: delete-line 1s steps(15) forwards;
    animation-delay: 5s;
  }
  
  @keyframes typing {
    from {
      width: 0;
    }
  }
  
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
  
  @keyframes delete-line {
    from {
      background-color: #fff;
    }
    to {
      background-color: transparent;
    }
  }
/* 
@keyframes moverH1{
    from{
        transform: translateX(-500%);
    }
    to{
        transform: translateX(0%);
    }
} */

#presentacion__titulos h1:hover{
    text-shadow: 1px 1px 2px var(--negro);
}

#presentacion__titulos h3{
    font-size: 34px;
    letter-spacing: 5px;
    margin-top: 10px;
    font-family: "BebasNeue";
    animation: moverH3 1.5s linear;
}

@keyframes moverH3 {
    from{
        transform: translateX(-200%);
    }
    to{
        transform: translateX(0%);
    }
}

button{
    font-size: 36px;
    background-color: var(--negro);
    color: var(--blanco);
    margin-top: 70px;
    padding: 30px 70px 30px 70px;
    border-radius: 10px;
    font-family: "BebasNeue";
    letter-spacing: 3px;
    border: 2px solid var(--negro);
    transition: all 200ms;
    animation-fill-mode: forwards;
    z-index: 0;
}

.aparecer{
    animation: moverBoton 1s linear;
    animation-fill-mode: forwards;
}

@keyframes moverBoton {
    0% {
        opacity: 0;
        transform: translateY(200%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

button:hover{
    box-shadow: 2px 2px 1px var(--negro);
    animation: colorBoton infinite 1s linear;
}

@keyframes colorBoton {
    0%{
        background-color: var(--vino);
        border: 2px solid var(--vino);
    }
    25%{
        background-color: var(--blanco);
        border: 2px solid var(--blanco);
        color: black;
    }
    50%{
        background-color: var(--crema);
        border: 2px solid var(--crema);
    }
    75%{
        background-color: var(--vino);
        border: 2px solid var(--vino);
    }
    100%{
        background-color: var(--azulOscuro);
        border: 2px solid var(--azulOscuro);
    }
}

#fotoPerfil{
    display: block;
    width: 40%;
    float: right;
    height: 250px;
}

#fotoPerfil img{
    width: 75%;
    margin: 0 auto;
    height: 420px;
    margin-left: 50px;
    transition: all 1s;
    animation: moverFotoPerfil 2s linear;
}

@keyframes moverFotoPerfil {
    from{
        transform: translateX(200%);
    }
    to{
        transform: translateX(0%);
    }
}

/* SECCIÓN DE MI DESCRIPCIÓN */
#descripcion{
    width: 100%;
    display: block;
    height: 450px;
    margin-top: 20px;
    overflow: hidden;
    background-color: var(--negro);
    padding-top: 100px;
}

#descripcion article{
    float: left;
    width: 50%;
    color: white;
}

#descripcion #descripcion__first{
    text-align: center;
    padding-top: 50px;
}

#descripcion__first h3{
    font-size: 80px;
    font-family: "BebasNeue";
    margin: 0 auto;
    margin-top: 30px;
}

#descripcion__first h4{
    font-size: 30px;
    font-family: "BebasNeue";
    margin: 0 auto;
    margin-top: 10px;
    color: var(--crema);
    width: 25%;
}

#descripcion__first h4 p{
    line-height: 13px;
}

#descripcion__first #primeraLinea{
    float: left;
}

#descripcion__first #segundaLinea{
    float: right;
}

#descripcion__first ul{
    padding-top: 30px;
    height: 70px;
    display: block;
    width: 100%;
    margin: 0 auto;
}

#descripcion__first li{
    display: block;
    font-family: "WebSymbolsRegular";
    list-style: none;
    float: left;
    font-size: 50px;
    width: 33%;
    margin: 0 auto;
}

#description article #descripcion__second{
    width: 47%;
    float: right;
    margin-top: 30px;
    text-align: center;
    height: 300px;
    padding-right: 30px;
}

#descripcion__second p{
    margin-top: 80px;
    margin-right: 120px;
    margin-left: 120px;
    font-size: 30px;
    font-family:  "TrebuchetMS";
    font-weight: bold;
    text-align: center;
}
#saludo__mobile{
    display: none;
}

/* SECCIÓN MY SKILLS */
/* SECCIÓN DE MI DESCRIPCIÓN */
#mySkills{
    width: 100%;
    display: block;
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: var(--negro);
}

#mySkills article{
    width: 50%;
    color: white;
    display: block;
    padding-top: 50px;
}

#mySkills__first{
    display: block;
    float: left;
    z-index: 2;
    margin: 0 auto;
    line-height: 30px;
}

#mySkills__first div{
    margin-left: 40px;
}

#mySkills__first--set{
    animation: rotarSet infinite 10s linear;
}

#mySkills__first--soft{
    animation: rotarSoft infinite 10s linear;
}

@keyframes rotarSet {
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    50%{
        transform: perspective(1000px) rotateY(180deg);
        color: var(--rosa);
        text-shadow: 1px 1px 8px var(--rosa);
    }
    100%{
        transform: perspective(1000px) rotateY(360deg);
    }
}
@keyframes rotarSoft {
    0%{
        transform: perspective(1000px) rotateY(360deg);
    }
    50%{
        transform: perspective(1000px) rotateY(180deg);
        color: var(--crema);
        text-shadow: 1px 1px 8px var(--crema);
    }
    100%{
        transform: perspective(1000px) rotateY(0deg);
    }
}

#mySkills__second{
    float: right;
    width: 300px;
    text-align: center;
}

#mySkills__second h3{
    color: white;
    font-size: 80px;
    font-family: "BebasNeue";
    margin-top: 80px;
}

#mySkills__second h4{
    font-size: 30px;
    font-family: "BebasNeue";
    width: 25%;
    margin: 0 auto;
    margin-top: 10px;
    color: var(--crema);
}

#mySkills__second h4 p{
    line-height: 13px;
}

#mySkills__second #primeraLinea{
    float: left;
}

#mySkills__second #segundaLinea{
    float: right;
}

#mySkills__second #flecha{
    font-family: "WebSymbolsRegular";
    margin-top: 30px;
    font-size: 50px;
    transition: all 300ms;
    animation: moverFlecha infinite 2s linear;
}
@keyframes moverFlecha {
    0%{
        transform: translateX(3%);
    }
    25%{
        transform: translateX(0%);
    }
    50%{
        transform: translateX(-3%);
    }
    75%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(3%);
    }
}

/* PIE DE PÁGINA */
footer{
    width: 100%;
    height: 200px;
    color: white;
    background-color: var(--negro);
}
footer h3{
    text-align: center;
    width: 100%;
    margin:  0 auto;
    font-size: 25px;
    height: 90px;
    line-height: 90px;
    font-family: "TrebuchetMS";
}
footer h3 span{
   font-family: "WebSymbolsRegular"; 
}
footer #redes{
    margin:  0 auto;
    width: 20%;
}
#redes img{
    width: 40px;
    transition: all 300ms;
}
#redes #github{
    margin-left: 60px;
}
#redes #linkedin{
    float: right;
    display: block;
    margin-right: 60px;
}
#redes a:hover img{
    transform: scale(1.2,1.2);
}
footer p{
    text-align: center;
    margin:  0 auto;
    width: 100%;
    font-family: "BebasNeue";
    letter-spacing: 2px;
    font-size: 12px;
    margin-top: 20px;
}