.glow-text {
    color: whitesmoke;
    animation: pulseGlow 1s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 10px whitesmoke;
    }

    50% {
        text-shadow: 0 0 20px rgb(211, 221, 224);
    }

    100% {
        text-shadow: 0 0 10px whitesmoke;
    }
}


/* styles.css */
html {
    overflow-y: scroll;
    /* Forces scrollbar rendering instantly */
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;

    z-index: 0;
    /*Temp change from --------------------------------0*/
    /* Keeps video behind the content */
}

/* Header Styling */
.overlay nav ul li a:hover, .footer nav ul li a:hover {
    color: #87CEEB;
    /* Changes color on hover */
    text-shadow: 1px 1px 2px whitesmoke;
    /* Adds a subtle shadow on hover */
}

.overlay h4 {
    /* padding-left: 20px; */
    font-family: 'Arial', sans-serif;
    color: whitesmoke;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.5em;
    z-index: 2;
    position: relative;
    text-shadow: 1px 1px 2px #87CEEB;
}

.overlay h2, .innerForm h2 {
    text-align: center;
}

.overlay h2, .innerForm h2,
.overlay h3 {
    font-family: 'Arial', sans-serif;
    color: whitesmoke;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.5em;
    z-index: 3;
    position: relative;
    text-shadow: 1px 1px 2px #87CEEB;
}

.innerForm h2 {
    color: #000;
}

.overlay h3 {
    padding: 0 50px;
    height: 4vh;
}

.start {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    z-index: 2;
    position: relative;
}

.start>a {
    text-decoration: none;
    color: #333;
    background-color: #87CEEB;
    padding: 20px 60px;
    border-radius: 10px;
    font-size: 1.5em;
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s ease;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); */
}

.start>a:hover {
    letter-spacing: 1px;
}

/* Scrollbar Base */
::-webkit-scrollbar {
    width: 12px;
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
    background: black;
}

/* Scrollbar Thumb (Lightning Effect) */
::-webkit-scrollbar-thumb {
    background: whitesmoke;
    border-radius: 15px;
}

/* Scrollbar Corner */
::-webkit-scrollbar-corner {
    background: black;
    /* Matches the track */
}

/* Footer Styling */
.footer {
    width: 100vw;
    height: 200px;
    color: whitesmoke;
    align-items: center;
    font-family: 'Arial', sans-serif;
    z-index: 2;
    position: relative;
    background-color: black;
}

.footer>nav {
    width: 100vw;
    height: 50px;
}

.contactSection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100px;
    position: relative;
    z-index: 2;
}

/* .contactSection > .logo {
    grid-column: 1;
    height: 50px;
    width: 50px;
    margin: 0px;
    display: flex;
    margin: auto;
}

.contactSection > #contact {
    grid-column: 2;
    color: whitesmoke;
    z-index: 3;
    position: relative;
    text-shadow: 1px 1px 2px #87CEEB;
    width: 100vw;
    height: 50px;
    text-align: center;
    margin-top: 0px
} */

/* .contactSection>a,
.contactSection>a>.logo {
    grid-column: 1;
    height: 100px;
    width: 100px;
    margin: 0 auto;

} */

/* .contactSection>#contact {
    grid-column: 2;
    margin: 0px;
    color: whitesmoke;
    z-index: 2;
    position: relative;
    text-shadow: 1px 1px 2px #87CEEB;
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
} */

#contact:hover {
    color: #87CEEB;
    text-shadow: 1px 1px 2px whitesmoke;
}

#copyright {
    padding: 0px;
    margin: 0px;
    color: whitesmoke;
    z-index: 2;
    position: relative;
    text-shadow: 1px 1px 2px #87CEEB;
    text-align: center;
    width: 100vw;
    height: 50px;
    line-height: 50px;
}

.overlay header {
    display: flex;
    flex-direction: column;
    /* Stack h1 and nav vertically */
    align-items: center;
    /* Center both elements */
    text-align: center;
}

.overlay nav, .footer nav{
    margin-top: 10px;
    /* Adds space between h1 and nav */
}

.overlay h1 {
    margin-bottom: 10px;
    /* Optional, adds space below h1 */
}

.logo {
    width: 100px;
    height: 100px;
    margin: 10px;
    margin-top: 30px;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.0);
}

.overlay header>h1 {
    text-align: center;
    border-radius: 20px 20px 0 0;
    font-family: 'Arial', sans-serif;
    color: whitesmoke;
    font-weight: bold;
    font-size: 2.5em;
    z-index: 2;
    position: relative;
    text-shadow: 2px 2px 4px #87CEEB;
}

@media screen and (min-width: 445px) {
    .overlay header {
        display: flex;
        flex-direction: column;
        /* Stack h1 and nav vertically */
        align-items: center;
        /* Center both elements */
        text-align: center;
    }

    .overlay nav, .footer nav {
        margin-top: 10px;
        /* Adds space between h1 and nav */
    }

    .overlay h1 {
        margin-bottom: 10px;
        /* Optional, adds space below h1 */
    }

    .logo {
        height: 9vh;
        position: relative;
        z-index: 10;
    }

    .overlay h1,
    .overlay nav, .footer nav {
        margin-left: auto;
        margin-right: auto;
        height: 8vh;
        z-index: 10;
    }

    #menu-toggle {
        display: none !important;
    }

    .overlay nav, .footer nav {
        grid-column: 3;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -80px;
        margin-left: auto;
        margin-right: auto;
    }

    .current-page {
        color: rgb(191, 191, 191);
    }

    #nav-menu {
        margin-top: 140px;
        padding: space-between;
    }

    .overlay nav ul, .footer nav ul {
        margin-left: -40px;
    }

    .overlay h3 {
        margin-top: 110px;
    }

    .overlay nav ul, .footer nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        position: relative;
        list-style-type: none;
    }

    .overlay nav ul li a, .footer nav ul li a {
        text-decoration: none;
        font-family: 'Arial', sans-serif;
        color: whitesmoke;
        font-size: 1.2em;
        font-weight: bold;
        transition: color 0.3s ease;
        position: relative;
        padding: 0px 10px;
        text-align: center;
    }

    .footer .logo {
        display: none;
    }

    #contact {
        padding: 0px;
        margin-top: 50px;
        word-wrap: break-word;
        width: 100vw;
        text-align: center;
    }

}

@media screen and (min-width: 800px) {

    /* header>h1 {
            grid-column: 2;
            height: 5vh;
        }
    
        nav {
            grid-row: 2;
            grid-column: 1-3;
            height: 6vh;
            display: flex;
            align-items: center;
        } */

    .overlay header {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centers h1 and nav */
        text-align: center;
        height: 25vh;
        z-index: 2;
    }

    .logo {
        position: absolute;
        /* Keeps the logo in place */
        left: 20px;
        /* Adjust this value for positioning */
        top: 20px;
    }

    .overlay h1,
    .overlay nav, .footer nav {
        margin-left: auto;
        margin-right: auto;
        /* Ensures h1 and nav are centered */
    }

    #nav-menu {
        margin-top: 160px;
    }

    .footer .logo {
        display: block;
        width: 50vw;
        margin-top: -10px;
    }

    #contact {
        width: 50vw;
    }
}

@media screen and (min-width: 1200px) {
    .overlay header {
        display: grid;
        grid-template-columns: 1fr 4fr 3fr;
        height: 25vh;
        z-index: 2;
        position: relative;
    }

    .logo {
        grid-column: 1;
        width: 100px;
        height: 100px;
        margin: 20px;
        border-radius: 50%;
        box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.0);
    }

    .overlay header>h1 {
        grid-column: 2;
        text-align: center;
        border-radius: 20px 20px 0 0;
        font-weight: bold;
        font-size: 4em;
        z-index: 2;
        position: relative;
        text-shadow: 2px 2px 4px #87CEEB;
        margin-top: -70px;
    }

    #nav-menu {
        margin-top: 20px;
    }

    #nav-menu li a {
        padding-left: 22px;
        padding-right: 22px;
        width: 110%;
    }

    .overlay h3 {
        margin-top: 50px;
        height: 10vh;
    }

    .start {
        margin-bottom: -36px;
        height: 15vh;
    }

    .gallery-container {
        height: 50vh;
    }

    .footer {
        margin-top: 15px;
    }
}

@media (max-width: 444.999px) {
    #nav-menu {
        display: none;
        /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: whitesmoke;
        padding: 10px 0;
        z-index: 999;
    }

    #nav-menu.show {
        display: flex;
        /* Displayed when toggled */
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1000;
        position: absolute;
        left: 20px;
        top: 30px;

        /* Ensures it's above the nav menu */
    }

    .hamburger span {
        height: 4px;
        width: 100%;
        background: whitesmoke;
        border-radius: 2px;
        transition: all 0.4s ease;
        transform-origin: center;
    }

    /* .hamburger:hover span {
        background: #00fffb;
    } */

    /* Open/close animation */
    .hamburger.open span:nth-child(1) {
        transform: rotate(405deg) translateY(10px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-405deg) translateY(-10px);
    }

    #nav-menu {
        width: 160px;
        left: 0px;
        right: 0px;
        height: 100vh;
        position: fixed;
        margin-top: -60px;
        background-color: whitesmoke;
        box-shadow: inset 1px 1px 4px black;

    }

    #nav-menu :first-child {
        margin-top: 75px;
    }

    #nav-menu li {
        padding: 10px;
    }

    #nav-menu li a {
        font-size: 30px;
        text-decoration: none;
        text-decoration: none;
        font-family: 'Arial', sans-serif;
        color: black;
        font-size: 1.2em;
        font-weight: bold;
        transition: color 0.3s ease;
        position: relative;
        text-align: center;
        text-shadow: 1px 2px 2px #87CEEB;
    }

    .logo {
        height: 10vh !important;
        position: relative;
        z-index: 10;
    }

    .overlay h1 {
        height: 5vh !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .overlay h3 {
        padding-top: 100px;
        height: 12vh !important;
        text-align: center !important;
    }

    .start {
        height: 12vh !important;
    }

    .gallery-container {
        height: 30vh !important;
    }

    body::-webkit-scrollbar {
        display: none;
        /* Works for WebKit browsers (Chrome, Safari) */
    }



    /* When menu is open, change bar colors */
    .hamburger.open span {
        background: black;
    }

    /* Footer Styling */
    .footer {
        width: 100vw;
        height: 200px;
        color: whitesmoke;
        align-items: center;
        font-family: 'Arial', sans-serif;
        z-index: 2;
        position: relative;
        background-color: black;
    }

    .footer>nav {
        width: 100vw;
        height: 50px;
    }

    .footer nav {
        display: none;
    }

    .footer .logo {
        display: none;
    }

    .contactSection #contact {
        padding: 0px;
        margin-left: 0px;
        height: 100px;
        position: relative;
        z-index: 2;
        padding: 20px;
        word-wrap: break-word;
        width: 100%;
        color: whitesmoke;
        text-shadow: 1px 1px 2px #87CEEB;
        text-align: center;
    }

    .contactSection {
        padding-top: 20px;
        display: flex;
        align-content: center;
    }

    #copyright {
        padding-top: 20px;
    }

    .glow-bg {
        background-color: whitesmoke;
        animation: pulseGlowBg 1s infinite alternate;
    }

    @keyframes pulseGlowBg {
        0% {
            box-shadow: 0 0 10px rgb(170, 165, 165);
        }

        50% {
            box-shadow: 0 0 20px rgb(179, 186, 189);
        }

        100% {
            box-shadow: 0 0 10px rgb(170, 165, 165);
        }
    }
}