* {
    font-family: "Courier Prime", monospace;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #4A342A;
}
.lily-script-one-regular {
    font-family: "Lily Script One", system-ui;
    font-weight: 400;
    font-style: normal;
}
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal;
}
.pixelify-sans-bold {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.pixelify-sans-regular {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
#project_page h1,
#project_page h2,
#project_page h3 {
    font-family: var(--title-font);
    font-weight: var(--title-weight);
}
.bold {
    font-weight: bold;
}
.padding {
    padding: 7vh 8vw;
}
.text_center {
    text-align: center;
}
.normal_fs {
    font-size: clamp(1rem, 1.40vw, 2.50rem);
}

body {
    background-color: #FAF9F6;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    background-color: #E6DAC8;
    justify-content: space-around;
    padding: 6vh 20vw 3vh 20vw;
    font-weight: bold;
    border-bottom: 3px solid #7D5A44;
}
nav a {
    text-decoration: none;
    font-size: 1.20rem;
}
nav p {
    font-size: 1.40rem;
}
#open-nav {
    display: none;
    background-color: transparent;
    border: solid 2px #7D5A44;
    border-radius: 6px;
    margin-left: auto;
    padding: 0.25rem;
}
#close-nav {
    display: none;
    background-color: transparent;
    border: none;
    margin-left: auto;
}
.nav-background {
    background-color: #E6DAC8;
}

#overlay {
    position: fixed;
    inset: 0;
    background-color: #4A342A;
    opacity: 50%;
    z-index: 9;
    display: none;
    transition: background-color 300ms ease-out;
}
nav.show ~ #overlay {
    display: block;
}

#welcome {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    padding: 6vh 8vw;
    font-size: clamp(1rem, 1.40vw, 2.50rem);
}
#welcome img {
    width: 13%;
}
#welcome div {
    display: flex;
    flex-direction: column;
    gap: 0.60rem;
}

.light_link {
    font-weight: bold;
    font-style: italic;
    color: #7D5A44;
}
.light_link:hover {
    color: #B48160;
}

#currentProject {
    display: flex;
    flex-direction: column;
    background-color: #E6DAC8;
    padding: 4vh 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.20rem;
    gap: 1rem;
}

#posts {
    padding: 6vh 8vw;
}
#lists {
    display: flex;
    flex-direction: row;
}
.see_all {
    display: block;
    width: max-content;
    margin: 2rem auto;
}
#latest_column {
    width: 60%;
    margin-right: 2vw;
}
#project_column {
    width: 40%;
}
.hidden {
    display: none;
}
.box_link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.entry_box {
    background-color: #E6DAC8;
    padding: 2vh 1vw;
    margin-top: 1rem;
    border-radius: 0.55rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}
.entry_box img {
    width: 40%;
    height: 9rem;
    object-fit: cover;
    border-radius: 0.25rem;
}
.entry_text {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 0.50rem;
}
.project_box {
    background-color: #E6DAC8;
    padding: 2vh 1vw;
    margin-top: 1rem;
    border-radius: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
}
.project_box img {
    height: 12rem;
    object-fit: cover;
    border-radius: 0.25rem;
}
#selectPosts {
    display: none;
}

#projectList {
    margin: 1rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
#projectList .project_box {
    width: 49%;
    padding: 3vh 2vw;
}
#projectList .project_box img {
    height: fit-content;
    border-radius: 0.25rem;
}

input[type="search"] {
    color: #4A342A;
    margin: 1rem 0;
    padding: 0.55rem 0.65rem;
    background-color: #E6DAC8;
    width: 100%;
    border-radius: 0.45rem;
    border: 1px solid #7D5A44;
}
input[type="search"]:focus {
    outline-color: #7D5A44;
}
input[type="search"]::placeholder {
    color: #7D5A44;
}
select {
    color: #7D5A44;
    padding: 0.40rem 0.35rem;
    background-color: #E6DAC8;
    border-radius: 0.45rem;
    border: 1px solid #7D5A44;
}
select:focus {
    outline-color: #4A342A;
}
#entriesList {
    margin: 3rem 0;
}
#entriesList .entry_text {
    width: 70%;
}
#entriesList .entry_box img{
    width: 22%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    grid-template-areas:
    "box-2 box-1 box-1"
    "box-2 box-3 box-3"
    "box-2 box-4 box-4";
}
.grid-container img {
    width: 100%;
}
#skills {
    margin: 4rem 0;
}
#skills h2 {
    margin: 2rem 0;
}
.skills-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.skills-list img {
    width: clamp(5rem, 12%, 20rem);
}

.about_text {
    text-align: justify;
    text-indent: 2rem;
    font-size: clamp(1rem, 1.40vw, 2.50rem);
    padding-right: 5vw;
}

.post_content {
    margin-top: 7vh;
}
.post_content img {
    width: 35%;
    height: 15rem;
    object-fit: cover;
    border-radius: 0.25rem;
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}
.post_content p {
    text-align: justify;
    text-indent: 2rem;
    font-size: clamp(1rem, 1.40vw, 2.50rem);
    margin-bottom: 2rem;
}
.post_date {
    font-size: clamp(0.80rem, 1.20vw, 2.20rem);
}

#project_page h1, #project_page h2, #project_page h3 {
    text-align: center;
}
#project_page h2 {
    margin-bottom: 0.80rem;
}
#project_page p {
    text-align: justify;
    text-indent: 2rem;
    font-size: clamp(1rem, 1.40vw, 2.50rem);
    margin-bottom: 0.80rem;
}
.divider {
    width: 100%;
    border-top: 2px solid #7D5A44;
    margin: 0.50rem 0;
}
.project_header {
    width: 100%;
}
.usb_authors {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.usb_authors ul {
    text-align: center;
    font-size: clamp(1rem, 1.40vw, 2.50rem);
    list-style-position: inside;
}
.usb_authors ul li {
    margin-bottom: 0.80rem;
}
.authors {
    display: flex;
    flex-direction: column;
}
.author_links {
    margin-bottom: 0.80rem;
}
.author_links a i{
    font-size: 1.5rem;
    transition: 0.3s;
}
.author_links a:hover i {
    color: #B48160;
}
.author_links div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}
#logo_div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
#logo_div div {
    flex-basis: 70%;
}
#logo_div img {
    flex-basis: 25%;
    width: 25%;
}
#cp_div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
#cp_div img {
    flex-basis: 40%;
    width: 40%;
}
#cp_div div {
    flex-basis: 60%;
}
.project_preview {
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 80%;
    height: 80vh;
}

.videos {
    width: 560px;
    height: 315px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2rem;
}

@media only screen and (max-width: 1000px) {
    .grid-container {
        gap: 0.55rem;
        grid-template-areas:
    "box-1 box-1 box-1"
    "box-2 box-3 box-3"
    "box-2 box-4 box-4";
    }
}
@media only screen and (max-width: 836px) {
    #logo {
        display: none;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        flex-direction: column;
        justify-content: start;
        padding: 2vh 3vw;
        border-left: 3px solid #7D5A44;
        transition: right 300ms ease-out;
    }
    nav.show {
        right: 0;
    }
    nav a {
        padding: 1rem 0;
    }
    #open-nav {
        display: block;
    }
    #close-nav {
        display: block;
    }
    .nav-background {
        padding: 0.45rem;
    }
    .grid-container {
        gap: 0.45rem;
        grid-template-areas:
    "box-1 box-1 box-1"
    "box-2 box-3 box-3"
    "box-4 box-4 box-4";
    }
    .skills-list {
        justify-content: center;
        gap: 3vw;
    }
    .usb_authors {
        display: flex;
        flex-direction: column;
    }
    .authors {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 1rem;
        justify-content: center;
    }
    #logo_div {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    #logo_div div {
        flex-basis: 100%;
    }
    #logo_div img {
        flex-basis: 100%;
        width: 50%;
    }
    #cp_div {
        flex-direction: column;
        gap: 1rem;
    }
    #cp_div img {
        flex-basis: 100%;
        width: 100%;
    }
    #cp_div div {
        flex-basis: 100%;
    }
}
@media only screen and (max-width: 576px) {
    #plant2 {
        display: none;
    }
    #welcome {
        text-align: right;
        padding: 6vh 6vw;
    }
    #welcome img {
        width: 36%;
    }

    #selectPosts {
        display: block;
        font-size: 1.75rem;
        background-color: transparent;
        border: none;
        padding: 0;
        color: #4A342A;
        font-weight: bold;
    }
    #selectPosts:focus {
        outline: none;
    }
    #latest_column, #project_column {
        width: 100%;
    }
    #latest_column h1, #project_column h1 {
        display: none;
    }
    #lists {
        display: block;
    }
    .entry_box {
        padding: 2vh 4vw;
    }
    .entry_box img {
        display: none;
    }
    .entry_text {
        width: 100%;
    }
    .entry_paragraph {
        font-size: 1.05rem;
    }
    .project_box {
        padding: 2vh 4vw;
    }
    .project_box img {
        height: 10rem;
    }

    #projectList {
        flex-direction: column;
    }
    #projectList .project_box {
        width: 100%;
        padding: 2vh 4vw;
        gap: 2vh;
    }
    #projectList .project_box img {
        height: 10rem;
    }

    #entriesList .entry_text {
        width: 100%;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
    }
    .top_text {
        padding: 0;
        margin: 0;
    }

    .skills-list {
        gap: 6vw;
    }

    .post_content img {
        width: 100%;
        height: 12rem;
        border-radius: 0.55rem;
    }
    .videos {
        width: 90%;
        height: 50vh;
    }
}