@charset "utf-8";

* { box-sizing: border-box; }

/* CSS Document */

body {
    background-image: url(assets/images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

#container {
    /*width: 500px;*/
    margin-left: auto;
    margin-right: auto;
    background-color: #487998;
    padding-bottom: 50px;
}

#container h1 {
    color: #F47321;
    font-size: 3.0rem;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #F47321;    
}

#container h2 {
    color: #000000;
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
}

a:link, a:visited {
    color: #115684;
    text-decoration: none;
}

a:hover, a:active {
    color: #baf3f8;
    text-decoration: none;
}

/*******HEADER*******/

header {
    text-align: center;
	border-bottom: 2px solid #DDD8CA;
    padding-bottom: 20px;
    padding-top: 20px;
}

header img {
    max-width: 300px;
    height: auto;
}

header img, header h1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#bio {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    border-bottom: 2px solid #DDD8CA;
}

#bio h2{
    font-size: 2.5rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

#bio p {
    line-height: 1.3;
}

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

/*******MAJOR PROJECTS*******/

#majorProjects {
    background-color: #D9CCBE;
    border-style: solid;
    border-color: #000000;
    border-radius: 10px;
    margin-top: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-box-shadow: 5px 5px 3px #C4B7A8;
    box-shadow: 5px 5px 3px #C4B7A8;
    margin-bottom: 25px;
}
#majorProjects h2 {
    color: #000000;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 8px;
    text-decoration: underline;
}
#majorProjects ul li {
    margin-bottom: 20px;
    margin-left: 15px;
    color: #000000;
    margin-right: 15px;
}

/*******END MAJOR PROJECTS*******/

/*******PROJECTS*******/

#projects {
    background-color: #D9CCBE;
    border-style: solid;
    border-radius: 10px;
    border-color: #000000;
    margin-top: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 20px;
    margin-right: 20px;
    -webkit-box-shadow: 5px 5px 3px #C4B7A8;
    box-shadow: 5px 5px 3px #C4B7A8;
    margin-bottom: 25px;
}
#projects h2 {
    color: #000000;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 8px;
    text-decoration: underline;
}
#projects ul li {
    margin-bottom: 20px;
    margin-left: 15px;
    color: #000000;
    margin-right: 15px;
}

/*******END PROJECTS*******/

/*******FOOTER*******/

footer {
    border-top: 2px solid #DDD8CA;
    padding-top: 50px;
    margin-bottom: 20px;
}

footer h2  {
    text-align: center;
    padding-top: 30px;
    margin-bottom: 22px;
}

footer ul {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    text-align: center;
    list-style-type: none;
}
footer ul li {
    display: inline-block;
    padding-left: 0px;
    margin-left: 20px;
    color: #5A865B;
    font-size: 0.9rem;
    margin-top: 15px;
}

/*******END FOOTER*******/

@media only screen and (min-width: 600px) {

    header img {
        max-width: 500px;
        height: auto;
    }

    #container {
        max-width: 700px;
    }

    .header-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px; 
    }

    #allprojects {
        display: flex;
        flex-direction: row;
        align-items: left;
        justify-content: space-evenly;
    }

}

@media only screen and (min-width: 960px) {

    #allprojects {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-evenly;
        gap: 40px;
    }

    #majorProjects, #projects {
        flex: 1; 
        max-width: 450px; 
    }

}
