

*{
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* INICIO PÁGINA PRINCIPAL */
.main-tittle{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: #000;
    top: 35%;
    left: 0;
    padding: 50px 0px;
    box-shadow: 1px 1px 80px  #303030;
    text-shadow: 0px 5px 22px #3ea5ff; 
}

.first-page{
    width: 100%;
    height: 100vh;
}
.name{
    display: flex;
    color: #fff;
    font-size: 8vw;
}
.name p{
    letter-spacing: 5px;
}

.subname{
    display: flex;
    color:#f0f8ff;
    font-size: 4vw;
    text-shadow: 0px 5px 22px #3ea5ff;
    transition: all 0.3s;
    background-color: transparent;     
}

#subname{
    background-color: transparent;
}

.subname:hover{
    color: #3ea5ff;
}

.subname:hover:before{
    content: 'Front Developer';
}

.subname:hover p{
    display: none;
}

.arrow{
    display: flex;
    flex-direction: column;
    width: 100%;
    color: #ffebcd;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    text-shadow: 0px 5px 22px #3ea5ff; 
}

.arrow p{
    font-size: 20px;
    text-align: center;
    color: #fff;
    
}

.arrow i{
    color: #fff;
    font-size: 25px;
    text-align: center;
}

/* MENU PRINCIPAL */

.menu ul li a{
    text-decoration: none;
    color: #f0f8ff;
    text-shadow: 1px 1px 3px #3ea5ff;
    text-transform: lowercase;
    letter-spacing: 5px;
    background-color: transparent;
    transition: all 0.3s;
}

.menu{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px;
    background-color: transparent;
    
}

.menu ul li {
    transition:0.3s ease-out;
    margin: 5px;
    list-style-type: none;
    background-color: transparent;
  }

  .menu ul {
    background-color: transparent;
  }

.menu ul li:hover{
    transform: translateX(15px);
}

.menu ul li a:hover{
    color: #3ea5ff;
}

/* HIDDEN MENU */

#btnMenuOpen{
 display: none;
}

/* SCROLL */


/* CONTENIDO DESPUES DE SLIDER */
.container{
    width: 100%;
}

.content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    box-shadow: 1px 1px 80px  #303030;
}

.content .description, 
.content .cita{
    color: #f0f8ff;
    width: 60%;
    letter-spacing: 3px;
}

.about p{
   display: flex;
   justify-content: center;
   align-items: center;
}

.skills, .projects, .contact{
    margin-top: 250px;
}
.container h2{
    color:#f0f8ff;
    letter-spacing: 3px;
    text-shadow: 0px 5px 22px #3ea5ff; 
    margin-bottom: 20px;
    font-size: 40px;    
}

/* ABOUT ME */

.about{
    margin-top: 50px;
    height: fit-content;
    padding: 50px;
}

.content .cita{
    font-size: smaller;
    padding-top: 20px;
}

/* SKILLS */
.skills{
    height: fit-content;
    padding: 50px;
}

.skills .badges{
    display: grid;
    grid-gap: 50px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    color: #fff;
    justify-items: center;
    align-items: center;
}
   


.badges span{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 50px;
}

.skills .loading{
    display: none;
}
    

/* HOVER ICON */

.badges span {
    position: relative;
}
  
.badges span i {
    font-size: 60px;
    transition: all 0.15s ease-in-out;    
}
  
.badges span h3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: 0px 5px 22px #3ea5ff;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-in-out;
}


.badges span:hover i {
    opacity: 0;
}
  
.badges span:hover h3 {
    display: block;
    opacity: 1;
    background-color: transparent;
    color: #3ea5ff;

  }


/* SCROLLBAR */

::-webkit-scrollbar {
    width: 5px; 
}
  
::-webkit-scrollbar-thumb {
     background-color: #555;
     border-radius: 6px; 
}
  
/* PROJECTS */
  
.projects{
    height: fit-content;
    padding: 50px;
}

.portfolio{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(16em,1fr));
    grid-gap: 2em;
    width: 75%;
}
.titulo-portfolio{
    color: #fff;
}

.proj-items{
    display: flex;
    align-items: center;
    justify-self: center;
    flex-direction: column;
    width: 16em;
    padding-bottom: 5px;
    
}


.proj-items img{
    width: 16em;
    height: 8em;
    border-radius: 2%;
    filter: grayscale();
}

.proj-items h4{
    padding-bottom:10px;
    cursor: pointer;
}

.proj-items a{
    text-decoration: none;
    box-shadow: 0px 1px 20px #3ea5ff60;
    padding: 8px;
    border-radius: 2%;
}

.proj-items:hover img{
    filter: none;
    cursor: pointer;
}

.proj-items:hover h4{
    color: #3ea5ff;
}


.proj-items.hidden {
    display: none;
}





/* CONTACT */

.contact{
    height: fit-content;
    padding-TOP: 50px;
    padding-bottom: 10PX;
    width: 100%;
}

.social{
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    font-size: 50px;
}

.contact span a{
    color: #ffffff;
}

.social span{
    cursor: pointer;
    transition: all 0.2s;
}


.social span:hover{
    transform: scale(1.2);
}

.social span:hover a{
    color: #3ea5ff;;
}



/* RESPONSIVE DESIGN */

@media screen and (max-width: 850px) {



.proj-items img{
    width: 15.5em;
    height: 7.5em;
}

.proj-items {
    padding: 0;
    width: 15.5em;
    justify-content: center;
}

.arrow{
    font-size: 50px;
}

.content .description, 
    .content .cita{
    width: 80%;
}

}

@media screen and (max-width: 600px) {

    .badges span i {
        font-size: 55px;
        
    }

    .skills .badges{
        grid-gap: 25px;
    }

    .arrow p{
        font-size: 15px;
    }

    .menu ul li a{
        font-size: 0.9em;
        letter-spacing: 3px;
    }
    
    .menu{
        transform: translateX(-100%);
        background-color: #30303099;
        height: 100%;
        line-height: 60px;
        padding-top: 40px;
        transition: 0.3s ease-in-out;
    }

    .menu.active{
        transform: translateX(0%);
        transition: 0.3s ease-in-out;
    }

    #btnMenuOpen.active{
        display: none;
    }

    #btnMenuOpen, #btnMenuClose{
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        color: #797878;
        font-size: 30px;
        text-shadow: 0px 5px 35px #3ea5ff;
        background-color: transparent;
    }
    
    #btnMenuOpen:hover{
        cursor: pointer;
    }

    .main-tittle, .content h2{
        text-shadow: 0px 5px 22px #3ea5ff50;
    }

    .main-tittle{
        height: 50%;
        top: 15%;
    }

    .content .description, 
    .content .cita{
    width: 90%;
    }
}