

/* ROOT VARIABLES */
:root{
    --color-primary: #07739e;
    --color-danger: rgb(255, 53, 53);
    --color-success: #4CAF50;
    --color-warning: #ffbb55;
    --color-white: #fff;
    --main-color: rgb(255, 255, 255);
    --color-info-dark: #7d8da1;
    --color-info-light: #dce1eb;
    --color-dark: #363949;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-primary-variant: #111e88;
    --color-dark-variant: #677483;
    --color-background: rgb(253, 249, 250);
    --color-sign-in-shadow: rgb(107, 74, 13);
    --color-sign-in-background: rgb(107, 122, 70);
    --modal-container: rgba(0, 0, 0, 0.822);

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;
    --border-radius-alp: 12px;
    --border-radius-alp-listBox: 6px;
    --border-radius: 10px;

    --card-padding: 1.8rem;
    --padding-1: 1.2rem;

    --box-shadow: 0 0.5rem 1rem var(--color-light);
    --text-shadow: 0px 2px 5px black;
}

html, body, input, button, select, textarea {
    font-family: 'Poppins', sans-serif;
}

*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    text-decoration: none;
}
ul,
li{
    list-style: none;
    margin: 0;
    padding: 0;
}
section,
span,
p{
  margin: 0;
  padding: 0;
  outline: none;
  border: none;  
}

/* SIGN IN PAGE */

.alert-container{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--modal-container);
    z-index: 9999;
}

.alert-succes{
    display: flex;
    justify-content: center;
    padding: .9rem 3rem;
    background-color: rgba(68, 185, 68, 0.8);
    border-radius: var(--border-radius);
    z-index: 2;
    color: var(--main-color);
    margin: 0 2rem;
    text-align: center;
}

.alert-warning{
    display: flex;
    justify-content: center;
    padding: .9rem 3rem;
    background-color: rgba(247, 29, 0, 0.8);
    border-radius: var(--border-radius);
    z-index: 2;
    color: var(--main-color);
    margin: 0 2rem; 
    text-align: center;
}

.container{
    font-family: 'Poppins', sans-serif;
    background-image: url("../img/nback.jpg");
    background-position: center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
}

.header{
    display: flex;
    padding-left: 2rem;
    padding-top: 2rem;
    justify-content: flex-start;
    align-items: center;
}

.header img{
    width: 100px;
    height: 130px;
    margin-right: 1rem;
}

.header h2{
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: white;
    text-shadow: 1px 3px 7px  black;
}

.login-box{
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 24rem;
    height: 28rem;
    border-radius: 30px;
    background: var(--color-background);
    box-shadow: 1px 3px 20px  rgba(0, 0, 0, .7);
    text-align: center;
    position: relative;
}

.login-box-boundry-y{
    width: 21rem;
}

.input-head{
    display: flex;
    align-items: center;
    position: relative;
    transform: translateY(-3.5rem);
    color: var(--color-white);
    width: 100%;
    height: 8rem;
    background-color: var(--color-sign-in-background);
    box-shadow: inset 0px -20px 30px 0px var(--color-sign-in-shadow);
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    justify-content: center;
}

.input-text{
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.1rem;
    text-shadow: 0px 2px 5px black;
}

.input-area{
    padding-top: 0.5rem;
}

.input-area  input{
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 3rem;
    padding: 0rem 1rem;
    margin-top: 1rem;
    border: 1px solid gray;
    border-radius: 30px;
}

.btn-sign button{
    cursor: pointer;
    display: block;
    width: 100%;
    height: 2.5rem;
    margin-top: 3rem;
    border-radius: 30px;
    background: var(--color-sign-in-background);
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 3;
    transition: 0.5s;
}

.btn-sign button:hover{
    border: 1.5px solid var(--color-sign-in-shadow);
    background: transparent;
    box-shadow: 0rem 1rem 2rem rgb(212, 212, 212);
    color: black;
    text-shadow: none;
}

.btn-sign button {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-shadow: var(--text-shadow);
    color: var(--color-white);
    letter-spacing: 2px;
}
.btn-sign button:hover {
    color: black;
    text-shadow: none;
}

.btn-forgot{
    position: relative;
    font-size: 13px;
    margin-top: 1rem;
}

.btn-forgot a{
    color:gray;
}

.btn-forgot:hover a{
    color: var(--color-sign-in-background)
}

.copyright{
    position: relative;
    font-size: 13px;
    bottom: -3rem;
    color: white;
    font-weight: 100;
    text-shadow: 3px 3px 7px  black;
}

/* FOR MOBILE */

@media screen and (max-width: 700px){
    .login-box{
        transform: translateY( 3rem);
        margin :1rem auto;
        width: 94%;
    }
    
    .header img{
        margin-right: 0;
    }

    .login-box-boundry-y{
        width: 85%;
    }

    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header{
        margin-top: 2rem;
        padding-left: 0;
        padding-top: 0;
    }
}

@media screen and (max-width: 600px){
    .login-box{
        width: 94%;
    }

    .login-box-boundry-y{
        width: 85%;
    }

    .header{
        display: flex;
        flex-direction: column;
    }
}