* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background-color: rgb(38, 48, 68);
    
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* Ensure the video is behind other content */
    transform: translate(-50%, -50%);
    background-size: cover;
}
.homepage {
    background-color: rgba(0, 0, 0, 0.379);
    height: 120vh;
    width: 100vw;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    position: relative;
    z-index: 1; /* Ensure navbar is above the video */
    pointer-events: all;
}

.logo img {
    top: 30px;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    padding: 10px;
    margin-top: 12px;
    margin-left: 10px;
}

.links {
    margin-top: 60px;
    margin-right: 10px;
}

.links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-right: 50px;
    font-size: 25px;
    font-variant: small-caps;
    text-shadow: 5px 2px 0px rgb(0, 0, 0);
    font-weight: 400;
    letter-spacing: 2px;
    transition: color 0.8s, background-color 0.8s; /* Add transition for smooth hover effect */
}

.links a:hover {
    color: rgb(0, 217, 255); /* Change text color on hover */
    background-color: rgba(35, 184, 8, 0.1); /* Add background color on hover */
    padding: 5px; /* Add some padding to make the hover effect more visible */
    border-radius: 5px; /* Add border-radius for rounded corners */
    
}

.content {
    height: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1; /* Ensure content is above the video */
}

.quotes {
    width: 700px;
    margin: 40px auto;
    text-align: center;
}

.content h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 40px;
    line-height: 57px;
    letter-spacing: 1px;
    color: rgb(255, 255, 255);
    text-shadow: 4px 4px rgb(0, 0, 0);
}

.highlight {
    color: rgb(0, 217, 255);
    font-weight: 100;
}

.countdown {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 30px;
    color: white;
    text-align: center;
    margin: 20px 0;
    text-shadow: 4px 4px rgb(0, 0, 0);
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: -60px;
}

button {
    height: 50px;
    width: 350px;
    background-color: transparent;
    border: 1px solid white;
    font-size: 21px;
    font-variant: small-caps;
    letter-spacing: 2px;
    color: rgb(250, 250, 250);
    transition-property: transform;
    animation: rotate 0.5s ease-in-out 1s infinite;
}

@keyframes rotate {
    0% {
        border-top: 2px solid rgb(0, 255, 251);
    }

    25% {
        border-right: 2px solid rgb(0, 251, 255);
    }

    75% {
        border-bottom: 2px solid rgb(0, 213, 255);
    }

    100% {
        border-left: 2px solid rgb(0, 251, 255);
    }
}

.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-link {
    color: white;
    text-decoration: none;
    transition: color 0.1s;
}

.btn:hover {
    background-color: white;
}

.btn:hover .btn-link {
    color: rgb(0, 0, 0);
}

.dept {
    font-size:50px;
    position: relative;
    bottom: 720px;
    left: 750px;
    color: white;
    font-variant: small-caps;
    font-family: 'Chakra Petch', sans-serif;
    letter-spacing: 2px;
    z-index: 1; /* Ensure dept text is above the video */
}

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

.mobile-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    text-align: center;
}

.mobile-links a {
    padding: 10px;
    border-bottom: 1px solid white;
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        padding: 15px;
        font-size: 18px;
        text-align: center;
    }

    .btn-link {
        font-size: 18px;
    }

    .highlight {
        color: rgb(0, 217, 255);
        font-weight: 100;
    }
}

@media screen and (max-width: 640px) {
    body {
        position: relative;
        height: 830px;
        overflow-y: hidden;
    }

    .content {
        height: 300px;
        width: 98%;
        margin-top: 120px;
        text-align: center;
    }

    .quotes {
        width: 90%;
        margin: 10px auto;
        text-align: left;
        justify-content: center;
    }

    .content h2 {
        font-family: 'Chakra Petch', sans-serif;
        font-size: 20px;
        text-align: justify;
        line-height: 40px;
        letter-spacing: 1px;
        color: rgb(255, 255, 255);
        text-shadow: 4px 4px rgb(0, 0, 0);
    }

    .heading {
        color: rgb(0, 217, 255);
        text-shadow: 4px 4px rgb(0, 0, 0);
    }

    .buttons {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-top: 30px;
    }

    button {
        height: 50px;
        width: 350px;
        margin: 20px 20px;
        background-color: transparent;
        border: 1px solid white;
        font-size: 21px;
        font-variant: small-caps;
        letter-spacing: 2px;
        color: white;
        transition-property: transform;
        animation: rotate 0.5s ease-in-out 1s infinite;
    }

    @keyframes rotate {
        0% {
            border-top: 2px solid rgb(0, 255, 251);
        }

        25% {
            border-right: 2px solid rgb(0, 251, 255);
        }

        75% {
            border-bottom: 2px solid rgb(0, 213, 255);
        }

        100% {
            border-left: 2px solid rgb(0, 251, 255);
        }
    }

    .highlight {
        color: rgb(0, 217, 255);
    }

    button:active {
        background-color: white;
        color: black;
    }

    .navbar {
        height: 80px;
        border-bottom: 2px solid rgb(255, 255, 255);
    }

    .logo img {
        height: 50px;
        width: 50px;
        border-radius: 50%;
        padding: 10px;
        margin-top: 12px;
        top: 30px;
    }

    .links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-links {
        display: flex;
    }

    .dept {
        font-size: x-large;
        position: absolute;
        top: 40px;
        left: 100px;
        color: #e7f8ff;
        font-variant: small-caps;
        font-family: 'Chakra Petch', sans-serif;
        letter-spacing: 1px;
    }
}
