/* html{
    height: 100%;
    background-color: #09060D;
    background: linear-gradient(rgba(9,6,13,1) 0%, rgba(9,6,13,1) 40%, rgba(32,18,38,1) 100%);
    color: #D9BFA9;
    cursor: default;
} */

html {
    height: 100%;
}

body {
    margin: 0; /* Remove default body margin */
    padding: 0; /* Remove default body padding */
    background: linear-gradient(rgba(9,6,13,1) 0vh, rgba(9,6,13,1) 40vh, rgb(25, 13, 29) 100vh);
    color: #D9BFA9;
    cursor: default;
    background-attachment: fixed;
}


p, ul {
    font-size: max(1.85vh, 14px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: normal;
    color: #D9BFA9;
}

h1 {
    font-size: 60px;
}

hr {
    border: 0;
    height: 4px;
    background-image: linear-gradient(to right, transparent, #201226, transparent);
}

ul {
    margin-left: 2em;
}

.desktop-nav {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    height: 50px;
    background-color:#201226;
}

.desktop-nav a {
    font-size: 20px;
    padding-left: 2em;
}

.desktop-nav a:visited {
    color: #BF9180;
}

.desktop-nav a:hover {
    color: #734D49;
}

.heading {
    text-transform: uppercase;
}

@media (min-width: 700px) {
    .desktop-nav > :first-child {
        width: calc((1 / 2) * (85% - 1rem));
        display: flex;
        align-items: center;
    }

    .desktop-nav > :last-child {
        width: calc((1 / 2) * (85% - 1rem));
        display: flex;
        justify-content: right;
        align-items: center;
    }
}

#intro {
    width: 100%;
    padding-bottom: 3.5em;
    padding-top: 3em;
    background-color: #201226;
}

#intro .title {
    padding: 0;
    margin: 0;
    font-size: 13em;
    color: #D9BFA9;
}

#intro .subtitle {
    padding: 0;
    margin: 0;
    font-size: 5em;
    color: #BF9180;
}

@media (max-width: 800px) {
    #intro .title {
        font-size: 90px;
    }

    #intro .subtitle {
        font-size: 40px;
    }
}

.project-columns {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.project-columns > * {
    width: 100%;
    padding: 1rem;
}

@media (min-width: 1000px) {
    .project-columns > :first-child {
        width: calc((1 / 5) * (85% - 1rem));
    }

    .project-columns > :nth-child(2) {
        width: calc((1 / 5) * (85% - 1rem));
    }

    .project-columns > :last-child {
        width: calc((3 / 5) * (85% - 1rem));
    }
}

.portfolio {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    padding-left: 1em;
    padding-right: 1em;
}

.portfolio-section {
    padding-left: 1em;
    padding-right: 1em;
    font-size: max(3lvh, 25px);
}

.portfolio h3 {
    font-size: max(1.5lvh, 16px);
    color:#BF9180;
}
  
.portfolio > * {
    width: 100%;
    padding: 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    width:100%;
    max-height: 500px;
}

.portfolio img {
    max-width: 100%;
    height: auto;
}
  
@media (min-width:1000px) {
    .portfolio > * {
        width:calc(85% / 3) !important;
    }
}

.project-img {
    width:100%;
    max-height: min(50vh, 500px);
    /* max-height: 500px; */
    overflow: auto;
}

.project-img img {
    max-width: 100%;
    height: auto;
}

.event-left {
    color: #D9BFA9;
    font-size: 1.25em;
    margin: 0;
}

.event-left > *{
    float: right;
}

.event-right {
    color: #D9BFA9;
    font-size: 1.15em;
    margin: 0;
}

.event-right > *{
    /* float: left; */
}

.event {
    display:flex;
    flex-wrap:nowrap;
    justify-content: flex-start;
}

.event > * {
    width: 100%;
    padding: 1rem;
}

@media (min-width: 300px) {
    .event > * {
        width: calc((2 / 3) * (85% - 1rem));
    }

    .event > :first-child {
        width: calc((1 / 3) * (85% - 1rem));
    }
}

button {
    width: 20vw;
    min-width: fit-content;
    padding: 0.5em;
    font-size: 2em;
    background-color: #2b1c31;
    color: #D9BFA9;
    border: 3px solid #734D49;
    cursor: pointer;
    border-radius: 2px;
}

button:hover {
    transition: all 0.25s linear;
    background-color: #09060D;
}
  

/* UTILITY */

.right-side-sep {
    border-style: none solid none none;
    border-width: medium;
    border-color: #BF9180;
    margin: 0;
}

.flex-container {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 100vw;
    min-height: 100vh;
}
  
footer {
    margin-top: auto;
    display: fixed;
    text-align: center;
    font-size: 0.95em;
}

a:link {
    text-decoration: none;
    color: #BF9180;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
}

a:hover {
    text-decoration: none;
    color: #734D49;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 450;
    font-style: normal;
}

a:visited {
    text-decoration: none;
    color: #BF9180;
}

/* Added because certain links won't change color on hover */
a[href="https://www.linkedin.com/in/rfetters"]:hover {
    color: #734D49;
}

a[href="https://walter-ozmore.dev"]:hover {
    color: #734D49;
}
 
.two-columns {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
}

.two-columns > * {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem;
}

@media (min-width:1400px) {
    .two-columns > * {
        width:calc(85% / 2);
    }
}

.three-columns {
    display:flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
}
  
.three-columns > * {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem;   
}
  
@media (min-width:1400px) {
    .three-columns > * {
        max-width:calc(85% / 3);
        width:fit-content;
    }
}

.border {
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border-bottom-right-radius: 225px 15px;
    border-bottom-left-radius:15px 255px;
}
  
.border.thick {
    border:solid 4px #734D49;
}
  
.border.thin {
    border:solid 2px #734D49;
}

.center {
    position: relative;
    margin: 5% auto;
    padding: 1em;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50vw;
    height: 50vh;
}

@media (min-width: 700px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 699px) {
    .desktop-only {
        display: none !important;
    }
}

/* FONTS */
.xanh-mono-regular {
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: normal;
}
.xanh-mono-regular-italic {
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: italic;
}
.lexend-normal {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 450;
  font-style: normal;
}
.lexend-light {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
}
.lexend-bold {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

/* Ensure both elements are displayed on the same line */
.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #201226;
    color: #BF9180;
}

.mobile-nav a {
    color: #BF9180;
    text-decoration: none;
    font-size: 16px;
}

.mobile-nav h2 {
    margin: 0;
    font-size: 28px; /* Adjust font size as needed */
}

.menu-toggle {
    display: flex;
    align-items: center; /* Align items vertically within the menu-toggle */
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #BF9180;
    margin: 4px 0;
    transition: transform 0.4s ease;
}

.menu-items {
    display: none;
    flex-direction: column;
    background-color: #201226;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 5em;
    z-index: 1000;
}

.menu-items.active {
    display: flex; /* Show menu items when active */
}

.menu-items a {
    font-size: 40px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 900;
}

.overlay.active {
    display: block; /* Show overlay when active */
}
