/* Body styling */
body {
    background-color: #4e8656;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/*Entire Website in here */
.website{
    width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/*Navigation Bar */
.navBar {
    position: relative;
    width: 100%;
    height: 40px;
    border-radius: 10px 10px 0 0;
    background-color: gray;
    display: flex;           /* Use flexbox for layout */
}

/* Style the links inside the navigation bar */
.navBar a {
    flex: 1;                 /* Each link gets equal width */
    color: #f2f2f2;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px 0;         /* Vertical padding only */
    text-align: center;      /* Center text */
    display: block;          /* Make the whole area clickable */
    transition: background-color 0.3s; /* Smooth transition for hover */
}

/* Change the color of links on hover */
 .navBar a:hover {
    background-color: #ddd;
    color: black;
}

/* Game container */
.gameContainer {
    position: relative;
    width: 100%;
    min-height: 560px; /* Changed from fixed height */
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
    background: radial-gradient(circle, #6eaf78, #315436);
    padding: 40px 60px; /* Added padding for content spacing */
    text-align: left; /* Align text to left */
    box-sizing: border-box;
}

/* Content styling */
.gameContainer h1 {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.gameContainer h2 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.gameContainer p {
    color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.gameContainer ul {
    color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 20px;
}

.gameContainer li {
    margin-bottom: 8px;
}

/* Legal Hub Layout */
.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.community-rules-section {
    margin-bottom: 40px;
}

.community-rules-section h2 {
    margin-top: 0;
    font-size: 28px;
    border-bottom: none;
    margin-bottom: 15px;
}

.community-rules-section p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Legal Boxes Container */
.legal-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* Individual Legal Box */
.legal-box {
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.legal-box h3 {
    color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.legal-box p {
    color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: radial-gradient(circle,#417e4b, #0c4b15);
    color: white;
}

.btn-primary:hover {
    background: #3c6944;
}

.btn-secondary {
    background: radial-gradient(circle,#417e4b, #0c4b15);
    color: white;
}

.btn-secondary:hover {
    background: #3c6944;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .legal-boxes {
        grid-template-columns: 1fr;
    }

    .legal-box {
        margin-bottom: 20px;
    }
}

