* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Libertinus Math", system-ui;
}

h1{
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.2rem;
}

.error-input {
    border: 2px solid #970000;
}

.error-msg {
    color: #970000;
}

.selected {
    color: #37280D;
}

.selected:hover {
    cursor: default;
    text-decoration: none;
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.spc-btwn {
    justify-content: space-between;
}

.spc-even{
    justify-content: space-evenly;
}

.center {
    justify-content: center;
}

.align-items-c {
    align-items: center;
}

.gap5 {
    gap: 5px;
}

.gap25{
    gap:25px;
}

.margin-b-25 {
    margin-bottom: 25px
}

.margin-t-25 {
    margin-top: 25px
}

.mw150 {
    max-width:150px;
}

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

ul {
    margin-left: 20px;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.linkedin {
    max-height: 15px;
}

    #logo-container {
        margin-left: 100px;
        width: 300px;
    }

    #logo {
        max-height: 30px;
    }

    #nav {
        background-color: #BFC9A9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        letter-spacing: 1px;
        flex: 1;
    }

    #nav a {
        font-size: 1.1rem;
    }

    #nav > ul {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 50px;
        list-style: none;
        margin: 0;
    }

    a {
        text-decoration: none;
        color:#705321;
    }

    a:hover {
        text-decoration: underline;
    }

    #header-right > * > .material-symbols-outlined {
        color: #705321;
    }

    #header-right > * > .material-symbols-outlined:hover {
        cursor: pointer;
    }

    #header-right {
        margin-right: 100px;
        display: flex;
        align-items: center;
        gap: 20px;
        width: 300px;
    }

        #header-right > * {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        #github {
            height: 20px;
            color: #705321;
        }

#mobile-nav {
    background-color: #BFC9A9;
    display: none;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    letter-spacing: 1px;
    flex: 1;
}

#mobile-nav .material-symbols-outlined {
    color: #705321;
}

#mobile-nav .material-symbols-outlined:hover {
    cursor: pointer;
}

#mobile-dropdown {
    background-color: #BFC9A9;
    padding: 20px;
    border-top: 1px solid #37280d;
}

    #mobile-dropdown ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        list-style: none;
        margin: 0;
    }

#hamburger {
    border: none;
    background-color: transparent;
}

main {
    background-color: #F7EFE2;
    display: flex;
    justify-content: center;
}

#background {
    background-color: #37280D;
}

.stage-filled {
    background-color: #0b9541;
}

.loading-bar img {
    max-height: 15px;
}

footer {
    background-color: #BFC9A9;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:#705321;
}

    #footer-left {
        width: 300px;
        margin-left: 100px;
    }

    #footer-right {
        width: 300px;
        margin-right: 100px;
    }

.stage1 {
    border: 1px solid #37280D;
    padding: 2px;
    width: 50%;
    border-right: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.stage2 {
    border: 1px solid #37280D;
    border-left: none;
    border-right: none;
    width: 20%;
}
.stage3 {
    border: 1px solid #37280D;
    border-left: none;
    border-right: none;
    width: 20%;
}

.stage4 {
    border: 1px solid #37280D;
    border-left: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    width: 10%;
}

form input::placeholder, form textarea::placeholder {
    font-size: .9rem;
}

textarea {
    height: 150px;
}

input {
    height: 25px;   
    border-radius: 2px;
    border: none;
    padding-left: 3px;
}

#email {
    margin-bottom: 20px;
}

#subject {
    margin-bottom: 20px;
}

button[type='submit'] {
    margin-top: 25px;
    height: 30px;
    background-color: #37280D;
    color: white;
    border: none;
    width: 200px;
}

button:hover {
    cursor: pointer;
    background-color:black;
}

@media (min-width: 320px) and (max-width: 480px){
  header {
        font-size: 1.2rem;
    }

    #mobile-nav {
        display: flex;
    }

    #nav {
        display: none;
    }

    #logo-container {
        margin-left: 20px;
        width: 100px;
    }

    #mobile-nav .material-symbols-outlined {
        margin-right: 20px;
    }

    footer {
        flex-direction: column;
        font-size: 1.2rem;
        height: fit-content;
        gap: 10px;
        padding: 25px;
        text-align: center;
    }

    #footer-left {
        margin-left: 0;
        width: fit-content;
    }

    #footer-right {
        margin-right: 0;
        width: fit-content;
    }
}

@media (min-width: 481px) and (max-width: 595px){
    header {
        font-size: 1.2rem;
    }

    #mobile-nav {
        display: flex;
    }

    #nav {
        display: none;
    }

    #logo-container {
        margin-left: 20px;
        width: 100px;
    }

    #mobile-nav .material-symbols-outlined {
        margin-right: 20px;
    }

    footer {
        flex-direction: column;
        font-size: 1.2rem;
        height: fit-content;
        gap: 10px;
        padding: 25px;
    }

    #footer-left {
        margin-left: 20px;
        width: fit-content;
    }

    #footer-right {
        margin-right: 20px;
        width: fit-content;
    }
}

@media (min-width: 596px) and (max-width: 768px){
    #mobile-nav {
        display: flex;
    }

    #nav {
        display: none;
    }

    #logo-container {
        margin-left: 20px;
        width: 100px;
    }

    #mobile-nav .material-symbols-outlined {
        margin-right: 20px;
    }

    #footer-left {
        margin-left: 20px;
        width: fit-content;
    }

    #footer-right {
        margin-right: 20px;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
     #mobile-dropdown{
        display: none;
    }

    #logo-container {
        width: 100px;
        margin-left:40px;
    }

    #header-right {
        margin-right: 40px;
    }

    #nav > ul {
        gap: 10px;
    }

    #footer-right, #footer-left {
        width: fit-content;
    }
}

@media (min-width: 1025px) and (max-width: 1220px) {
    #mobile-dropdown{
        display: none;
    }

    #logo-container {
        width: 100px;
        margin-left:40px;
    }

    #header-right {
        margin-right: 40px;
    }

    #nav > ul {
        gap: 20px;
    }
}

@media (min-width: 1221px){
    #mobile-dropdown{
        display: none;
    }
}