
:root{
    --font-base: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
}
*{
    caret-color: transparent; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}
html{
    scroll-behavior: smooth;
}
body{
    min-width: 20rem;
    background-color: rgb(0, 0, 0);
}
.container{
    margin: 0 auto;
    max-width: 1200px;
}
a:focus{
    outline: none;
}


/* Nav Bar start */

header{
    margin: 0 auto;
    max-width: 2200px;
    position: fixed;
    right: 0;
    left: 0;
    background-color: black;
}
nav{
    display: flex;
    justify-content: space-between;
}
.nav__left, .nav__right{
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav__link img{
    max-height: 5rem;
    filter: invert(1);
}

/* Nav Bar End */


/* Main Start */
main{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem 1rem;
}

/* about Start*/
section{
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 85vh;
    border-bottom: 1px solid white;
}
section div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
main section:nth-of-type(even){
    border-left: 1px solid white;
}
main section:nth-of-type(odd){
    border-right: 1px solid white;
}
.about__card{
    padding-top: 3rem;
}
.project__card{
    flex-direction: column;
}
.passion__card{
    max-width: 30rem;
    align-self: center;
    padding: 1rem;
    line-height: 2rem;
}
.contact__card{
    gap: 2rem;
    padding: 1rem;
}
.project__card ul{
    margin-left: 1rem;
    padding: 1rem;
    line-height: 2rem;
}
.about__card h1, .about__card p{
    max-width:20rem;
    text-align: center;
    
}
.about__pfp{
    border-radius: 7.5rem;
    border: 1px solid white;
    max-width: 15rem;
}
.about__info{
    min-width: 3rem;
    display: flex;
    flex-direction: column;
}
.contact__card a{
    justify-content: center;
    align-items: top;
    display: flex;
    align-self: center;
    min-width: 15rem;
    min-height: 15rem;
    padding: 2rem;
    line-height: 2rem;
    border: 1px solid white;
    transition: all .3s;
    
    box-shadow: .2rem .2rem .5rem white;
}
.contact__card a:hover{
    box-shadow: none;
}
.contact__card a:active{
    color: black;
    background-color: white;
}
/* about End */

/* Main End */


@media (max-width: 768px){
    nav{
        flex-direction: column;
        align-items: center;
    }
    .nav__right{
        display: none;
    }
}




