body {
    overflow: hidden;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
    background: linear-gradient(135deg, #a8c0ff, #3f2b96);
    font-family: Arial, sans-serif;
    user-select: none; /* Disable text selection */
}

.header {
    text-align: center;
    position: relative; /* Ensure position relative for child elements */
}

.text-box h1 {
    color: #d3d3d3;
    font-size: 3vw; /* Adjust size as needed */
}

.text-box1 {
    color: #d3d3d3;
    font-size: 1.5vw; /* Adjust size as needed */
    margin: 0.5rem 0;
}

.creator {
    color: lightgrey;
    font-size: 1.5vw; /* Adjust size as needed */
    position: relative; /* Ensure position relative for stacking context */
    z-index: 1; /* Position below ampere102 */
}

.breadmages-link {
    color: inherit;
}

.breadmages-link:hover {
    color: darkgrey;
}

.mute-button {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Ensure the button is above all content */
}

.mute-button:hover {
    background-color: #d3d3d3;
    transform: scale(1.05);
}

.mute-button i {
    margin-right: 0.5rem;
}

/* Click to enter overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4vw; /* Adjust size as needed */
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Subnav adjustments */
.mid-nav-links {
    margin-top: 2rem; /* Adds space above the subnav */
    font-size: 1.5vw; /* Adjust size as needed */
    position: relative; /* Ensure position relative for stacking context */
    z-index: 2; /* Ensure it's above the creator text but below ampere102 */
}

.mid-nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mid-nav-links li {
    display: inline;
    margin-right: 1rem;
}

.mid-nav-links a {
    text-decoration: none;
    color: #d3d3d3;
}

.mid-nav-links a:hover {
    color: darkgrey;
}

/* Adjusting position of ampere102 to ensure it stays above subnav */
.ampearFR {
    font-size: 2vw; /* Adjust size as needed */
    position: relative; /* Ensure position relative for stacking context */
    z-index: 3; /* Ensure it is above everything else */

    width: 90%;
    color: #444;
    position: absolute;
    top: 90%;
    left: 5%;
    transition: translate(50%,50%);
    text-align: center;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .text-box h1 {
        font-size: 5vw; /* Larger text for smaller screens */
    }

    .text-box1 {
        font-size: 3vw;
    }

    .creator {
        font-size: 2.5vw;
    }

    .mute-button {
        bottom: 1rem;
        left: 1rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .overlay {
        font-size: 6vw; /* Larger text for overlay */
    }
}

@media (max-width: 480px) {
    .text-box h1 {
        font-size: 6vw; /* Even larger text for phones */
    }

    .text-box1 {
        font-size: 4vw;
    }

    .creator {
        font-size: 3.5vw;
    }

    .mute-button {
        bottom: 1rem;
        left: 1rem;
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .overlay {
        font-size: 8vw; /* Maximize overlay size on phones */
    }
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(120deg, rgba(30,30,30,1) 0%, rgba(20,20,20,1) 100%),url(files/images/);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    color: #444;
}
nav img{
    width: 150%;
}
.nav-links{
    flex: 1;
    text-align: center;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #444;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #444;
    display: block;
    margin: auto;
    transition: 700ms;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 90%;
    color: #444;
    position: absolute;
    top: 45%;
    left: 5%;
    transition: translate(50%,50%);
    text-align: center;
}
.text-box1{
    width: 90%;
    color: #444;
    position: absolute;
    top: 53%;
    left: 5%;
    transition: translate(50%,50%);
    text-align: center;
}
mid-nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    color: #444;
}
mid-nav img{
    width: 150%;
}
.mid-nav-links{
    flex: 1;
    text-align: center;
    width: 90%;
    color: #444;
    position: absolute;
    top: 55%;
    left: 5%;
}
.mid-nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.mid-nav-links ul li a{
    color: #444;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #444;
    display: block;
    margin: auto;
    transition: 700ms;
}
.nav-links ul li:hover::after{
    width: 0%;
}
.text-box2{
    width: 90%;
    color: #444;
    position: absolute;
    top: 56%;
    left: 0%;
    transition: translate(50%,50%);
    text-align: center;
}
.text-box3{
    width: 90%;
    color: #444;
    position: absolute;
    top: 56%;
    left: 5%;
    transition: translate(50%,50%);
    text-align: center;
}
.text-box4{
    width: 90%;
    color: #444;
    position: absolute;
    top: 56%;
    left: 10%;
    transition: translate(50%,50%);
    text-align: center;
}

.creator{
    width: 90%;
    color: #444;
    position: absolute;
    top: 95%;
    left: 5%;
    transition: translate(50%,50%);
    text-align: center;
}
.text-box h1{
    font-size: 60px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #444;
}