*{
    margin: 0;
    padding: 0;
    text-decoration: none;
}

h1{
    font-family: "Macondo Swash Caps", serif;
    font-size: 2.5rem;
}

h2, h3, h4{
    font-family: "Spectral", serif;
}

p{
    font-family: "Spectral", serif;
    font-weight: 300;
    font-style: normal;
}

header{
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: darkslategrey;
    filter: drop-shadow(0 0 0.75rem black);
}

#hamburgerMenu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin: auto 16px;
}

.bar {
    width: 2rem;
    height: 0.25rem;
    background-color: white;
    margin: 3px 0;
    /* transition: 0.4s; */
    border-radius: 1rem;
}

.logo{
    margin: 16px 36px 16px 36px;
    height: 116px;
}
.logo img{
    margin: auto;
    height: 100%;
;}


#navlinks{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    width: 50%;
}
.navlink{
    margin: auto;
    padding: 8px 16px ;
    background-color: rgb(200, 200, 200);
    border: 4px white solid;
    border-radius: 24px;
    transition: ease-in-out 500ms;

}
.navlink:hover{
    border: yellow solid 4px;
    background-color: rgb(255, 255, 227);
    padding: 12px 20px;
    transition: ease-in-out 500ms;
}

.navlink a{
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    color: black;
}
#heroBackground{
    /* background-color: black; */
    transition: ease-in-out 500ms;
}
#hero{
    margin: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 4;
    position: relative;
    transition: ease-in-out 500ms;
}

#heroObj{
    aspect-ratio: 7/4;
}
.bannerlogo{
    position: absolute;
    max-width: 30%;
    transition: ease-in-out 500ms;
    opacity: 0;
}
#cssLogo{
    top: 7.75%;
    left: 31.4%;
    width: 10%;
    rotate: 8deg;
}
#figmaLogo{
    top: 40%;
    left: 73.35%;
    width: 7.14%;
    rotate: 15deg;
}
#htmlLogo{
    top: 31.3%;
    left: 16.2%;
    width: 14.5%;
    rotate: 0deg;
}
#illustratorLogo{
    top: 10.625%;
    left: 62.14%;
    width: 11.428%;
    rotate: -6deg; 
}
#phpLogo{
    top: 56.25%;
    left: 28.21%;
    width: 17.14%;
    rotate: -5deg;
}
#photoshopLogo{
    top: 9.375%;
    left: 6.07%;
    width: 12.14%;
    rotate: -6deg; 
}
#javascriptLogo{
    top: 20.625%;
    left: 40.35%;
    width: 14.285%;
    rotate: -10deg;
}
#reactLogo{
    top: 59%;
    left: 5.5%;
    width: 15%;
    rotate: -10deg;
}
#wordpressLogo{
    top: 10%;
    left: 79.79%;
    width: 10%;
    rotate: 13deg;
    filter: invert(100%);
    color: rgb(240, 240, 240);
}

#body{
    width: 90%;
    margin: auto;
    padding: 24px;
}
#ProjectHeader{
    text-align: center;
    padding: 1.5rem 0;
    width: 100%;
}
#projects{
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: rgb(240, 240, 240);
    border-radius: 24px;
    margin: 8px auto auto auto;
    max-width: 1280px;
    padding: 0 0.5rem;
}
.projectContainer{
    margin: auto;
}
.project{
    width: 300px;
    margin: 16px;
    padding: 16px;
    background-color: white;
    color: black;
    border: solid 4px lightgray;
    border-radius: 8px;
    filter: saturate(0);
    transition: ease-in-out 500ms;
}
.projectImage{
    width: 100%;
    text-align: center;
}
.projectImage img{
    text-align: center;
    /* margin: 0 10% 0 10%; */
    max-width: 300px;
    height: 240px;
    background-size: auto;
    border-radius: 8px;
}

.project:hover{
    border: solid 4px rgb(215, 214, 156);
    /* filter: drop-shadow(0 0 0.75rem rgb(226, 255, 64)); */
    filter: saturate(1);
    /* filter: drop-shadow(0 0 0.75rem rgb(226, 255, 64)) saturate(1); */

    transition: ease-in-out 500ms;
}

footer{
    width: 100%;
    height: 200px;
    margin-top: 32px;
    background-color: darkslategrey;
    padding: 24px 0px;
}
#FootContainer{
    width: 90%;
    margin: auto;
    color: white;
    text-align: center;
}
.FootText{
    padding: 8px;
    width: 80%;
    margin: auto;
}


/* ABOUT PAGE */


#AboutBody{
    width: 90%;
    margin: auto;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}
#AboutText{
    width: 80%;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#AboutImage{
    width: 40%;
}
#AboutImage img{
    width: 100%;
    min-width: 200px;
}
#AboutBodyText{
    padding: 8px 0 8px 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
}
#AboutBodyText p{
    font-weight: 400;
}  

#AboutBodyText ul{
    font-family: "Spectral", serif;
    font-weight: 300;
    padding-left: 16px;
}

#AboutLink{
    margin-top: 24px;
    font-size: 2rem;
    color: black;
    text-decoration: underline;
}

@media only screen and (max-width: 1257px) {
    #projects{
        justify-content: space-around;
        /* margin: 1rem auto; */
        padding-bottom: 1rem;
    }
    #projects a{
        text-align: center;
        /* margin: auto; */
        width: 45%;
        margin-top: 1rem;
    }
    .project{
        margin: auto;
        width: 90%;
    }
}


@media only screen and (max-width: 864px) {
    #navlinks{
        width: 66%;
    }
    .HeaderLink{
        font-size: 1rem;
    }

    #hamburgerMenu {
        display: flex;
        z-index: 10; /* Ensures it stays above other elements */

    }

    #navlinks {
        display: none;
    }

    #navlinks.active {
        display: flex;
        flex-direction: row;
        background-color: darkslategrey;
        position: absolute;
        top: 0; /* Moves the menu to the very top */
        left: 0; /* Aligns it to the left */
        width: 100%; /* Makes it span the full width */
        text-align: center;
        z-index: 9; /* Positions the menu above most elements */
        height: 100%;
    }

    /* #heroBackground{
        display: none;
    } */
    #projects{
        width: 100%;
        margin: 16px 0;
        padding-bottom: 16px;
    }
    #projects a{
        text-align: center;
        margin-top: 16px;
        width: 100%;
    }


    #AboutText{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    #AboutImage{
        margin: auto;
        justify-content: center;
        min-width: 200px;
    }
    /* #AboutImage img{
        margin: auto;
        text-align: center;
    } */
     #AboutBodyText{
        margin: 16px auto;
        width: 400px;
        justify-self: center;
     }
     #AboutLink{
        margin-top: 0;
     }
}