/* General styles */
body {
    font-family: 'Roboto Mono', monospace;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 100px;
    color: #0d1b2a;
    background-color: #FAF9F6;
    text-align: left;
    min-height: 100vh;
  }
  .main {
    margin: 0 auto; /* Centers the text section horizontally */
    max-width: 900px; /* Limits the width of the text section */
    word-wrap: break-word; /* Prevents text overflow */
    overflow-wrap: break-word; /* Ensures word breaks for longer words */
    font-size: 16px; /* Adjust font size as needed */
    line-height: 1.5; /* Adds spacing between lines */
    padding: 20px; /* Adds some padding for better aesthetics */
}

/* divider style */
hr.rounded {
    border-top: 3px solid #0d1b2a;
    border-radius: 5px;
  }
/* Header styles */
header {
    background: #ee5e5e;
    color: #FAF9F6;
    padding: 1.25rem 2rem;
    border-radius: 15px;
    max-width: 1000px;
    margin: 2rem auto;
    border: 5px solid #0d1b2a;
    box-shadow: 4px 4px #0d1b2a;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1, h2 {
    margin: 0;
    font-family: 'Lexend Deca', serif;
    font-weight: 700;
}

.header-right {
    display: none;
}

/* Navigation styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #ee5e5e;
    border-left: 5px solid #0d1b2a;
    box-shadow: -4px 0 20px rgba(13, 27, 42, 0.3);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav.show {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 2rem 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav li {
    width: 100%;
}

.mobile-nav a {
    color: #FAF9F6;
    text-decoration: none;
    padding: 1rem 1.25rem;
    border: 3px solid #0d1b2a;
    border-radius: 10px;
    box-shadow: 6px 6px 0 0 #23243b;
    background-color: #ee5e5e;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    color: #FAF9F6;
    background-color: #1b263b;
    transform: translate(1px, 1px);
    box-shadow: 6px 6px 0 0 #23243b;
}

.nav-divider {
    height: 2px;
    background: #0d1b2a;
    margin: 0.5rem 0;
    border: none;
}

/* Desktop navigation */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    
    .menu-overlay {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    
    .main-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .main-nav li {
        width: auto;
    }
    
    .main-nav a {
        color: #FAF9F6;
        text-decoration: none;
        padding: 0.6rem 1.1rem;
        border: 3px solid #0d1b2a;
        border-radius: 10px;
        box-shadow: 3px 3px #0d1b2a;
        background-color: #ee5e5e;
        transition: all 0.2s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        min-width: 100px;
    }
    
    .main-nav a:hover {
        color: #FAF9F6;
        background-color: #1b263b;
        transform: translate(1px, 1px);
        box-shadow: 2px 2px #0d1b2a;
    }
    
    .nav-divider {
        display: none;
    }
    
    .header-right .msdos-link {
        padding: 0.6rem 1.1rem;
        min-width: 100px;
    }
}

.msdos-link {
    font-family: 'IBM Plex Mono', monospace;
    text-decoration: none;
    color: #39ff14;
    background-color: #0b0f0c;
    border: 3px solid #39ff14;
    padding: 1rem 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 6px 6px 0 0 #23243b;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.msdos-link .msdos-subtitle {
    font-size: 0.45rem;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.msdos-link .msdos-title {
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

.msdos-link:hover,
.msdos-link:active {
    color: #0b0f0c;
    background-color: #39ff14;
    transform: translate(1px, 1px);
    box-shadow: 6px 6px 0 0 #23243b;
}

.header-right .msdos-link {
    min-width: 100px;
}

.msdos-tooltip {
    position: relative;
}

.msdos-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background-color: #0b0f0c;
    color: #39ff14;
    border: 2px solid #39ff14;
    padding: 0.4rem 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
    z-index: 10;
}

.msdos-tooltip:hover::after,
.msdos-tooltip:focus-visible::after {
    opacity: 1;
}

/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* Hamburger menu */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #FAF9F6;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hamburger:hover span {
    background-color: #0d1b2a;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

a{
    text-decoration: none; /* Removes underline from links */
    color: #ee5e5e; /* Offwhite color */
}
a:hover {
    color: #0d1b2a; /* Changes color on hover */
}

.resume-container {
    border: 1px solid #0d1b2a; /* Adds a subtle border */
    border-radius: 5px; /* Rounds the edges */
    overflow: hidden; /* Ensures no overflow from iframe */
    margin: 20px 0; /* Adds some spacing around the resume */
}


.social-link {
    list-style: none; /* Removes default list styling */
    text-decoration: none; /* Removes underline */
    color: #0d1b2a; /* Text color */
    padding: 15px 20px; /* Padding for a button-like look */
    border-radius: 10px; /* Rounded edges */
    align-items: center; /* Aligns items vertically */
    align-content: center; /* Aligns items horizontally */
    font-size: 18px; /* Adjusts text size */
    max-width: fit-content; /* Adjusts width to fit content */
    margin: 0.75rem auto; /* Centers the buttons horizontally */
    display: block; /* Displays links as block elements */
    font-weight: bold; /* Makes the text bold */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: #ee5e5e; /* Changes background color on hover */
    color: #FAF9F6;
    border-color: #0d1b2a;
}
/* Section styles */
section {
    padding: 2rem;
    margin: 1rem;
    }

section h2 {
    text-align: center;
    font-family: 'Lexend Deca', serif;
    font-weight: 700;
}

.currently-working {
    margin-top: 2rem;
}

.currently-working h3 {
    margin-bottom: 1rem;
}

.currently-working ul {
    padding-left: 1.5rem;
}
  
footer {
    text-align: center;
    padding: 1.5rem;
    background: #FAF9F6;
    color: #0d1b2a;
    margin-top: 3rem;
}


/* Lexend Deca Bold Class */
.lexend-deca-bold {
    font-family: "Lexend Deca", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/* Responsive embed */
.responsive-embed {
    width: 100%;
    height: 800px;
}

@media (max-width: 768px) {
    .responsive-embed {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .responsive-embed {
        height: 300px;
    }
}

/* Mobile and tablet styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 50px;
    }
    
    header {
        margin: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .mobile-nav {
        width: 280px;
    }
    
    .main {
        padding: 15px;
        font-size: 15px;
    }
    
    section {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .social-link {
        width: 100%;
        max-width: 400px;
        padding: 18px 25px;
        font-size: 20px;
    }
    
    footer {
        margin-top: 2rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    header {
        margin: 0.75rem;
        padding: 1rem;
    }
    
    header h1 {
        font-size: 1.25rem;
    }
    
    .mobile-nav {
        width: 260px;
    }
    
    .mobile-nav a {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .mobile-nav ul {
        padding: 1.5rem 1rem;
    }
    
    .msdos-link {
        padding: 0.85rem 1rem;
    }
    
    .msdos-link .msdos-subtitle {
        font-size: 0.4rem;
    }
    
    .msdos-link .msdos-title {
        font-size: 0.65rem;
    }
    
    .main {
        padding: 12px;
        font-size: 14px;
    }
    
    section {
        padding: 1rem;
        margin: 0.25rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .social-link {
        padding: 16px 20px;
        font-size: 18px;
    }
    
    .hamburger span {
        width: 24px;
        height: 2.5px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}