body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

@font-face { font-family: "MyCustomFont"; src: url("../Title.otf"); }

@font-face { font-family: "MyCustomFontText"; src: url("../subTitle.otf"); }

section {
    height: 80vh;
    width: 100vw;
    position: relative;
    z-index: 1;
}

.section1 { background-color: #2d2525; }
.section2 { background-color: #5b4b49; }
.section3 { background-color: #c6b6a9; }
.section4 { background-color: #2d2525; }
.section5 { background-color: #5b4b49; }
.section6 { background-color: #c6b6a9; }
.section7 { background-color: #2d2525; }
.section8 { background-color: #5b4b49; }

.section-text {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 40%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-align: left;
    pointer-events: none;
}

#PageTitle{
    font-size: 8.5vw;
}

.section-text h1 {
    font-size: 5vw;
    margin-bottom: 0.5em;
    font-family: 'MyCustomFontText', sans-serif;
    font-weight: 300;
}

.section-text p {
    font-size: 2vw;
    line-height: 1.4;
    font-weight: 100;
    font-family: 'Playfair Display', serif;
}

#matter-canvas, #number-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#matter-canvas {
    z-index: 10;
}

#number-canvas {
    z-index: 20;
}


.custom-shape-divider-top-1720113032 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 75px;
}

.custom-shape-divider-top-1720113032 .shape-fill {
    fill: #C6B6A9;
}


.info-container {
    background-color: #5b4b49;
    text-align: center;
    padding: 40px;
    color: white;
}

.info-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    font-family: 'MyCustomFontText', sans-serif;
    
}

.info-container p {
    font-size: 1.2em;
    margin: 20px 0;
}

.info-container button {
    background-color: #c6b6a9;
    color: #2d2525;
    border: none;
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
    margin: 20px;
    font-family: 'MyCustomFontText', sans-serif;
}

.info-container button:hover {
    background-color: #2d2525;
    color: #c6b6a9;
}

.project-button {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.5em;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
    pointer-events: auto;
}

.mint-button {
    background-color: #937a77;
    color: #ffffff;
    border: 4px solid #4c3f3d;
    border-radius: 15px;
}

.mint-button:hover {
    background-color: #f5efdd;
    color: #2d2525;
}

.fuse-button {
    background-color: #6d5a58;
    color: #e8dab9;
    border: 2px solid #c6b6a9;
}

.fuse-button:hover {
    background-color: #e8dab9;
    color: #6d5a58;
}

.mrb-button {
    background-color: #382e2e;
    color: #ffffff;
    border-radius: 0px;
}

.mrb-button:hover {
    background-color: #ffffff;
    color: #382e2e;
}

.alpha-button {
    background-color: #937a77;
    color: #2d2525;
    border-radius: 50px;
}

.alpha-button:hover {
    background-color: #2d2525;
    color: #937a77;
}

.game-button {
    background-color: #4c3f3d;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.game-button:hover {
    background-color: #2d2525;
    color: #4c3f3d;
    border: 2px solid #4c3f3d;
}

.frame-button {
    background-color: #3b2d2c;
    color: #c6b6a9;
    border-radius: 10px;
    border: 1px solid #c6b6a9;
}

.frame-button:hover {
    background-color: #c6b6a9;
    color: #3b2d2c;
    border: 1px solid #3b2d2c;
}

.back-to-top {
    width: 100vw;
    height: 8vh;
    background-color: #ab0808;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    bottom: 5vh; /* Adjust this to position it correctly above the footer */
    z-index: 100;
    transition: background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.back-to-top:hover {
    background-color: #C6B6A9;
    color: #2d2525;
    font-weight: bold;
}

.back-to-top p {
    margin: 0;
    font-size: 2em;
    font-family: 'MyCustomFontText', sans-serif;
}

.menu-container {
    display: flex;
    justify-content: center;
}

.menu-icon {
    position: absolute;
    top: 20px; /* Adjust as needed */
    width: 24px; /* Adjust width as needed */
    height: 24px; /* Adjust height as needed */
    fill: #2d2525; /* Adjust fill color */
    cursor: pointer; /* Add pointer cursor for interaction */
    z-index: 100;
}


/* Add this to your existing CSS */

/* Initially position the overlay off the top of the viewport */
.overlay {
    position: fixed;
    top: -110vh;  /* Ensure it is hidden initially */
    left: 0;
    width: 100vw;
    height: 100vh;  /* Make sure it covers the viewport height */
    background-color: #C6B6A9;
    transition: top 1s ease-in-out;
    z-index: 1000; /* Ensure the overlay is on top */
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 25vh;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin: 1em 0;
}

.nav-list li a {
    text-decoration: none;
    color: #2d2525;
    font-size: 4.5vw;
    font-family: 'MyCustomFontText', sans-serif;
}

.nav-list li a:hover {
    color: #ffffff;
}

/* Style to show the overlay */
#overlay.show {
    top: 0;
}


/* Ensure the top shape divider is always visible */
.custom-shape-divider-top-1720113032 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* Add this to your existing CSS */
.no-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}



