@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat', sans-serif;
}

/* Background */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20px; /* prevents blur edges from showing */
    background:
        linear-gradient(
            rgba(0,0,0,.75),
            rgba(0,0,0,.75)
        ),
        url("./../media/wallpapers/wallpaper.png");

    background-size: cover;
    background-position: center;

    filter: blur(10px);
    z-index: -1;
}

/* Navigation */

header{
    padding:30px 70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.logo img {
    height: 45px;
    object-fit: contain;
    border-radius: 4px;
}

.logo img:first-child {
    width: 45px;
    filter: brightness(0) invert(10%) sepia(85%) saturate(5000%);
}

.logo img:last-child {
    width: auto;
    height: 45px;
}

nav ul{
    list-style:none;
    display:flex;
    gap:40px;
}

nav a{
    text-decoration:none;
    color:white;
    font-size:13px;
    letter-spacing:2px;
    transition:.3s;
}

nav a:hover, .active{
    color:#800020;
}

/* Login Container */

.login-container{
    height:calc(100vh - 100px);
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-card{
    width:430px;
    padding:50px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    border-radius:12px;
    color:white;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
}

.login-card h1{
    font-size:40px;
    font-weight:300;
    letter-spacing:8px;
    text-align:center;
    margin-bottom:15px;
}

.login-card p{
    text-align:center;
    margin-bottom:40px;
    color:rgba(255,255,255,.8);
    letter-spacing:1px;
}

/* Form */

.input-group{
    margin-bottom:25px;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    font-size:12px;
    letter-spacing:3px;
}

.input-group input{
    width:100%;
    padding:16px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.2);
    border-radius:6px;
    color:white;
    font-size:15px;
}

.input-group input::placeholder{
    color:rgba(255,255,255,.55);
}

.input-group input:focus{
    outline:none;
    border-color:white;
}

/* Remember and Forgot Password */

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    font-size:13px;
}

.remember{
    display:flex;
    align-items:center;
    gap:8px;
}

.forgot-password{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.forgot-password:hover{
    color:#e63946;
}

/* Button */

.login-btn{
    width:100%;
    padding:16px;
    background:transparent;
    border:1px solid white;
    color:white;
    letter-spacing:3px;
    font-size:13px;
    cursor:pointer;
    transition:.4s;
}

.login-btn:hover{
    background:white;
    color:black;
}

/* Responsive */

@media(max-width:900px){

    header{
        flex-direction:column;
        gap:20px;
        padding:30px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }

}

@media(max-width:550px){

    .login-card{
        width:90%;
        padding:35px;
    }

    .options{
        flex-direction:column;
        gap:15px;
    }

}