html,
body {
    overflow: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #e3e1e1;
    max-height: 100vh;
    margin: 0;
    color: #333333;
    padding: 0;
}

header {
    display: flex;
    flex: 1;
    height: 60px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header h1 {
    flex-grow: 1;
    text-align: start;
    margin: 15px;
    color: #333333;
    font-size: 54px;
    font-weight: bold;
}

#options {
    margin-left: auto;
}

#options a {
    color: #333333;
    margin: 0 10px;
    text-decoration: none;
    font-size: larger;
    font-weight: bold;
}

#options a:hover {
    color: #45a049;
}

#home {
    display: none;
}

#home:target {
    display: flex;
    background-image: url('assets/images/home_section_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: end;
    flex-direction: column;
    justify-content: center;
    height: calc(90vh - 80px);
    padding: 20px 50px;
    padding-right: 0px;
    text-align: start;
}

#home_Section {
    width: 300px;
}

.home-content {
    max-width: 800px;
    text-align: start;
}

.home-content h1 {
    font-size: 50px;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.home-content p {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-box {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-box a {
    background-color: #FFD700;
    color: #003366;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid black;
    transition: background-color 0.3s ease;
}

.btn-box a:hover {
    background-color: #45a049;
    color: #FFFFFF;
}


/* Hide all login sections by default */

.LoginBox {
    display: none;
    background-color: #e1e2e3;
    margin: 50px auto;
    padding: 30px;
    padding-top: 0px;
    padding-right: 40px;
    border-radius: 8px;
    max-width: 400px;
}

.RegistrationBox {
    display: none;
    background-color: #e1e2e3;
    margin: 50px auto;
    padding: 30px;
    padding-top: 0px;
    padding-right: 40px;
    border-radius: 8px;
    max-width: 400px;
}

.registration-form {
    align-items: center;
    height: 700px;
    width: 400px;
}

.registration-form h3 {
    margin-top: 20;
    padding-bottom: 20px;
    font-size: 30px;
}

.registration-form label {
    font-weight: bold;
}

.registration-form input[type="text"],
.registration-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.registration-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    margin-top: 15px;
    margin-right: 160px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.registration-form input[type="submit"]:hover {
    background-color: #45a049;
}

.login-form {
    align-items: center;
    height: 500px;
    width: 400px;
}

.login-form h3 {
    margin-top: 20;
    padding-bottom: 20px;
    font-size: 30px;
}

.login-form label {
    font-weight: bold;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    margin-top: 15px;
    margin-right: 160px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-form input[type="submit"]:hover {
    background-color: #45a049;
}


/* Show the selected login section when it's targeted */

#user-login:target,
#admin-login:target,
#register-user:target {
    display: block;
}