:root{
    --clr-primary: #009E09;
    --clr-secondary: #00A808;
    --clr-background: #EBFEEA;
    --clr-black75: #404040;
    --clr-black-90: #262626;
    --clr-white: #F2F2F2;
    --clr-accent: #875913;
    --fs-h1: 2.027rem;
    --fs-h2: 1.802rem;
    --fs-h3: 1.602rem;
    --fs-h4: 1.424rem;
    --fs-h5: 1.266rem;
    --fs-h6: 1.125rem;
}

/* Global Styles*/

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    line-height: 1.5;
}

body{
    font-family: "raleway", sans-serif;
    background-color: var(--clr-background);
}

h1{
    font-size: var(--fs-h1);
    font-weight: 700;
}

h2{
    font-size: var(--fs-h2);
    font-weight: 600;
}

h3{
    font-size: var(--fs-h3);
    font-weight: 500;
}

h4{
    font-size: var(--fs-h4);
}

h5{
    font-size: var(--fs-h5);
}

h6{
    font-size: var(--fs-h6);
}

body, h4, h5, h6{
    font-weight: 400;
}



/* Header Section */

header img{
    height: 100px;
    width: auto;
    border-radius: 50%;
}

header{
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul{
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    justify-content: end;
    list-style-type: none;
}

nav a{
    font-size: var(--fs-h4);
    font-weight: 500;
    color: var(--clr-primary);
    font-weight: 700;
    text-decoration: none;
}

header a:hover{
    border-bottom: 3px solid var(--clr-accent);;
}

/*Hero Section*/
#Hero{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: space-evenly;
    background-color: var(--clr-primary);
    padding: 1.5rem;
    text-align: center;
}

#Hero img{
    height: 300px;
    width: 500px;
    border: 5px solid;
    border-color: var(--clr-background);
    border-radius: 10%;
}

#Hero ul{
    list-style-type: none;
    color: var(--clr-white);
}

#Hero li{
    color: var(--clr-white);
    font-size: var(--fs-h1);
    font-weight: 700;
}

#AboutMe p{
    margin-bottom: 5rem;
    color: var(--clr-black75);
    font-weight: 500;
    font-size: var(--fs-h5);
}

#AboutMe{
    padding-top: 2rem;
    max-width: 80%;
    margin:auto;
}

#AboutMe h1{
    margin-top: 3rem;
    text-decoration: underline;
    text-align: center;
    color: var(--clr-black90);
}

#ContactHeader{
    margin-top: 3rem;
    text-align: center;
}

#ContactHeader h1{
    color: var(--clr-black-90);
    font-size: var(--fs-h2);
}

#ContactHeader #contacts{
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    color: var(--clr-black75);
}

#ContactHeader img{
    height: 20px;
    width: auto;
}

#Contact{
    display: flex;
    justify-content: center;
    max-width: 75%;
    margin: auto;
    color: var(--clr-black75);
    background-color: var(--clr-primary);
}

#Contact div{
    padding: 2rem;
    list-style-type: none;
    display:flex;
    flex-direction: column;
}

#Contact{
    font-weight: 500;
    color: var(--clr-white);
}

input{
    height: 35px;
    width: 400px;
    border: 1px solid var(--clr-black75);
    background-color: var(--clr-background);
}

button{
    height: 50px;
    width: 400px;
    font-weight: 700;
    font-family: "raleway", sans-serif;
    color: var(--clr-black75);
    background-color: var(--clr-background);
}

/* Project Section */
#ProjectHeader{
    margin: 1rem;
    text-align: center;
    color: var(--clr-black90);
}

.Project-container{
    margin: 2rem auto;
    width: 70%;
    padding: 2rem;
    border: 1px solid var(--clr-black75);
    border-radius: 1%;
}

.Project-container h1{
    text-align: center;
    padding-bottom: 2rem;
}

.Project-container h2, p{
    padding: 0.5rem 0;
}


.Project-div{
    display: flex;
    flex-direction: column;
}

.Project-div ul{
    align-self: center;
    padding: 1rem;

}

.Project-div img{
    padding: 2rem;
    align-self: center;
    width: 50%;
    height: auto;
}

#double-image{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 2rem;
}

#double-image img{
    padding: 0;
    margin: 0;
    width: 40%;
    height: 320px;
}

.project-url{
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    height: 50px;
    width: 200px;
    border: 1px solid var(--clr-black75);
    border-radius: 10%;
    text-align: center;
}



#Projects{
    margin: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
/*
#Projects .bubble{
    background-color: var(--clr-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid var(--clr-black75);
    border-radius: 10%;
    width: 1000px;
} */

/* #Projects p{
    color: var(--clr-white);
} */

/* #Projects div img{
    height: 250px;
    width: auto;
} */

/* Footer Section */
.footer-container{
    position: relative;
    padding-top: 10rem;
}

footer{
    background-color: var(--clr-secondary);
    margin-top: 5rem;
    width: 100%;
}

footer div h5{
    text-decoration: underline;
    text-align: center;
}

footer div{
    color: var(--clr-white);
    
}

footer a{
    text-decoration: none;
    color: var(--clr-white);
}

footer img{
    height: auto;
    width: 30px;
    padding-right: 0.25rem;
}

footer .social{
    display: flex;
    padding:0.25rem;
    justify-content: center;
    font-style: italic;
    align-items: center;
}

footer #copyright{
    padding-top: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
}

/* Media Query for Phones with smallest being iPhone SE */
@media(min-width:350px){

    header img{
        height: 75px;
        width: auto;
    }

    nav a{
        font-size: var(--fs-h5);
    }

    #Hero img{
        height: 250px;
        width: auto;
    }

    #Contact{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    input{
        height: 25px;
        width: 200px;
    }

    button{
        width: 200px;
    }

    /* #Projects{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    #Projects .bubble{
        width: 350px;
        height: auto;
    } */
}

@media(min-width:800px){

    #Hero img{
        height: 500px;
        width: auto;
    }
    #Contact{
        display: flex;
        flex-direction: column;
        justify-content: start;
    }

    input{
        width: 500px;
        height: auto;
    }

    /* #Projects{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 1rem;
    }

    #Projects .bubble{
        width: auto;
        height: 400px;
    }

    #Projects div img{
        width: 300px;
        height: auto;
    }

    .bubble:nth-child(5){
        
        grid-row: 3/4;
        grid-column: 1/3;
    } */
}

@media(min-width:1200px){

    #Contact{
        max-width: 50%;
    }

    input{
        width: 500px;
        height: auto;
    }

    /* #Projects{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #Projects .bubble{
        width: auto;
        height: auto;
        border-radius: 5%;
    }

    #Projects div img{
        width: auto;
        height: 250px;
    }

    .bubble:nth-child(5){
        grid-row: 2/3;
        grid-column: 2/4;
    } */
}