@import 'utilities.css';

:root{
    --primary:#14c9e9;
    --dark:#000000;
    --secondary:#5d5b72;
    --pure:#ffffff;
    --red:rgb(255, 85, 85);
}
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "poppins", sans-serif;
    background-color: var(--primary);
}

.container{
    background: var(--dark);
    justify-content: space-around;
    align-items: center;
    height: 4rem;
}

.hero h1{
    font-family: 'Kaushan Script', sans-serif;
}
header{
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1;
}
nav .left a{
    text-decoration: none;
    font-size: 15px;
    margin-right: 2rem;
    color: var(--pure);
    font-weight: 600;
    transition: all 0.3s ease;
}

nav .left a:hover{
    color: var(--primary);
}

.btn{
    padding: 0.6rem;
    margin-right: 1rem;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    background: transparent;
    color: var(--pure);
    border: 2px solid var(--primary);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    background: var(--primary);
    border: 2px solid transparent;
    color: var(--pure);
}


/* About Section */

section.main{
    background: var(--primary);
}

section .about{
    background: var(--pure);
    height: 2rem;
}

section .about img{
    height: 75px;
    width: 40px;
}

.hero{
    width: 100%;
    height: 100vh;
    margin-top: 4rem;
}

.hero h1{
    font-size: 5rem;
}
.hero p{
    font-size: 3rem;
}
.hero h1, .hero p{
    text-align: center;
    color: var(--pure);
    margin-bottom: 5px;
}

.hero .social-icon{
    text-align: center;
    margin-top: 4rem;
}
.social-icon img{
    height: 40px;
    width: 40px;
    margin-right: 1rem;
    margin-bottom: 3rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}
.social-icon img:hover{
    transform: scale(1);
}


section.about, section.projects, section.work, section.education, .language, .contact, .social, .footer{
    background: var(--pure);
    width: 90%;
    margin: auto;
    border-radius: 5px;
    padding: 2rem;
}

section.projects, section.work, section.education, .language, .contact, .social, section.about, .footer{
    margin-top: 4rem;
}

.about h1, .projects h1, .work h1, .education h1, .language h1, .contact h1, .social h1{
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;

}
.about img, .projects img{
    width: 250px;
    height: 250px;
    margin-right: 20px;
}

.about .box{
    margin: 20px;
}

.box span{
    display: block;
    margin-top: 5px;
}

.projects h1{
    margin-bottom: 20px;
}

.info h4{
    margin-top: 2rem;
    font-weight: 400;
}
.education h4{
    font-weight: 400;
}
.info p{
    color: var(--dark);
}

.courses, .langs, form{
    margin-top: 2rem;
}

.langs span{
    font-weight: 400;
}

.contact input{
    width: 100%;
    font-size: 20px;
    margin: 5px;
    border: none;
    height: 50px;
    padding: 12px 20px;
    background: #86e3f4;
    outline: none;
}
input.text-area{
    height: 150px;
}
button.secondary{
    margin-top: 20px;
    padding: 0.6rem;
    margin-right: 1rem;
    margin-left: 0.2rem;
    font-size: 20px;
    font-weight: 600;
    outline: none;
    background: var(--primary);
    color: var(--pure);
    border: 2px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
}

.projects .card{
    transform: scale(0.9);
    transition: all 0.3s ease;
}
.projects .card:hover{
    transform: scale(1);
    color: var(--primary);
    z-index: 0;   
}

.projects a{
    text-decoration: none;
    color: var(--dark);
}

.links input{
    width: 70%;
    font-size: 20px;
    margin: 5px;
    height: 50px;
    padding: 12px 20px;
    border: 2px solid #86e3f4; 
    outline: none;
}

.links button{
    width: 25%;
    padding: 12px 20px;
    border-radius: 0px;
    color: var(--primary);
    background: none;
    border: 2px solid #86e3f4; 
}

.links button:hover{
    background: var(--primary);
    border-color: var(--primary);
    outline: none;
    color: var(--pure);
}

.work h5{
    color: var(--red);
}

.right p{
    font-weight: 6\500;
    font-size: 2rem;
    color: var(--red);
}
.footer{
    margin-bottom: 4rem;
}
.footer div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer span, a{
    color: var(--red);
    text-decoration: none;
}

.space_about{
    height: 50px;
    width: 50px;
}

#por{
    margin-top: 1rem;
    color: var(--dark);
    
}

.info a{
    text-decoration: none;
}