* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #000;
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(15px);
    font-family: 'Fredoka One';
    background-image: url('../Images/Background.png');
}

body::-webkit-scrollbar {
    display: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    transition: 0.3s;
}

.background-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.maintext {
    margin-top: 100 auto;
    margin-left: auto;
}

.button {
    display: flex;
    flex-grow: 0;
    margin-left: auto;
    column-gap: 10px;
    box-sizing: border-box;
}

.navbar {
    font-weight: bold;
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.logotext {
    margin-left: 10px;
}

.logo img {
    width: 100px;
    border-radius: 5px;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.toggle_btn {
    color: #fff;
    display: none;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 200%;
    position: fixed;
    right: 10;
}

.action_btn {
    background-color: #6191c7;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: .2s ease;
    display: block;
    margin-right: 15px;
}

.action_btn:hover {
    scale: 1.05;
    background-color: #44658b;
}

.action_btn:active {
    scale: 0.95;
}

.action_btn2 {
    background-color: #72e2ae;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: .2s ease;
    display: block;
}

.action_btn2:hover {
    scale: 1.05;
    background-color: #499974;
}

.action_btn2:active {
    scale: 0.95;
}

.navbar ul li a.underline:hover {
    color: #7fcaec;
}

.disabled {
    pointer-events: none;
    color: #7fcaec;
}

#news {
    color: #e4918b;
    transition: 0.3s;
}

#news:hover {
    color: #d16058;
}

/* Underline */

.navbar ul li a.underline {
    position: relative;
}

.navbar ul li a.underline:after {
    content: "";
    position: absolute;
    background-color: #fff;
    height: 3px;
    width: 0;
    left: 0;
    bottom: -5px;
    transition: .2s;
}

.navbar ul li a.underline:hover:after {
    width: 100%;
}

/* DropDown */

.dropdown_menu {
    margin-top: 15px;
    position: fixed;
    right: 1rem;
    top: 60px;
    max-height: 0;
    width: 300px;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: bold;
    z-index: 3;
}

.dropdown_menu.open {
    max-height: 350px
}

.dropdown_menu li {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
}

.dropdown_menu li a:hover {
    color: #7fcaec;
}

.dropdown_menu .action_btn {
    margin-top: -5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dropdown_menu .action_btn2 {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Socials */

.social-container {
    text-align: center;
    margin-top: 385px;
}

.social {
    width: 50px;
    display: inline-block;
    float: none;
    clear: none;
    transition: all .2s ease;
    margin: 0 5px;
}

.social:hover {
    transform: scale(1.2);
}

.social:active {
    transform: scale(0.9);
}

/* Copyright */

.copyright {
    color: white;
    font-weight: bold;
    text-align: center; /* Center the text */
    margin: 20px auto; /* Add top/bottom margin and auto for horizontal centering */
    width: 100%; /* Ensure it takes the full width */
}

/* Mobile Friendly */

@media (min-width: 993px) {
    .dropdown_menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .background-header {
        width: 105%;
    }

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .action_btn {
        margin: auto;
    }

    .navbar .action_btn2 {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }

    .action_btn:hover {
        scale: 1.01;
        background-color: #44658b;
    }
    
    .action_btn:active {
        scale: 0.99;
    }

    .action_btn2:hover {
        scale: 1.01;
        background-color: #499974;
    }
    
    .action_btn2:active {
        scale: 0.99;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 1rem;
        width: unset;
    }
}