@font-face {
    font-family: 'ARCO';
    src: url('assets/font/ARCO.ttf') format('truetype');
}

html, body {
    height: 100%;
    background-color: #000;
}

body {
    margin: 0;
    padding: 0;
    background: url('assets/img/menu2.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'ARCO', sans-serif;
    min-height: 100%;
    padding-top: 60px;
    position: relative;
    display: block;
    overflow: hidden;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #162f29;
    padding: 10px 30px;
    border-bottom: 2px solid #65d6a9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navbar-left img {
    height: 40px;
}

.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-menu a {
    color: #65d6a9;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.navbar-menu a:hover {
    color: #fff;
}

.menu-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.btn {
    padding: 8px 20px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    font-family: 'ARCO', sans-serif;
    border-radius: 6px;
    transition: 0.3s;
}


.btn-logout {
    background: #111;
    color: #f44;
    border: 1px solid #f44;
}

.btn-login {
    background: #65d6a9;
    color: #000;
    border: 1px solid #000;
}

.btn-login:hover {
    background: #fff;
    color: #000;
}

.btn-logout:hover {
    background: #f44;
    color: #fff;
}

.btn-profile {
    background: #65d6a9;
    color: #000;
    border: 1px solid #65d6a9;
    font-weight: bold;
}

.menu-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
}

.menu-areas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menu-area {
    position: absolute;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent;
    font-weight: bold;
    text-decoration: none;
}

.fill-form {
    top: 350px;
    left: 0px;
    width: 300px;
    height: 250px;
}

.check-status {
    top: 300px;
    left: 700px;
    width: 250px;
    height: 170px;
}

.leaderboard {
    top: 530px;
    left: 710px;
    width: 300px;
    height: 120px;
}

.menu-toggle {
    display: none; 
    background: none;
    border: none;
    color: #65d6a9;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 200px;
    background: #0d1e1c;
    border: 1px solid #146356;
    border-top: none;
    z-index: 1001;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 0 8px;
}

.mobile-menu a {
    padding: 15px 20px;
    text-decoration: none;
    color: #65d6a9;
    font-size: 14px;
    border-bottom: 1px solid #162f29;
    transition: background 0.3s;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: #146356;
    color: #fff;
}

@media (max-width: 768px) {
    body {
        background: url('assets/img/menu3.png') no-repeat center center fixed;
        background-size: contain;
        flex-direction: column;
        overflow: hidden;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .menu-toggle {
        display: block; 
        margin-right: 10px;
        margin-left: 0;
    }

    .mobile-menu.active {
        display: flex;
    }
    
    .menu-container {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-height: 100%; 
        margin: 0 auto;
    }

    .fill-form {
        top: 55%;
        left: 5%;
        width: 30%;
        height: 15%;
    }

    .check-status {
        top: 48%; 
        left: 70%; 
        width: 25%;
        height: 15%;
    }
    
    .leaderboard {
        top: 63%; 
        left: 70%; 
        width: 25%;
        height: 7%;
    }

    .navbar {
        padding: 30px 20px;
    }

    .navbar-left img {
        height: 45px;
    }
}

@media (min-width: 769px) {
    .navbar-menu {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
}
