body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #0F0D0F;
    /* background-image: url('./assets/background.png'); */
    /* background-size: cover; */
    /* background-position: center; */
    position: relative;
    font-family: sans-serif;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
}


.content {
    position: relative;
}

#footer {
    position: fixed;
    padding: 5px;
    bottom: 0;
    height: 50px;
    color: #E8E8E8;
    font-size: 30px;
}

.text-block {
    color: #E8E8E8;
}

.half-text-block {
    color: #E8E8E8;
    width: 50%;
}

.center-text-block {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    color: #E8E8E8;
    text-align: left;
    max-width: 600px;
}
    
.image-block {
    padding-top: 10px;
    display: flex;
    justify-content: right;
    align-items: center;
    width: 50%;
    transform: translate(100%);
}

.center-image-block {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.half-image-block {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    transform: translate(10%)
}

.full-width-header {
    position: relative;
    width: 100%;
    height: 20vh;
    display: block;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: 3em;
    color: white;
    text-align: center;
}

.header-sub-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 15vh;
    max-width: 100%;
    object-fit: contain;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    background-color: black;
    border: #FF0083 5px solid;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #FF0083;
    scale: 0.95;
    margin-left: 5%;
    margin-right: 5%;
    max-width: fit-content + 10px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background-color: black;
    border: #FF0083 5px solid;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #FF0083;
    scale: 0.95;
    margin-left: 5%;
    margin-right: 5%;
    padding: 10px;
    max-width: fit-content;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.button-container {
    flex: 1;
    padding: 5px;
    position: relative;
}

.button-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #E8E8E8;
    font-size: 1.5em;
    text-align: center;
}

.button-header {
    text-align: center;
    color: #E8E8E8;
    font-size: 2em;
    padding-bottom: 0px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    background-color: #0F0D0F;
    margin: 0 auto;
    padding: 20px;
    border: 5px solid #FF0083;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #FF0083;
    width: 50%;
    color: #E8E8E8;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.modal-text {
    line-height: 1.3;
}

.modal-button {
    display: inline-block;
    color: #E8E8E8;
    background-color: #0F0D0F;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #E8E8E8;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-action-button {
    display: inline-block;
    color: #E8E8E8;
    background-color: #0F0D0F;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #FF0083 ;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-button:hover {
    background-color: #E8E8E85d;
}

.modal-action-button:hover {
    background-color: #FF00835d;
    box-shadow: 0px 0px 10px #FF0083;
}

nav {
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 1;
    transition: background 0.3s;
}

#navbar-container.navbar-opaque nav,
#navbar-container.navbar-opaque {
    background: #0F0D0F !important;
    transition: background 0.3s;
}

nav.navbar-opaque {
    background: #0F0D0F;
    transition: background 0.3s;
}

nav a {
    float: right;
    color: #E8E8E8;
    text-align: center;
    padding: 14px 20px 20px;
    text-decoration: none;
    font-size: 17px;
    transition: background-color 0.3s ease, text-underline-offset 0.1s ease;
    text-underline-offset: 20px;
}

nav img {
    float: left;
    height: 40px;
    border-radius: 100%;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: underline;
    text-underline-offset: 7px;
}

nav .left {
    float: left;
    padding: 7px;
}

.video-center {
    display: flex;
    justify-content: right;
    align-items: center;
}

@media (max-width: 768px) {
    .text-block {
        width: 90%;
        margin-left: 5%;  
    }

    .half-text-block {
        width: 90%;
    }

    .center-text-block {
        position: relative;
        top: 100%;
        left: 5%;
        text-align: left;
        max-width: 90%;
        transform: translate(0%);
    }

    .image-block {
        padding-top: 10px;
        display: flex;
        justify-content: left;
        align-self: center;
        width: 90%;
        transform: translate(5%);
    }

    .half-image-block {
        padding-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        transform: translate(7%)
    }

    .header-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 10vw;
        color: white;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100vw;
    }

    .flex-container {
        flex-direction: column;
        align-items: center;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    .button-container {
        padding: 10px;
    }

    .video-center {
        flex-direction: column;
        align-items: center;
    }

    .video-block iframe {
        width: 100%;
        height: auto;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        align-items: flex-end;
        padding: 10px;
        right: 0;
        position: fixed;
        z-index: 1001;
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 4px 0;
    }

    .drawer {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding-top: 60px;
        z-index: 1000;
    }

    .drawer a {
        padding: 10px 20px;
        text-align: left;
    }

    .drawer {
        display: none;
    }

    .bottom-buttons {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 5px;
    }

    #footer {
        position: relative;
        bottom: 0;
        height: 50px;
        font-size: 30px;
    }
}