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

/* Full height and width */
html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    background-color: #1E1E1E;
}

/* Navigation bar styling */
nav {
    background: rgba(0, 0, 0, 1);
    padding: 0px 0px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Rules container */
.rules-container {
    padding-top: 90px; /* Ensure content is not hidden behind the navbar */
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    color: #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rules-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.rules-container ul {
    list-style-type: none;
    padding: 0;
}

.rules-container ul li {
    background: #181818;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.menu-toggle {
    padding: 5px 10px 5px 10px;
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}   

nav ul {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

nav ul li {
    flex: 1;
}

nav ul li a {
    display: block;
    text-decoration: none;
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
    transition: background-color 0.2s, height 0.2s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Background image container */
.background-image {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/btk_lobby.png') no-repeat center center fixed; 
    background-size: cover;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px; /* Adjust based on nav height to ensure content is not hidden */
}

/* Content styling */
.content {
    margin: 50px auto;
    padding-top: 60px;
    text-align: center;
    color: white;
}

.content h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.content p {
    font-size: 20px;
}

/* Response styling */
.response {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
}

.response.success {
    background-color: #28a745;
    color: white;
}

.response.error {
    background-color: #dc3545;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
	
    nav ul {
        display: none;
        position: relative;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        width: 100%;
        line-height: 50px; /* Adjust for mobile */
    }

    nav ul.active {
        display: flex;
        height: auto;
        top: 0px;
    }
	
	.application-form-container {
		max-width: 100vw;
		width: 100%;
		height: 100%;
	}
	
	.application-form-container input[type="text"],
	.application-form-container input[type="number"],
	.application-form-container select,
	.application-form-container textarea{
		width: 100%;
		padding: 8px;
		margin-bottom: 10px;
		border: none;
		border-radius: 5px;
		font-size: 14px;
	}
}
