@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100, "YTLC" 500;
}

html,
body {
    width: 100%;
    height: 100%;
    margin-bottom:0;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
}

.left-size {
    width: 65%;
    height: 100%;
}

.left-area {
    background-color: #ec3237;
    position: fixed;
    z-index: -1;
    overflow: hidden;
}

.backgroundImg {
    position: absolute;
    width: 60vw;
    left: -20%;
}

.image-view {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.countryCode {
    display: flex;
    flex-direction: row;
    padding-right: 20px;
}

.codeText {
    margin-left: 0.08vw;
}

.country img {
    width: 1.5vw;
    margin-left: 0.5vw;
}
.countryCode:after {
    content: '';
    border-right: 1px solid #cccc;
    height: 24px;
    width: 2px;
    right: -16px;
    position: relative;
}

.Number img {
    width: 1.5vw;
    margin-left: 0.5vw;
}

.right-area {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-inline: 5vw;
}

.logo {
    width: 12vw;
    display: flex;
    justify-content: center;
    margin-top: 5vh;
    margin-inline: auto;
}

    .logo img {
        width: 100%;
    }

h1 {
    font-size: 35px;
    text-transform: capitalize;
    margin-top: 4vh;
    text-align: start;
    font-weight: 800;
}

p {
    font-size: 14px;
    text-align: start;
    /* background-color: yellow; */
    color: #8692a6;
    width: 75%;
    margin-bottom: 0;   
}

.form {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 3vh;
    gap: 10px;
}

.my-input {
    width: 100%;
    padding-block: 12px;
    border: 1px solid black;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 10px;
    padding-left: 15px;
}
.strenght-password {
    width: 100%;
}
    .my-input input {
        flex: 1;
        border: none;
        outline: none;
    }

.grid {
    width: 100%;
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .grid input {
        width: 2%;
    }

.strenght {
    width: 100%;
    height: 10px;
    display: flex;
    gap: 12px;
    justify-content: stretch;
    margin-top: 5px;
}

.strength-bar {
    height: 4px;
    width: 100%;
    background-color: #ec3237;
}

    .strength-bar:nth-child(1) {
        background-color: #ec3237;
    }
    .strength-bar:nth-child(2) {
        background-color: #ec3237;
    }
    .strength-bar:nth-child(3) {
        background-color: #FFB819;
    }
    .strength-bar:nth-child(4) {
        background-color: #009A49;
    }
    .strength-bar:nth-child(5) {
        background-color: #009A49;
    }

p.strenght-text {
    width: 100%;
    font-size: 11px;
    margin-bottom: 0;
}

    .strength-text p {
        width: 100%;
        margin-top: -0.8vh;
    }
.form-group {
    width: 100%;
    padding-block: 10px;
    border: 1px solid black;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-inline: 15px;
}
    .form-group input {
        padding: 0;
        border: 0;
        border-radius: 0;
    }
    .form-group img {
        cursor: pointer;
    }
    .form-group input:focus-visible {
        outline: 0;
    }
.loginBtn {
    width: 100%;
    padding-block: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background-color: #ec3237;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.5s;
}
    .loginBtn:hover {
        background-color: #ce1c21;
    }
    .loginBtn a {
        width: 100%;
        color: #fff;
        text-decoration: none;
    }

@media (max-width:786px) {
    .left-area {
        display: none;
    }

    .left-size {
        display: none;
    }

    .right-area {
        width: 100%;
    }

    .logo {
        width: 28vw;
        display: flex;
        justify-content: center;
        margin-top: 5vh;
        margin-inline: auto;
    }

    h1 {
        font-size: 3vw;
        text-transform: capitalize;
        margin-top: 4vh;
        text-align: center;
        margin-inline: auto;
    }

    p {
        font-size: 1.6vw;
        text-align: start;
        /* background-color: yellow; */
        color: #8692a6;
        margin-top: 0.5vh;
        margin-inline: auto;
    }

    .google-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2vw;
        background-color: transparent;
        border: 2px solid #e8e8e8;
        border-radius: 7px;
        margin-top: 25px;
        gap: 1vw;
        font-weight: 500;
        text-transform: capitalize;
        padding: 4px;
    }

        .google-btn img {
            width: 4.6vw;
        }

    .emailLine {
        font-size: 2.1vw;
        text-decoration: none;
        margin-top: 20px;
        color: #000;
        margin-inline: auto;
    }

    .form label {
        font-size: 2.2vw;
        margin-inline: start;
        width: 100%;
        color: black;
    }


    .remember-me p {
        font-size: 2.1vw;
        color: #a1a1a1;
    }

    .forget-pass {
        font-size: 2.1vw;
        text-decoration: none;
        color: #000;
    }

    .loginBtn {
        width: 100%;
        padding-block: 10px;
        margin-bottom: 15px;
        border: none;
        border-radius: 5px;
        background-color: #ec3237;
        color: #fff;
        font-size: 2.3vw;
        font-weight: 500;
        margin-top: 15px;
        cursor: pointer;
        margin-top: 15px;
    }

    .createAnAccount p {
        font-size: 2vw;
        color: black;
    }

    .createAnAccount a {
        font-size: 2vw;
        font-weight: 500;
        text-decoration: none;
        color: #000;
        margin-left: 10px;
    }
}

@media (max-width:450px) {
    .left-area {
        display: none;
    }

    .left-size {
        display: none;
    }

    .right-area {
        width: 100%;
    }

    .logo {
        width: 38vw;
        display: flex;
        justify-content: center;
        margin-top: 5vh;
        margin-inline: auto;
    }

    h1 {
        font-size: 3.8vw;
        text-transform: capitalize;
        margin-top: 4vh;
        text-align: center;
        margin-inline: auto;
    }

    p {
        font-size: 2.2vw;
        text-align: start;
        /* background-color: yellow; */
        color: #8692a6;
        margin-top: 0.5vh;
        margin-inline: auto;
    }

    .google-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.8vw;
        background-color: transparent;
        border: 2px solid #e8e8e8;
        border-radius: 7px;
        margin-top: 25px;
        gap: 1vw;
        font-weight: 500;
        text-transform: capitalize;
        padding: 8px;
    }

        .google-btn img {
            width: 5.6vw;
        }

    .emailLine {
        font-size: 2.4vw;
        text-decoration: none;
        margin-top: 20px;
        color: #000;
        margin-inline: auto;
    }

    .form label {
        font-size: 2.9vw;
        margin-inline: start;
        width: 100%;
        color: black;
    }


    .remember-me p {
        font-size: 2.5vw;
        color: #a1a1a1;
    }

    .forget-pass {
        font-size: 2.5vw;
        text-decoration: none;
        color: #000;
    }

    .loginBtn {
        width: 100%;
        padding-block: 10px;
        margin-bottom: 15px;
        border: none;
        border-radius: 5px;
        background-color: #ec3237;
        color: #fff;
        font-size: 3vw;
        font-weight: 500;
        margin-top: 15px;
        cursor: pointer;
        margin-top: 15px;
    }

    .createAnAccount p {
        font-size: 3vw;
        color: black;
    }

    .createAnAccount a {
        font-size: 3vw;
        font-weight: 500;
        text-decoration: none;
        color: #000;
        margin-left: 10px;
    }
}
