body {
    background-color: #0f0f0f;
    margin: 0;
    padding-top: 6rem; /* Space for fixed navbar */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.dropdown {
    display: none;
}

/*-------------------------------------------NAVBAR STYLE-----------------------------------------------------------------------*/
.navbar {
    background-color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
    width: 100vw; /* Ensure the navbar spans the full width */
    position: fixed;
    top: 0;
    left: 0; /* Align to the left edge of the viewport */
    padding: 0 2rem; /* Increased padding for more space on the sides */
    box-sizing: border-box;
    z-index: 1000;
}

.navbar-logo {
    height: 6rem;
    width: 6rem;
    margin-right: 2rem; /* Space between logo and menu items */
    cursor: pointer; /* Show pointer cursor on hover */
}

.navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* Center the ul elements */
    margin: 0 auto; /* Center the ul container */
    padding: 0;
    flex: 1; /* Allow the ul to take up available space */
    gap: 1.5rem; /* Increased gap between navbar items */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 1.5rem;
    font-family: Helvetica;
    font-weight: bold;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensures the underline effect is contained */
}

.navbar a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 4px;
    width: 0%;
    background-color: blue;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.ContactButton {
    margin-left: auto; /* Pushes the button to the right edge */
    padding-left: 2rem; /* Padding for space on the left */
}

.ContactButton button {
    font-size: 1.2rem;
    padding: 15px 25px; /* Add padding for button appearance */
    background-color: rgb(0, 47, 255);
    color: white;
    font-family: Helvetica;
    font-weight: bold;
    border: none;
    border-radius: 2rem;
    cursor: pointer; /* Show pointer cursor on hover */
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

.ContactButton button:hover {
    transform: scale(1.05); /* Slightly enlarge the button on hover */
}
/*-------------------------------------------NAVBAR STYLE END-----------------------------------------------------------------------*/
.ContactContainer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns the form to the left */
    margin-top: -10rem;
}

.ContactLeft {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center; /* Align content to the start of the flex container */
    justify-content: center;
    margin-top: -10%;
}

.ContactTitle hr {
    border: none;
    width: 15rem;
    height: 0.5rem;
    border-radius: 10px;
    margin-top: -2.5rem;
    background-color: blue;
}

.contactInputs {
    width: 30rem;
    height: 3rem;
    font-family: Helvetica;
    font-size: 1.2rem;
    border-radius: 10px;
    color: white;
    background-color: transparent;
    font-weight: bolder;
    border: 2px solid #777777; /* Updated border color */
    padding: 0.5rem 1rem; /* Adds padding inside the input */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.contactInputs:hover {
    border-color: rgb(0, 38, 255); /* Blue border on hover */
}

.contactInputs:focus {
    border: 2px solid rgb(0, 38, 255); /* Updated border color */
    outline: none; /* Remove default outline */
}

.ContactTitle {
    font-family: Helvetica;
    font-weight: bolder;
    color: white;
    font-size: 2rem;
    margin-top: 10%;
}

.ContactLeft textarea {
    width: 30rem;
    height: 24rem;
    font-family: Helvetica;
    font-size: 1.2rem;
    border-radius: 10px;
    color: white;
    background-color: transparent;
    font-weight: bolder;
    resize: none;
    border: 2px solid #777777; /* Updated border color */
    padding: 1rem; /* Adds padding inside the textarea */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.ContactLeft textarea:hover {
    border-color: rgb(0, 38, 255); /* Blue border on hover */
}

.ContactLeft textarea:focus {
    border: 2px solid rgb(0, 38, 255); /* Updated border color */
    outline: none; /* Remove default outline */
}

input[type=submit] {
    padding: 1rem 6rem;
    border-radius: 10px;
    background-color: #0047ff;
    color: white;
    font-size: 2rem;
    font-weight: bolder;
    font-family: Helvetica;
    border-color: rgb(0, 38, 255); /* Blue border on hover */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    box-shadow: 0 0 10px rgba(0, 71, 255, 0.4); /* Subtle shadow effect */
    margin-bottom: 5rem;
}

input[type=submit]:hover {
    transform: scale(1.05); /* Slightly increase size on hover */
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6); /* More intense shadow on hover */
}

input[type=submit]:active {
    transform: scale(0.98); /* Slightly decrease size on click */
    box-shadow: 0 0 10px rgba(0, 71, 255, 0.4); /* Return to the original shadow on click */
}

/*------------------------------------------------------------BOTTOM NAVBAR-------------------------------------------------------------------------*/

/* Bottom Navbar Styles */
.bottom-navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    color: white;
    padding: 1rem 20px;
    position: relative;
}

.social-media {
    text-align: center;
    margin-bottom: 20px;
}

.social-media h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 15px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.instagram {
    background: url('InstaLogo.png') no-repeat center center;
    background-size: contain;
}

.youtube {
    background: url('YTLogo.png') no-repeat center center;
    background-size: contain;
}

.facebook {
    background: url('FBLogo.jpg') no-repeat center center;
    background-size: contain;
    border-radius: 8px;
}

.discord {
    background: url('DiscordLogo.png') no-repeat center center;
    background-size: contain;
    border-radius: 8px;
}

.footer-info {
    text-align: center;
}

.footer-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-info ul li {
    display: inline;
}

.footer-info ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.footer-info ul li a:hover {
    background-color: #303030;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bottom-navbar p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-logo2{
    display: none;
}

/* Hamburger Menu Button */
.dropdown-button {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    position: fixed;
}

/* Hamburger Icon */
.dropdown-button .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Active State for Hamburger Icon */
.dropdown-button.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.dropdown-button.active .bar:nth-child(2) {
    opacity: 0;
}

.dropdown-button.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: fixed;
    top: 0;
    left: -300px; /* Initially hidden off the screen */
    width: 250px; /* Set a width less than 100% */
    height: 100vh;
    background-color: #1a1a1a; /* Dark gray background */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.7); /* Stronger shadow */
    z-index: 999;
    transition: left 0.4s ease; /* Slide-in transition */
    padding-top: 6rem; /* Space for fixed navbar */
    box-sizing: border-box;
    color: white;
}

.dropdown.show {
    display: block;
    left: 0; /* Slide in to position */
}

.dropdown ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.dropdown ul li {
    margin: 1rem 0;
}

.dropdown ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #333; /* Subtle border */
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown ul li a:hover {
    background-color: #333; /* Darker on hover */
    padding-left: 1.5rem; /* Indent on hover */
}

/*------------------------------------------------------------BOTTOM NAVBAR END-------------------------------------------------------------------------*/

@media(max-width: 1024px){
    .navbar{
        height: 4rem;
    }

    .navbar a{
        font-size: 1rem;
    }

    .navbar-logo{
        height: 4rem; 
        width: 4rem;
    }

    .ContactButton button {
        font-size: 1rem;
        padding: 12px 20px; /* Add padding for button appearance */
        border-radius: 2rem;
    }
}

@media(max-width:768px){
    .contactInputs, .ContactLeft textarea{
        width: 20rem;
    }

    .ContactLeft textarea{
        height: 20rem;
    }

    h1{
        font-size: 3rem;
    }

    .ContactTitle hr {
        border: none;
        width: 10rem;
        height: 0.5rem;
        border-radius: 10px;
        margin-top: -2rem;
    }
}

/* Media query for screens 650px or narrower */
@media (max-width: 650px) {
    .navbar-logo2{
        display: block;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .navbar ul, .ContactButton, .navbar-logo{
        display: none;
    }

    .navbar{
        height: auto;
    }

    .footer-info  a {
        color: white;
        text-decoration: none;
        font-size: 0rem;
    }

    .dropdown-button {
        display: block; /* Show dropdown button */
    }

    .dropdown {
        display: block;
    }

    /* When the dropdown is active */
    .dropdown.active {
        left: 0; /* Slide in from the left */
    }

    .contactInputs{
        font-size: 1rem;
    }

    .ContactLeft textarea{
        font-size: 1rem;
    }
}

/* Media query for screens 650px or narrower */
@media (max-width: 475px) {
    .contactInputs {
        width: 15rem;
        height: 3rem;
        font-family: Helvetica;
        font-size: 1rem;
        border-radius: 10px;
    }

    .ContactLeft textarea{
        height: 15rem;
        width: 15rem;
    }

    input[type=submit] {
        padding: 0.8rem 5rem;
        border-radius: 10px;
        color: white;
        font-size: 1.5rem;
    }
}

/* Media query for screens 650px or narrower */
@media (max-width: 375px) {
    .contactInputs {
        width: 10rem;
        height: 3rem;
        font-family: Helvetica;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .ContactLeft textarea{
        height: 15rem;
        width: 10rem;
        font-size: 0.8rem;
    }

    input[type=submit] {
        padding: 0.6rem 3rem;
        border-radius: 10px;
        color: white;
        font-size: 1.5rem;
    }
}