*{
    margin: 0;
    padding: 0;
    font-family: "Montserrat";
    box-sizing: border-box;
}

body{
    background: #dfe9f5;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7),rgba(4, 9, 30, 0.7)), url(img/background.jpg);
    background-position: center;
    background-size: cover;
}


/*----- signup page -----*/
.wrapper{
    width: 100%;
    position: relative;
    width: 330px;
    padding: 2rem 1rem;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

h1{
    font-size: 30;
    color: #07001f;
    margin-bottom: 20px;
}

form input{
    width: 85%;
    outline: none;
    border: 1px solid #fff;
    padding: 11px 20px;
    margin-bottom: 10px;
    border-radius: 20px;
    background: #e4e4e4;
}


button{
    font-size: 16px;
    margin-top: 20px;
    padding: 10px 0px;
    border-radius: 20px;
    outline: none;
    border: none;
    width: 75%;
    color: #fff;
    cursor: pointer;
    background-color: rgba(0, 136, 169, 0.9);
}

button:hover{
    background: #c80815;
}

input:focus{
    border: 2px solid rgb(192, 192, 192);
}

.terms{
    margin-top: 5px;
}

.terms input{
    height: 10px;
    width: 10px;
    vertical-align: middle;
    cursor: pointer;
}



.terms label{
    font-size: 12px;
}

.terms a{
    color: rgb(17, 107, 143);
    text-decoration: none;
}

.member{
    font-size: 11px;
    margin-top: 18px;
    color: #636363;
}

.member a{
    color: rgb(17, 107, 143);
    text-decoration: none;
}

/***** login page *****/
.recover{
    text-align: left;
    font-size: 12px;
    margin: 6px 0 0 30px;
}

.recover a{
    text-decoration: none;
}



/***** home button *****/

.home-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    text-decoration: none;
    font-size: 23px;

    color: #0088a9;
    padding: 5px 10px;
    border-radius: 5px;
}

.home-btn:hover {
    color: #c80815;
}





/***** responsive screen *****/

@media screen and (max-width: 768px) {
    .wrapper {
        width: 90%;
        max-width: none; 
        margin: 30px auto;
    }

    h1 {
        font-size: 22px; 
    }

    button {
        max-width: none; 
    }

    .recover {
        margin-left: 10px; 
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 20px; 
    }

    form input {
        padding: 10px 15px; 
    }

    button {
        padding: 8px 0; 
    }

    .recover {
        margin-left: 5px;
    }
}



/***** hide/show password *****/

form input, .password-wrapper {
    width: 85%;
    margin: 10px auto;
    display: block; 
}

.password-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.password-wrapper input {
    width: 100%; 
    padding-right: 40px; 
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #636363;
}

.toggle-password:hover {
    color: #000;
}
