*{
    
    font-family: 'Titillium Web', sans-serif;
    --main-color-regular: rgb(140, 83, 226); 
    --main-color-dark: rgb(79, 67, 116); 
    --secondary-color-dark: rgb(56, 82, 119); 
    --main-gradient-regular: linear-gradient(45deg, rgba(40,158,207,1) 0%, rgba(107,74,199,1) 41%, rgba(196,124,235,1) 100%);
    box-sizing: border-box; 
}

.main-paragraph h2{
    text-align: center; 
}

body{
    margin: 0; 
}
.body-black{
    background-color: black;
    transition: 1.7s; 
}
.body-purple{
    background-color: var(--main-color-dark); 
    transition: 1.7s; 
}
.body-blue{
    background-color: var(--secondary-color-dark); 
    transition: 1.7s; 
}


.main-content{
    min-height: 500px; 
}

a{
    color: white;  
    text-decoration: none;
    transition: .2s; 
}

.content-container{
    display:flex; 
    justify-content: center; 
    /*align-items:flex-start;  */ 
    min-height: 100vh; 
    max-width: 100%; 
    padding-top: 60px; 
    padding-bottom: 100px; 
}
#projects{
    display: flex; 
    justify-content: center; 
    flex-direction: column; 
}
.project{
    display:grid; 
    grid-template-columns: 60% 40%; 
}
.project-images{
    display: flex; 
    justify-content: center; 
    flex-direction: row; 
}
figcaption{
    color: white; 
    text-align: center; 
}
div.selected{

    background-image: var(--main-gradient-regular); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    transition: .2s;  
}


.nav-link:hover{
    cursor:pointer; 
}

#nav-header{
    position: sticky; 
    color: white; 
    width: 100vw; 
    display: grid; 
    grid-template-columns: 20% 60%;
    gap: 20%; 
    top:0; 
    background-color: inherit; 
    

}
.main-paragraph .project p{
    font-size: 25px; 
    padding-right: 40px; 
    justify-content: center; 
    
}
h3{
    color: white; 
    text-align: center; 
    font-size: 28px; 
    font-weight: normal; 
}


#nav-logo-container{
    display: flex; 
    justify-content: center;
    align-items: center; 
    height: 8vh; 
}
#nav-logo:hover{
    cursor: pointer; 
}


#nav-links-container{
    width: 100%; 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 

}
.a{
    color: white;
}
.nav-link{
     
    display:flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.2rem; 
    transition: .2s; 
    height: 8vh; 
}



#home-main-content{
    width: 90%; 
    display:grid; 
    grid-template-columns: 55% 45%; 
}



#about-me{
    display:flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-size: 2.19rem; 
    width: 70%; 
}



.main-paragraph h2{
    color: white; 
    font-size: 2.19rem; 
    
}

.main-paragraph p,label{
    color: white; 
    font-size: 1.9rem;

}

label{
    display: block; 
    margin-top: 30px; 
    margin-bottom: 30px; 
    width: 50%; 
}

input{
    display: block; 
    width: 50%;
   
}

textarea{
    display: block; 
    width: 100%;
    height: 80%;
    background-color: inherit;  
    border: 3px solid white; 
    border-radius: 10px;  
    color: white; 
    padding: 10px; 
}


.button-line{
    display: flex; 
    flex-direction: row; 
}

#contact-main-content{
    width: 100%; 
    display: flex; 
    justify-content: center; 
}

#contact-main-paragraph{
    width: 60%; 
}
#contact-main-paragraph h2{
    text-align: center; 
}

#about-me-container{
    display:flex; 
    justify-content: center; 
    align-items: center; 
}

#about-me-main-paragraph{
    width: 100%; 
    margin-bottom: 50px; 
}
#about-me-main-paragraph h2{
    text-align: left; 
}


.main-button{
    color: white; 
    width: fit-content; 
    background: var(--main-gradient-regular); 
    transition: .2s; 
    border: 3px solid white; 
}

.sub-button{
    color: white; 
    width: fit-content; 
    border: .19rem solid white; 
    transition: .2s;
    /*background-color: black; */ 
}

.sub-button:hover{
    transform: scale(1.1); 
    transition: .2s; 
    cursor: pointer; 
}

.main-button:hover{
    transform: scale(1.1); 
    transition: .2s; 
    /*border: 3px solid white; */
    cursor: pointer; 
}


#projects-button{
    padding: .9rem; 
    border-radius: .9rem; 
    height: fit-content; 
    font-size: 1.3rem; 
}

#resume-button{
    padding: .9rem; 
    border-radius: .9rem; 
    height: fit-content;
    font-size: 1.3rem; 
}

.button{
    padding: .75rem; 
    padding-left: 1.2rem; 
    padding-right: 1.2rem; 
    border-radius: .9rem; 
    height: fit-content; 
    font-size: 1.3rem; 
    margin-right: 10px; 
}
.send-button{
    padding-left: 10vw; 
    padding-right: 10vw; 
}

.messagelabel{
    height:100%; 
    width: 100%; 
}
.namelabel{
    height:100%; 
    width: 30%; 
}
.emaillabel{
    height:100%; 
    width: 25%;
}

input{
    display: block; 
    width: 100%;
    background-color: inherit; 
    border: 3px solid white; 
    border-radius: 10px; 
    padding: 10px; 
    color: white; 
}

#projects-button::after{
    content:">"; 
    width: 100%; 
    height: 100%; 
}

#resume-button::after{
    content:">"; 
    width: 100%; 
    height: 100%; 
}



#about-me-nav-content{
    display:flex; 
    align-items: center; 
    width: 100%; 
    
}

#about-button-container{
    display: grid; 
    grid-template-columns: repeat(2,1fr); 
    gap: 2.19rem; 
    max-width: 100%; 
}


#profile-container{
    height: 100%;  
    display:flex; 
    justify-content: center; 
    align-items: center; 
}

#profile-picture-container{
    display:flex; 
    justify-content: center; 
    align-items: center; 
    height: fit-content; 

}

.link-text{
    color: white; 
}

#profile-picture-container img{
    width:100%; 
    display: block;
    border-radius: 50%; 
}

.project img:hover{
   filter: brightness(70%); 
   transition: .2s; 
}


#link-1-anchor:hover ~ hr {
    margin-left: 0%;

}

#link-2-anchor:hover ~ hr {
    margin-left: 100%;
 

}

#link-4-anchor:hover ~ hr {
    margin-left: 200%;

}

hr {
    height: .18rem;
    width: 100%;
    margin: 0;
    background: var(--main-gradient-regular);
    border: none;
    transition: .4s ease-in-out;
}

hr.one{
    margin-left: 0%;
}
hr.two{
    margin-left: 100%;
}
hr.three{
    margin-left: 200%;
}
hr.four{
    margin-left: 200%;
}

@media (max-width:950px){
    #home-main-content{
        display:flex; 
        flex-direction: column-reverse; 
    }
    #nav-header{
        color: white; 
        width: 100vw; 
        height: fit-content;
        display:flex; 
        flex-direction: column; 
        align-items: center; 
        padding: 10px 30px 0px 30px; 
    }
    main{
        display:flex; 
        flex-direction: column; 
    }
    #about-me{
        width: 90%; 
    }
    #about-button-container{
        display:flex; 
        justify-content: space-around; 
        width: 100%; 
    }
    *{
        text-align:center; 
    }
    #profile-picture-container img{
        height: 30vh; 
        width: auto;  
    }
    .namelabel, .emaillabel{
        width: 100%; 
    }
    label{
        width: 100%; 
    }
    .project{
        display: flex; 
        flex-direction: column; 
       
    }
    .main-paragraph .project p{
        text-align: center; 
        padding-left: 50px;
        padding-right: 50px; 

    }
    #about-me-main-paragraph h2{
        text-align: center; 
    }
    
    
}