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

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

.error-msg {
    color: #970000;
}

.hidden {
    display: none;
}

.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;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.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;
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.linkedin {
    max-height: 15px;
}

header {
    background-color: #BFC9A9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    border-top: 1px solid #F7EFE2;
}

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

    #logo {
        max-height: 30px;
    }

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

    a {
        text-decoration: none;
        color:#82622A;
    }

    a:hover {
        text-decoration: underline;
    }

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

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

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

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

        #github {
            height: 20px;
            color: #82622A;
        }

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

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

#main-container {
    margin-left: 80px;
    margin-right: 80px;
    padding-bottom: 25px;
    background-color: #F7EFE2;
    max-width: 1024px;
    display: grid;
    grid-template-columns: 55% 1fr;
    grid-template-areas:
        "work skills"
        "work education";
    gap: 25px;
}

#hero {
    display: flex;
    gap: 50px;
    background-color: #F8FFEA;
    margin-left: 80px;
    margin-right: 80px;
    max-width: 1024px;
}

#hero-content {
    max-width: 55%;
}

#work, #contact  {
    border-radius: 2px;
    background-color: #a49986;
}

#skills, #education, #projects {
    border-radius: 2px;
    background-color: #BFC9A9;
}

#education {
    background-color: #F8FFEA;
}

#work {
    margin-top: 25px;
    margin-left: 25px;
    grid-area: work;
}

#skills {
    margin-top: 25px;
    margin-right: 25px;
    grid-area: skills;
}

#stage1 {
    border: 1px solid #37280D;
    padding: 4px;
    width: 33%;
    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: 33%;
}
#stage3 {
    border: 1px solid #37280D;
    border-left: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    width: 33%;
}

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

.loading-bar {
    margin-bottom: 15px;
}

    .loading-bar .flex {
        margin-bottom: 2px;
    }

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

#projects {
    margin-left: 25px;
}

#projects img {
    height: 50px;
    width:100px;
}

#contact {
    margin-right: 25px;
}

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 {
    margin-top: 25px;
    height: 30px;
    background-color: #37280D;
    color: white;
    border: none;
    width: 200px;
}

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

#education {
    margin-right: 25px;
    grid-area: education;
}

h1{
    font-size: 2rem;
}

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

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

h4 {
    font-size: 1.2rem;
}

hr {
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 20px;
    max-width: 500px;
    color: #a49986;
}

section {
    padding: 40px;
}

    section ul {
        margin-left: 30px;
    }

.work-history-entry {
    margin-bottom: 20px;
}

.work-history-header {
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.work-history-company {
    font-size: 1.1rem;
    font-weight: 600;
}

.work-history-role {
    font-weight: 600;
    margin-bottom: 30px;
}

.work-history-date {
    font-weight: 600;
}

.work-history-tech {
    font-weight: 600;
    margin-top: 30px;
}

footer {
    background-color: #BFC9A9;
    height: 60px;
    border-top: 1px solid #F7EFE2;
}


@media (max-width: 480px) {
    body {
        max-width: 480px;
    }

    #main-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    .work-history-header {
        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
    }

    .work-history-role {
        font-style: normal;
        font-weight: 100;
    }

    .work-history-date {
        font-style: italic;
        font-weight: 400;
    }
}

@media (max-width: 768px) {

}

@media (max-width: 1024px) {

}