* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #b60808; 
    color: rgb(160, 12, 12);
}

.main-background {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(bg.jpg);
    background-size: cover;
    background-position: []65%[]center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-background h1 {
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(153, 16, 16, 0.7);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    background: rgba(114, 194, 10, 0.25);
    backdrop-filter: blur(5px);
    z-index: 99;
    border-bottom: 1px solid rgba(198, 211, 16, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    color: rgb(76, 7, 90);
    text-decoration: none;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: rgb(1, 10, 17);
    font-weight: 500;
}

.nav-login-btn {
    padding: 8px 25px;
    background: #0a770a;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: rgb(134, 8, 8);
    transition: 0.3s;
}

.nav-login-btn:hover {
    background: #0e9cc0;
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    display: none; 
}

.popup-container:target {
    display: flex;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 35px;
    color: rgb(198, 231, 11);
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.login-form {
    background: rgba(64, 64, 64, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(25px);
    text-align: center;
    color: rgb(9, 204, 97);
    width: 400px;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.15);
    position: relative; 
}

.login-title {
    font-size: 40px;
    margin-bottom: 40px;
}

.input-box {
    margin: 20px 0;
    position: relative;
}

.input-box input {
    width: 100%;
    background: rgba(59, 175, 230, 0.1);
    border: none;
    padding: 12px 12px 12px 45px;
    border-radius: 99px;
    outline: 3px solid transparent;
    transition: 0.3s;
    font-size: 17px;
    color: rgb(65, 159, 221);
    font-weight: 600;
}

.input-box input::placeholder {
    color: rgba(160, 144, 144, 0.8);
    font-size: 17px;
    font-weight: 500;
}

.input-box input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.3);
}

.input-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.remember-forgot-box {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 15px;
}

.remember-forgot-box label {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.remember-forgot-box input {
    accent-color: rgb(8, 240, 97);
    cursor: pointer;
}

.remember-forgot-box a {
    color: rgb(120, 197, 221);
    text-decoration: none;
}

.remember-forgot-box a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 10px 0;
    background: #df9c0b;
    border: none;
    border-radius: 99px;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #0B87EC;
}

.register {
    margin-top: 15px;
    font-size: 15px;
}

.register a {
    color: rgb(204, 6, 6);
    text-decoration: none;
    font-weight: 500;
}

.register a:hover {
    text-decoration: underline;
}