@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


/**Css variables**/
:root {
    --primary: #0288d6;
    --primary-dark: #0051ad;
    --primary-light: #93cbff;
    --bg-light: #f5fbff;
    --bg-dark: #0c0c0c;
    --shadow-clr: #ebf7ff;
    --text-secondary: #888888;
}

body {
    background-color: #eeeeee;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 5px 5px 15px #ccccccaf;
    height: auto;
    width: 900px;
    display: flex;
    gap: 20px;
    padding: 10px;
}

/**Welcome section styling starts**/
.container .welcome {
    background: url(../image/banner-2.png);
    border-radius: 10px;
    width: 445px;
    position: relative;
    overflow: hidden;
}

.welcome .wrapper {
    height: 100%;
    width: 100%;
    position: absolute;
    padding: 20px;
    background: linear-gradient(180deg, #00000060, black 70%);
}

.wrapper p {
    margin-bottom: 30px;
    color: white;
    font-size: 13px;

}

.logo {
    margin-bottom: 40px;
    animation: fadeIn-left 1.5s ease;
}

.vertical-line {
    height: 180px;
    width: 5px;
    margin-right: 20px;
    background-color: var(--primary);
    border-radius: 50px;
}

.line-txt {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    animation: fadeIn-top 2s ease;
}

.line-txt h1 {
    color: white;
    font-size: 60px;
    font-weight: 500;
    line-height: 70px;
}

/**End os welcome section styling**/

/**Form styling starts**/
form {
    padding: 20px;
    width: 445px;
    position: relative;
}

form h1 {
    margin-top: 50px;
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 400;
}

form .desc {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 10px;
}

form label {
    font-weight: 500;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 5px;
}

form .intp {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #b8b7b7;
    outline: none;
    font-weight: 500;
    margin-bottom: 15px;
}

#email {
    margin-bottom: 20px;
}

form .intp:focus {
    border: 1px solid var(--primary);
}

form .pass-wrapper {
    position: relative;
}

.pass-wrapper #icon {
    position: absolute;
    top: 35px;
    right: 10px;
    cursor: pointer;
}

/**remember me section**/
.remember-forgot {
    margin: 10px 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.remember-forgot #remember-me {
    accent-color: var(--primary);
}

.forgot-pass a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
}

.forgot-pass a:hover {
    text-decoration: underline;
}

#login-btn {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    border: none;
    background-color: var(--primary);
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: background-color 0.5s;
    margin-bottom: 20px;
}

#login-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}


.acc {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 20px;
}

.acc a {
    text-decoration: none;
    color: var(--primary);
}

.acc a:hover {
    text-decoration: underline;
}

.footer {
    display: flex;
    width: 95%;
    justify-content: space-between;
    font-size: x-small;
    position: absolute;
    bottom: 0;
    color: var(--text-secondary);

}

.footer #privacy {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer #privacy:hover {
    color: var(--primary);
}

.error-message {
    font-size: 12px;
    color: red;
    text-align: center;
    padding: 5px;
    background-color: #ffdde2;
    border-radius: 50px;
}

/**End of form styling**/
#homeBtn {
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--primary);
    font-weight: 400;
    color: white;
    font-size: 13px;
    border-radius: 50px;
    transition: background-color 0.5s ease;
}

#homeBtn:hover {
    background-color: var(--primary-dark);
}

.navs {
    display: none;
}

@media (max-width: 720px) {
    .container .welcome {
        display: none;
    }

    .container {
        scale: 0.8;
        width: fit-content;
    }

    .navs {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navs-btn {
        text-decoration: none;
        background-color: var(--primary);
        color: white;
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 14px;
    }

    .navs-btn:hover {
        background-color: var(--primary-dark);
    }
}