*{
    padding: 0;
    margin: 0;
    font-family: 'Roboto';
    color: white;
}

body{
    scroll-behavior: hide;
}

a{
    color: black;
    font-style: normal;
    text-decoration: none;
}

/* body{
    background-image: url('background.jpg');
    margin: 0;
    background-attachment: fixed;
    background-position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
} */

.container{
    height: 100vh;
    overflow-y:scroll;
    perspective: 10px;
    overflow-x: hidden;
}



#backgroundImage{
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
    transform: translateZ(-20px) scale(3);
}


@media(max-width: 1300px){
    #backgroundImage{
        transform: translateZ(-20px) scale(4);
    }
}

@media(min-width: 1300px){
    #backgroundImage{
        transform: translateZ(-20px) scale(3);
    }
}

@media(max-width: 1100px){
    #backgroundImage{
        transform: translateZ(-20px) scale(12);
    }
}

@media(max-width: 800px){
    #backgroundImage{
        transform: translateZ(-20px) scale(14);
    }
}

@media(max-width: 500px){
    #backgroundImage{
        transform: translateZ(-20px) scale(15);
    }
}

@media(max-width: 400px){
    #backgroundImage{
        transform: translateZ(-20px) scale(19);
    }
}



/**
* ! Common Classes
*/

.portfolioSection{
    display: flex;
    text-align: center;
    line-height: 1.5em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 300;
    padding: 0 2em;
}

.sectionHeader{
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 30px;
    font-weight: 300;
    line-height: 1.5em;
}

.sectionParagraph{
    max-width: 800px;
}


/**
* ? Nav bar styling
*/
nav{
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: none;
    padding:0 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 300;
}

nav #name{
    font-size: 40px;
    color: white;
    margin-left: 20px;
}

nav .guideButtons{
    margin-right:60px ;
    width: 500px;
    display: flex;
    justify-content: space-evenly;
}

nav .guideButtons a{
    font-size: larger;
    color: white;
    letter-spacing: 0.1em;
}

nav a:hover{
    color: black;
}

@media(max-width: 500px){
    nav{
        padding-top: 1em;
        flex-direction: column;
    }

    nav #name{
        position: relative;
        right: 34px;
    }
}

@media(max-width: 400px){
    nav .guideButtons{
        width: 100%;
    }

    nav .guideButtons a{
        font-size: medium;
    }

    nav #name{
        position: relative;
        right: 34px;
    }
}

/**
* ? About section styling
*/
#about {
    margin-top: 30vh;
    padding-bottom: 20em;
}

#portrait {
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-image: url('images/myPicBefore.jpg');
    background-size: contain;
}

#portrait:hover{
    background-image: url('images/myPicAfter.JPEG');
}

#about .contactButtons{
    margin: 1em;
}

#about .contactButtons a{
    display: inline-block;
    margin: 0 0.5em;
    font-size: 20px;
}
#about .contactButtons a:last-child,
#about .contactButtons a:nth-last-child(2){
    margin-top: 2em;
    border: 1px solid white;
    border-radius: 0.2em;
    padding: 0.5em 1em;
    color: white;
}

#about .contactButtons a:hover{
    cursor: pointer;
    color: black;
    border-color: black;
}


@media(max-width: 500px){
    #about {
        padding: 0 2em;
        padding-bottom: 25vh;
    }
}


/**
* ? Skills
*/

#skills h3{
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 400;
}

#frameworks i{
    font-size: 40px;
    color: black;
    position: relative;
    top: -4px;
}

.skillsIcon{
    max-width: 40px;
    align-self: center;
}




/**
* ? Project
*/
#project{
    margin-top: 10em;
}

.projectBoxContainer{
    display: flex;
    width: 1100px;
    justify-content: space-evenly;
}

.projectBox{
    display: inline-block;
    border: 1px solid white;
    border-radius: 1em;
    width: 300px;
    background-color: #FFF2;
}

.projectBox img{
    width: 298px;
    height: 222px;
    object-fit: cover;
    border-radius: 1em;
}

.projectBox .details{
    padding: 1em;
    height: 18em;
}

.projectBox .details p{
   height: 10em;
}

.projectBox .details a{
    display: inline-block;
    color: white;
    border: 1px solid white;
    border-radius: 0.2em;
    padding: 0.5em 1em;
}

.projectBox .details a:hover{
    color: black;
    border-color: black;
}

.projectBox .details .github{
    border: none;
}

@media(max-width: 1100px){
    .projectBoxContainer{
        width: 700px;
        flex-direction: column;
        align-items: center;
    }

    .projectBox{
        margin: 2em 0;
    }

    .projectBox:first-of-type{
        margin-top: 0;
    }
}


/**
* ? Contact styling
*/ 

#contact{
    margin: 10em 0;
    font-size: 20px;
}

.contactMethods *{
    margin: 0 0.5em;
}


.contactMethods span{
    cursor: pointer;
    display: inline-block;
    padding: 0.2em 0.5em;
    border-radius: 0.5em;
}

.contactMethods span:hover{
    background-color: #a2d2ffAA;

}



footer *{
    color: white;
}

#copiedNotification{
    display: inline-block;
    font-size: 12px;
    position: relative;
    right: 0%;
}

.notVisible{
    visibility: hidden;
}

.fadeInAnimation{
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    
    30%{
        opacity: 1;
    }
    
    100%{
        opacity: 0;
    }
}

