* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-moz-selection { /* Code for Firefox */
    color: yellow;
    background: blue;
}

::selection {
    color: yellow;
    background: blue;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    height: auto;
    scrollbar-width: auto ;
    scrollbar-color: #00D4FF transparent;  
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #fcf1c7;
}

a {
    color: #00D4FF; 
    text-decoration: none;
}

a:hover {
    color: #00D4FF; 
    text-decoration: underline;
}

a:visited {
    color: #00D4FF;
}

a.current-page {
    font-style: italic;
}


.title-container {
    position: fixed;
    width: 100%;
    height: 100px;
    background-color: #fcf1c7;
    /* border-top: 1px solid #00D4FF; */
    border-bottom: 1px solid #00D4FF;
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center; /* Center the title horizontally */
    align-items: center;     /* Center items vertically */
}

.title {
    flex: 1;
    text-align: center;
}

.title h1 {
    font-family: RocGroteskRegular;
    font-size: 3rem;
    color: #00D4FF;
}

.title h1 a:hover {
    text-decoration: none;
}


.navigation-mobile {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 600px; /* optional, keeps it from getting too wide */
    z-index: 900;
    background-color: #fcf1c7;
    border: 1px solid #00D4FF;
    overflow: hidden;

    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.navigation-mobile.active {
    max-height: calc(100vh - 4rem); 
    opacity: 1;
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 6px 6px -4px #00D4FF, inset 0 6px 6px -4px #00D4FF;
}

.navigation-mobile li {
    font-family: RocGroteskRegular;
    font-size: 2rem;
    text-align: center;
    list-style: none;
    padding: 1.5rem 0;
}

.navigation-mobile li a {
    text-decoration: none;
}

.navigation-mobile li a:hover {
    text-decoration: underline;
}

/* Hamburger animation */
.hamburger-menu {
    display: block;
    position: fixed;
    top: 25px;
    right: 29px;
    z-index: 1000;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #00D4FF;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


.content-container {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: column;
    z-index: 100;
}

.sidebar {
    position: fixed;
    max-width: 20%;
    padding: 9.375rem 0 0 3rem;
}

.side-menu {
    border: 1px solid #00D4FF;
    padding: 1rem;
    width: auto;
    box-shadow: 5px 5px 6px -4px #00D4FF;
}

.side-menu li {
    font-family: RocGroteskRegular;
    list-style: none;
    line-height: 2rem;
}

.side-menu a, a:visited {
    color:#00D4FF;
    text-decoration: none;
}

.side-menu a:hover {
    text-decoration: underline;
}

.content {
    margin-left: 250px; /* Match sidebar width */
    padding: 150px 15% 5rem 3rem;
    flex: 1;
}

.content h1, h2, h3 {
    padding-bottom: 1.5rem;
    font-family: RocGroteskRegular;
}

.content h1 {
    font-size: 2.2rem;
    line-height: 2.2rem;
    letter-spacing: 2px;
}

.content h2 {
    font-size: 2rem;
    line-height: 2rem; 
    letter-spacing: 2px;
}

.content h3 {
    font-size: 1.5rem;
    line-height: 1.5rem; 
    letter-spacing: 1.5px;
}

.content h1, h2, h3, p {
    color: #00D4FF;
}

.content hr {
    width: 50%;
    height: 1px;
    background-color:#00D4FF;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.content p {
    /* padding-bottom: 1rem; */
    font-family: RocGroteskRegular;
    font-size: 1.2rem;
    line-height: 1.8rem;
    text-align: left;
}

figure {
    padding-bottom: 2.5rem;
}

figure img {
    max-width: 60%;
    height: auto;
    border: 1px solid #00D4FF;
    object-fit: contain;
}

.block-type-text {
    padding-bottom: 3rem;
}


/* FONTS */
@font-face {
    font-family: 'ForevsDemoBoldItalic';
    src: url('/assets/fonts/ForevsDemoBoldItalic.otf');
}

@font-face {
    font-family: 'RodinProN-DB';
    src: url('/assets/fonts/RodinProN-DB.otf');
}

@font-face {
    font-family: 'RocGroteskRegular';
    src: url('/assets/fonts/RocGroteskRegular.otf');
}


/* Section Container */
.block-type-section {
    padding-bottom: 3rem;
}

.content-section {
    /* background: #f8f9fa;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 3rem; */
    border: 1px solid #00D4FF;
    padding: 2rem 2rem 2rem 2rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Section Header */
.section-header {
    text-align: left;
    /* margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6; */
}

.page-about .section-blocks .section-block:first-child.block-text {
    margin-top: -1rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #00D4FF;
    margin: 0;
}

/* Section Blocks Container */
.section-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual blocks within section */
.section-block {
    /* background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    background-color: #fcf1c7;
}

.section-block:last-child {
    margin-bottom: 0;
}

/* Block type specific styling */
.block-heading h1,
.block-heading h2, 
.block-heading h3 {
    margin-top: 0;
    color: #00D4FF;
}

.block-heading h2 {
    padding-bottom: 0;
}

.block-text {
    line-height: 1.6;
}

.block-image img {
    max-width: 60%;
    height: auto;
}

.section-block figure {
    padding-bottom: 0 !important;
}

.block-accordion {
    display: none;
}

@media (min-width: 950px) {
    .hamburger-menu {
        display: none;
    }
}


/* Responsive */
@media (max-width: 949px) {
    .title-container {
        height: 5rem;
        padding: 0 1rem;
        justify-content: space-between; 
    }

    .title {
        flex: none;
        text-align: left;
        padding-top: 0.3rem;
    }

    .title h1 {
        font-size: 3rem;
        margin: 0;
    }
    
    .hamburger-menu {
        display: block;
    }

    .sidebar {
        display: none;
    }

    .side-menu {
        display: none;
        position: absolute;
        top: 5rem; /* below the title-container */
        right: 1rem;
        background-color: #fcf1c7;
        border: 1px solid #00D4FF;
        padding: 1rem;
    }

    .side-menu.open {
        display: block;
    }

    .content {
        margin-left: 0;
        padding: 8rem 2rem 5rem 2rem;
    }

    .content h2 {
        font-size: 1.7rem;
    }

    .content-section {
        padding: 1rem;
    }

    .section-block {
        padding: 0;
    }



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


@media (max-width: 768px) {
    .title h1 {
        font-size: 1.5rem;
        margin: 0;
    }
}