* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    width: 100%;
    background-color: #ff8b94;
    color: #dcedc1;
}

#gallery {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gallery img {
    width: 800px;
}

#main-picture {
    display: block;
    margin: auto;
    width: 30%;
}

#nav {
    top:0;
    position: fixed;
    width: 100%;
    background: #a8e6cf;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 2em;
    font-size: 2em;
}

#submit {
    display: block;
    padding: 1.5em;
    border-radius: 1.4em;
    border: none;
    letter-spacing: 2px;
    font-weight: bold;
    background-color: #a0fcb7;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 15px;
}

#submit:hover {
    background-color: #b2fcd7;
}

a {
    text-decoration: none;
    color: rgba(61, 61, 61, 0.644);
}

h1 {
    color: #8ec4b0;
    margin-top: 180px;
    margin-bottom: 10px;
}

h3 {
    color: #a8e6cf;
}

li {
    list-style: none;
}

li:hover {
    background-color: #ffd3b6;
}

nav a {
    color: #ff8b94;
    padding: 10px;
}

p {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.bottom {
    margin-top: 20px;
    margin-bottom: 120px;
}

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

.form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    color:#ffd414;
}

.form input, textarea {
    padding: 10px;
    border-radius: 2em;
    border: 2px solid #ffc692;
    resize: none;
    background-color: #ff8b94;
}

.mg-btm {
    margin-bottom: 20px;
}

.project-img {
    display: block;
    width: 70%;
    margin: auto;
    border: 5px solid #555;
}

.text-center {
    text-align: center;
}

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

    .flex-container {
        display:inline-block;
    }

    .flex-container li {
        margin-top: 10px;
    }

    #gallery img, .project-img img {
        width: 300px;
    }

    h1 {
        margin-top: 350px;
    }

    .nav {
        width: auto;
    }
    
}