
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
}

#section1 {
    background-image: url(img/disguise_ROE.jpg);
    background-size: cover;
}

#section2 {
    background-image: url(img/o2_disguise.jpg);
    background-size: cover;
}

#section3 {
    background-image: url(img/o2_studio.jpg);
    background-size: cover;
}

#section4 {
    background-image: url(img/o2.jpg);
    background-size: cover;
}
#section5 {
    background-image: url(img/disguise_ROE.jpg);
    background-size: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay h1 {
    color: white;
    font-size: 3em;
    font-weight: bold;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    display: flex;
    justify-content: space-between;
    padding-top: 1.875rem; /* 30px / 16 = 1.875rem */
    padding-right: 0;
    background-color: transparent;
    z-index: 1000;
}

.logo img {
    height: 3.75rem; /* 60px / 16 = 3.75rem */
    padding-left: 3.125rem; /* 50px / 16 = 3.125rem */
}

.menu {
    display: flex;
    gap: 1.875rem; /* 30px / 16 = 1.875rem */
}

.menu-item {
    text-decoration: none;
    color: white;
    position: relative;
    transition: color 0.3s ease-in-out;
    text-align: middle;

}

.menu-item::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0.125rem; /* 2px / 16 = 0.125rem */
    bottom: 2.5rem; /* 40px / 16 = 2.5rem */
    left: 50%;
    background-color: white;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.menu-item:hover {
    color: #ccc;
}

.menu-item:hover::before {
    width: 100%;
}

.active {
    color: #ccc;
}

.active::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger .line {
    width: 2rem;
    height: 0.25rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

@media screen and (max-width: 1080px) {
    .navbar .menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

@media screen and (max-width: 1080px) {
    .navbar .menu {
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
        gap: 3rem;
    }

    .menu-item {
        font-size: 2rem;
        width: 100%;
        text-align: center;
    }

    .menu-item::before {
        display: none;
    }

    .menu-item:hover {
        color: #ccc;
    }
}

.loader-wrap, .loader {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.loader-wrap {
 background-color:#cc99ff;
background-image:
radial-gradient(at 55% 51%, hsla(308,89%,66%,1) 0px, transparent 50%),
radial-gradient(at 29% 41%, hsla(243,90%,72%,1) 0px, transparent 50%),
radial-gradient(at 52% 90%, hsla(280,74%,72%,1) 0px, transparent 50%),
radial-gradient(at 19% 38%, hsla(318,81%,71%,1) 0px, transparent 50%),
radial-gradient(at 18% 35%, hsla(262,63%,77%,1) 0px, transparent 50%),
radial-gradient(at 95% 77%, hsla(266,100%,64%,1) 0px, transparent 50%),
radial-gradient(at 32% 1%, hsla(0,32%,15%,1) 0px, transparent 50%);
    z-index: 30;
}

.loader-wrap.remove {
    display: none;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 40% 60%;
    height: 100%;
}

.text-container {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(211, 211, 211, 0);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}


.title {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    margin-bottom: 20px;
    margin-left: 13vh;
    
}


.subtitle {
    grid-column: 1;
    grid-row: 2;
    background-color: transparent;
    color: white;
    align-self: start;
    justify-self: start;
    margin-left: 13vh;
   
}


h1.title {
    font-size: 3vw;  /* this will set the font size to be 3% of the viewport's width */
}

h3.subtitle {
    font-size: 1.1vw;  /* this will set the font size to be 2% of the viewport's width */
}


#section2 .image-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px; /* Adjust this value as needed */
    justify-content: center; /* Center the logos horizontally */
    align-items: center; /* Center the logos vertically */
    width: 70%;
}



.partner-logo img {
    margin: 0; /* Remove the margin */
    padding: 0; /* Remove the padding */
    width: 100%; 
    max-width: 200px; 
    height: auto;
}



#section3 .image-placeholder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items on the line (not needed if items take up all available space) */
    align-content: center; /* Centers lines within container (not needed if lines take up all available space) */

}

#section3 .image-placeholder img {
    width: calc(35% - 10px); /* Subtracting half of total gap size to account for gaps */
    height: 390px;
    width: 480px; /* To keep aspect ratio of images */
    margin: 10px; /* Half of total gap size to create 10px gap between images */
    object-fit: cover; /* This will ensure images cover the entire area */
}

#section4 .image-placeholder img {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;

    margin: auto;
    width: 500px;
    height: 500px;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-30%);
   
}

.image-placeholder {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    background-color: rgb(219, 62, 62, 0.0);
    background-size: cover;
    background-position: center;
    width: 90%;
    height: 70%;
    align-self: center;
    justify-self: center;
    
}



.form-container {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    background-color: rgba(211, 211, 211, 0.4);
    background-size: cover;
    background-position: center;
    width: 60%;
    height: 60%;
    align-self: center;
    justify-self: center;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 80%;
    align-self: center;
    justify-self: center;
}

form label {
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-field {
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
}

.submit-button {
    border: none;
    border-radius: 5px;
    background-color: rgba(216, 216, 216, 0.8);
    color: black;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 50%;
    align-self: center;
}

.submit-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}


.no-scroll {
    pointer-events: auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* for 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        grid-template-rows: 30% 30% 30%;
    }

    h1.title {
        font-size: 5vw;
          /* this will set the font size to be 3% of the viewport's width */
        padding: 30px;
        margin-top: 200px;
        }
    
    h3.subtitle {
        font-size: 3vw;  /* this will set the font size to be 2% of the viewport's width */
        padding: 30px;
       
    }

    .title {
        grid-row: 1;
    }

    .subtitle {
        grid-row: 2;
    }

    .image-placeholder {
        grid-row: 3;
        grid-column: 1;
        width: 60%;
        height: 60%;
    }
#section3 .image-placeholder {
        display: none;
}

    #section1 .grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 90vh;
    }

    #section4 .image-placeholder img {
        width: 300px; /* Adjust as needed */
        height: 300px; /* Adjust as needed */
    }
    
    #section4 .image-placeholder {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    






    #section5 h1.title, #section5 h3.subtitle {
        display: none;
    }

    #section5 .grid {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80vh;
    }

    #section5 .form-container {
        width: 80%;
        height: 95%;
        margin-top: 200px;
    }
}



/* Medium devices (tablets, less than 992px) */
@media only screen and (min-width: 576px) and (max-width: 992px) {
    .column {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    body {
        font-size: 1.5em;
        line-height: 1.6;
    }
}

