
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color:blanchedalmond;
}

.navbar {
    position: sticky;
    top: 0;
    background-color: rgb(145, 93, 30);
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    
}


.navbar:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    color: #cbd5e0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color:rgb(92, 53, 4);
    color: #fff;
    transform: translateY(-2px);
}

.active {
    background-color:rgb(71, 43, 9);
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.cta-button {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: rgb(204, 148, 45);
    color: rgb(114, 77, 8);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.home {
    text-align: center;
    padding: 3rem 0;
    font-weight: 700;
    color:rgb(177, 142, 96);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
  margin: 2rem 0; 
}


/* Forms */
.form-container {
    max-width: 400px;
    margin: 2rem auto;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color:rgb(177, 142, 96);
}

input[type="text"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #a98c3b;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.button {
    width: 20%;
    position:relative;
    top:20px;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #a98c3b;
    color: rgb(177, 142, 96);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.button:hover {
    background-color:rgb(242, 228, 207);
    transform: translateY(-2px);

}



/* words */
h1 {

    color:rgb(204, 139, 59);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}
p {
    margin-top: 10px;
    color: rgb(145, 93, 30);
    text-align: center;
}
a {
    color: rgb(145, 93, 30);
    font-weight: 600;
}





/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
        justify-content: center;
    }

    .nav-link {
        padding: 0.4rem 0.6rem;
    }

    .nav-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .container {
        padding: 1rem;
    }


    .button-group {
        flex-direction: column;
    }

    .form-container {
        max-width: 100%;
    }

    .highscore-table {
        font-size: 0.9rem;
    }

    .highscore-table th,
    .highscore-table td {
        padding: 0.75rem 0.5rem;
    }
}