*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: 'Poppins';
}
:root{
    --background: rgb(24,24,24);
    --second-background: rgb(21,21,21);
}
body{
    min-height: 100vh;
    background-color: var(--background);
}
nav{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2em 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
ul{
    display: flex;
    align-items: center;
    gap: 3em;
}
nav ul a{
    color: white;
    opacity: 0.7;
    transition: 0.2s ease-in-out;
}
nav ul a:hover{
    opacity: 1;
}
.logo{
    font-size: 2em;
    color: white;
    font-weight: 800;
    opacity: 0.8;
    transition: 0.2s ease-in-out;
}
.logo:hover{
    opacity: 1;
}
.btn{
    padding: 0.5em 1em;
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 0.5em;
    font-size: 1.1em;
    border: 2px solid white;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.btn:hover{
    background-color: white;
    color: var(--background);
}
span{
    background: linear-gradient(to right, #5b8dd6, #95b5e4);
    background-clip: text;
    color: transparent;
}
em{
    font-style: normal;
    font-weight: 300;
    color: white;
    opacity: 0.8;
}
em:hover{
    opacity: 1;
    font-weight: 300;
    transition: 0.2s ease-in-out;
}
#menu{
    color: white;
    font-size: 3em;
    display: none;
}
section{
    min-height: 100vh;
    padding: 5% 15%;

}
#home{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    color: white;
}
#home img{
    width: 15vw;
    border-radius: 50%;
    margin-top: 3em;
}
.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
    max-width: 600px;
}
.info-box h1{
    font-size: 4em;
    font-weight: 500;
}
.info-box h3{
    font-size: 2em;
    font-weight: 400;
    opacity: .8;
}
.info-box p{
    font-size: 1.2em;
    line-height: 1.5em;
    opacity: 0.8;
}
.btn-box{
    display: flex;
    gap: 1em;
}
.btn-box .btn:nth-of-type(2){
    background-color: white;
    color: var(--background);
}
.btn-box .btn.btn:nth-of-type(2):hover{
    background-color: var(--background);
    color: white;
}
::-webkit-scrollbar{
    width: 15px;
    background-color: var(--background);
}
::-webkit-scrollbar-thumb{
    background: linear-gradient(to bottom, #5b8dd6, #95b5e4);
}

#about{
    background-color: var(--second-background);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5em;
}
#about img{
    width: 30vw;
    border-radius: 1em;
}
.about-box{
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: .75em 0em;
}
.about-box h1{
    font-size: 4em;
}
.about-box p{
    font-size: 1.2em;
    line-height: 1.5em;
    color: white;
    opacity: 0.8;
}
.skills{
    display: flex;
    text-align: left;
    gap: 10em;
}
.skills ul{
    font-size: .75em;
    font-weight: 500;
    gap: 2em;
    display: flex;
    flex-direction: column;
    color: white;
    opacity: .8;
    align-items: baseline;
}
.skills ul li span{
    display: flex;
    align-items: center;
    gap: 1em;
    align-items: center;
    font-size: 1.3em;
    transition: .3s ease-in-out;
}
.skills ul li span:hover{
    transform: translateX(4px);
}
.skills ul li i{
    font-size: 1.2em;
}
.about-box h2{
    font-size: 3em;
}
#portfolio{
    background-color: var(--background);
}
.portfolio-box{
    margin-bottom: 5em;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.portfolio-box span{
    font-size: 1.125em;
    font-weight: 800;
    letter-spacing: 1px;
}
.portfolio-box p{
    font-size: 1.3em;
    line-height: 1.75em;
    letter-spacing: 1px;
    color: white;
    opacity: 0.8;
}
.header{
    text-align: center;
    font-size: 5em;
    margin: .5em 0;
}
.portfolio-container{
    display: grid;
    grid-template-columns: repeat(6, 300px);
    gap: 15px;
    justify-content: center;
}
.box{
    border: 3px solid rgb(49, 49, 49);
    border-radius: .5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    object-fit: cover;
    padding: 2em;
    color: white;
    cursor: pointer;
    transition: .3s ease-in-out;
}
.box:hover{
    border: 3px solid rgb(100, 100, 100);
    background-color: rgba(15, 15, 15, 0.8);
    transform: translateY(4px);
    transition: .3s ease-in-out;
}
.box h1{
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5em;
}
.box img{
    margin-bottom: 5px;
    min-width: 25px;
    border-radius: .5em;
    gap: 5em;
}