/* Poppins Light */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Poppins/Poppins-Light.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins Regular */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Poppins/Poppins-Regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins Medium */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Poppins/Poppins-Medium.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins SemiBold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Poppins/Poppins-SemiBold.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Poppins/Poppins-Bold.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.container-login {
    width: 100%;
    max-width: 900px;
    height: 350px;
    display: flex;
    overflow: hidden;
    position: relative;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin: 0 20px;
}

.panel {
    width: 50%;
    height: 100%;
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.6s ease-in-out, background-color 0.6s ease-in-out, color 0.6s ease-in-out;
}
.panel-content {
    transition: opacity 0.9s ease;
    opacity: 1;
}

.panel-content.hidden {
    opacity: 0;
}
.panel-left {
    background-color: white;
    color: black;
    z-index: 1;
}

.panel-right {
    background-color: #695CFE;
    color: white;
    z-index: 0;
}

.panel h2 {
    margin-top: 0;
}

.panel input {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
}

.panel button {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #fff;
    background-color: #695CFE;
    transition: background-color 0.3s, transform 0.3s;
    color: #fff;
    font-weight: 450;
}

.panel button:hover {
    background-color: #5648d4;
    transform: scale(1.05);
}

.content {
    opacity: 1;
    transition: opacity 0.36s ease-in-out;
}

.recover-password,
.go-session {
    display: none;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    z-index: 9999999;
    background: #fff;
    transition: .3s all ease;
}

.preloader-text {
    width: 100%;
    height: 100px;
    text-align: center;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 20px;
}

.preloader-text span {
    display: inline-block;
    margin: 0 10px;
    color: #222;
}

.preloader-text span:nth-child(1) {
    filter: blur(0px);
    animation: phantom 1s 0s infinite linear alternate;
}

#random-rules {
    margin-top: 30px;
    text-align: center;
}

#random-rules p {
    margin: 10px 0;
    font-size: 16px;
    font-weight: normal;
    color: #222;
}

.logo{
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 280px;
    filter: invert(70%);
}

@keyframes phantom {
    to {
        filter: blur(5px);
        transform: scale(1.2);
        opacity: .8;
    }
}
/* Media query to hide the right panel when the width is 922px or less */
@media (max-width: 922px) {
    .panel-right {
        display: none;
    }

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

    .recover-password {
        display: block;
        text-align: right;
        cursor: pointer;
        margin: 15px;
    }

    .go-session {
        display: block;
        text-align: right;
        cursor: pointer;
        margin: 15px;
    }
    .logo{
        width: 220px;
    }
}

@media (max-width: 768px) {
    .container-login {
        margin: 0 10px;
    }

    .panel {
        padding: 15px;
    }

    .panel input, .panel button {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .panel input, .panel button {
        padding: 6px;
    }

    .panel h2 {
        font-size: 1.5em;
    }
}
