:root {
    --background: #1a1a2e;
    --color: #ffffff;
    --primary-color: #F25F5C;
}

/* Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--color);
    transition: background 0.2s ease;
}

a {
    text-decoration: none;
    color: var(--color);
}

h1 {
    font-size: 30px;
}

/* Layout */
.container {
    /* right: 0; */
    /* bottom: 0; */
    min-width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
}

.login-container {
    position: relative;
    min-width: 300px;
}

.form-container {
    min-width: 300px;
    border: 1px solid hsla(0, 0%, 65%, 0.158);
    box-shadow: 0 0 36px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 32px;
}

/* Form */
.login-container form input {
    display: block;
    padding: 14.5px;
    width: 100%;
    margin: 32px 0;
    color: black;
    outline: none;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    letter-spacing: 0.8px;
    font-size: 15px;
    backdrop-filter: blur(15px);
}

.login-container form input:focus {
    box-shadow: 0 0 16px 1px rgba(0,0,0,0.2);
    animation: wobble 0.3s ease-in;
}

.login-container form button {
    background-color: var(--primary-color);
    color: var(--color);
    display: block;
    padding: 13px;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 1.5px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    margin-bottom: 32px;
    border: none;
    transition: all 0.1s ease-in-out;
}

.login-container form button:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

/* Circles */
.circle {
    width: 128px;
    height: 128px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
}

.illustration {
    position: absolute;
    top: -11%;
    right: -2px;
    width: 90%;
    z-index: -1;
}

.circle-one {
    top: 0;
    left: 0;
    z-index: -1;
    transform: translate(-45%, -45%);
}

.circle-two {
    bottom: 0;
    right: 0;
    z-index: -1;
    transform: translate(45%, 45%);
}

.register-forget {
    margin: 16px 0;
    display: flex;
    justify-content: space-between;
}

.opacity {
    opacity: 0.6;
}

.theme-btn-container {
    position: absolute;
    left: 0;
    bottom: 32px;
}

.theme-btn {
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.theme-btn:hover {
    width: 40px !important;
}

.bg-green {
    background-color: #61f25c;
}

/* Animation */
@keyframes wobble {
    0% { transform: scale(1.025); }
    25% { transform: scale(1); }
    75% { transform: scale(1.025); }
    100% { transform: scale(1); }
}
/* Mobile */
@media (max-width: 768px){

    .container{
        padding:20px;
        height:auto;
        /* min-height:100vh; */
    }

    .login-container{
        width:100%;
        max-width:420px;
    }

    .form-container{
        padding:24px;
    }

    h1{
        font-size:24px;
        text-align:center;
    }

    .login-container form input{
        margin:20px 0;
        padding:13px;
        font-size:14px;
    }

    .login-container form button{
        font-size:16px;
        padding:12px;
    }

    .circle{
        width:90px;
        height:90px;
    }

    .illustration{
        width:80%;
        top:-8%;
    }

    .register-forget{
        flex-direction:column;
        gap:10px;
        align-items:center;
        text-align:center;
    }

    .theme-btn-container{
        position:static;
        margin-top:20px;
        display:flex;
        justify-content:center;
    }

}


/* Small phones */
@media (max-width:480px){

    .form-container{
        padding:20px;
        min-width:auto;
    }

    .login-container{
        min-width:auto;
    }

    h1{
        font-size:22px;
    }

    .circle{
        width:70px;
        height:70px;
    }

}
