html, body {
    margin: 0;
    padding: 0;
    /* scroll-padding-top: 5em;  */
    font-size: 62.5%;
} 

section{
    margin: 0
}

body{
    font-family: 'Poppins', sans-serif;
}

/* Intro screen */
.hero{
    background-color: #1c1d25;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav {
    background-color: #1c1d25;
    display: flex;
    position: fixed;
    z-index:1;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 8em;
    justify-content: center;
    align-items: center; 
}

ul{
    display: flex;
    list-style-type: none;
    padding: 0px;
    width: 60em;
    justify-content: space-between;
}

.a-header {
    text-decoration: none;
    color: white;
    font-size: 3em;
}

.a-button {
    text-decoration: none;
    color: white;
    font-size: 3em;
}

.hamburger{
    display: none;
}

.x-icon{
    display: none;
}

@media only screen and (max-width: 800px) {

    .hamburger{
        display: block;
        border: 0;
        background-color: transparent;
        width: 3.8em; 
        height: 3.8em;
        align-self: flex-end; 
        padding: 1em;
    }

    .x-icon{
        border: 0;
        background-color: transparent;
        width: 3.8em; 
        height: 3.8em;
        padding: 1em;
        align-self: flex-end; 
    }

    ul{
        display: none;
        background-color: #2b2c38;
        margin: 0;
    }

    .hamburger.show{
        display: block;
    }

    .hamburger.hide{
        display: none;
    }

    .x-icon.show{
        display: block;
    }

    .x-icon.hide{
        display: none;
    }

    ul.show{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        background-color: #2b2c38;
        height: 25em;
        width: 100%;
        margin-bottom: 2em; 
    }

    ul.hide{
        display: none;
    }

    nav {
        display: flex;
        flex-direction: column-reverse;
        background-color: #2b2c38;
        align-items: center;
        position: fixed;
        z-index:1;
        top: 0;
        right: 0;
        left: 0;
        height: auto;
        
    }
}


.hero-area{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

h1 {
   font-size: 8em;
   margin-bottom: 0;
   margin-top: 0;
}

.h1-sub{
    text-align: center;
    margin-top: 0em;
    margin-bottom: 0em;
    font-size: 3em;
    font-weight: 300;
}

.button {
    width: 21em;
    border-radius: 3em;
    background-color: coral;
    text-align: center;
    font-size: 0.85em;
    font-weight: 300;  
}

.button:hover{
    background-color: #ef744b;
}

.button:active{
    background-color: #a9a9a9;
    color: #808080;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.socials{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%; 
}

.social-icon{
    /* width: 5em; 
    height: 5em; */
    margin: 3em;
}
/* Intro screen */



/* About me */

.sub-section{
    display: flex;
    justify-content: space-around;
    padding: 5em;
}
.headshot-container{
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.headshot-img{
    width: 30rem;
    border-radius: 50%;
}

.about-title{
    font-size: 5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.info-p{
    font-size: 2rem;
}

@media only screen and (max-width: 800px) {
    .sub-section{
        display: flex;
        flex-direction: column-reverse;
        padding: 5em;
        scroll-margin-top: 1em;
    }

    .info{
        margin-top: 1em;
    }

    .headshot-container{
        display: flex;
        justify-content: center;
        margin-top: 2em;
    }

    .headshot-img{
        width: 35em;
        border-radius: 50%;
    }

    .about-title{
        font-size: 5em;
        margin-top: 1em;
    }
    .info-p{
        display: flex;
        flex-wrap: wrap;
        font-size: 2.5em;
    
    }

    .sub-section-projects{
        scroll-margin-top: 5em;
    }

}

/* About me */

/* Projects */

.sub-section-projects{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center; 
}

.project-container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.project-title{
    font-size: 5rem;
    margin-top: 0;
}

.project-card{
    width: 25rem;
    height: 50rem;
    box-shadow: 1px 1px 10px;
    margin-bottom: 6.5rem;
    margin-right: 1rem;

    position: relative;
}

.project-img{
    
    width: 100%;
    max-height: 165px;
   
}


.p-subtext{
    max-height: 200px;
    font-size: 15px;
    overflow:hidden;
    padding-left: .5em;
    padding-right: .5em;
}

.bottom{
    position: absolute; 
    bottom: 0; 
    width: 100%;
    overflow:hidden;
}

.bottom-words{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.a-card {
    text-decoration: none;
    color: black;
    font-size: 3em;
}

.a-card:hover{
    color:#ef744b
}

hr{
    margin-left: 20px;
    margin-right: 20px;
}

h3{
    font-size: 3em;
}
/* Projects */

/* Contact */
#contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1c1d25;
    color: white;
    width: 100%;
    
}
.contact-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.inputs{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

input, textarea{
    width: 100%;
}

input[type="text"], input[type="email"], input[type="number"], textarea {
    
    font-size: 3em;
}

.form-btn{
    margin-top: 3%;
    background-color: coral;
    color: white;
    border-radius: 3em;
}

form{
    max-width: 320px ;
}

.contact-title{
    font-size: 3em;
}

label{
    font-size: 1rem;
}

/* Contact */