/* styles */
*{
    font-family: sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

#content{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex {
    display: flex;
}

.main {
    width: 100%;
    max-width: 1920px;
    height: 100%;
    justify-content: center;

}

#section-1{
    display: none;
}

#section-2 {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 5px;
}

h1 {
    font-size: 25px;
   color : #4f4d4d;
   align-self: flex-start;
   margin-bottom: 15px;
}

p {
    align-self: flex-start;
    font-size: 15px;
    color : #4f4d4d;
}

#nav {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0px 50px 0px;
}

#logo {
    width: 180px;
    margin: auto;
}


.backto-login {
    justify-content: center;
    align-items: center;

}

.backto-login #text {
    width: 150px;
}

.backto-login #arrow {
    width: 20px;
    margin-right: 10px;
}

.login-form {
    align-items: center;
    flex-direction: column;
    padding: 5px;
    width: 380px;
}

.login-form a {
    align-self: flex-start;
    /* margin-left: 10px; */
    /* text-decoration: none; */
    color: #4f4d4d;
    margin-top: 15px;
}


input[type='text'], input[type='password'] {
    height: 34px;
    width: 350px;
    border: 1px solid #848383;
    border-radius: 0px;
    padding: 2px 10px;
    margin: 20px 0px 0px 0px;
    align-self: flex-start;
}

button {
    background: #006b76;
    height: 45px;
    color: #f9f1f1;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 5px;
}

#signin-button, #signup-button {
    width: 220px;
    align-self: center;
    margin: 30px 0px 20px 0px;

}

#signup-button-link {
    align-self: center;
}

hr{
    display: block;
    width: 100%;
}

button {
    cursor: pointer;
}


.error-message img {
    display: none;
}
#dismiss {
    display: none;
}
.error-message ul {
    list-style: none;
}

.error-message {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 6px;
    color: #d42424;
    background: none;
    background-color: none;
}



@media  (max-width: 375px ) {
    input[type='text'], input[type='password'] {
        width: 310px;
    }

    .login-form {
        width: 330px;
    }

    #nav {
        padding: 10px 0px;
    }

    #logo {
        width: 150px;
    }

    .backto-login #text {
        width: 120px;
    }
    .error-message {
        font-size: 14px;
    }
}


@media(max-width: 330px) {
    input[type='text'], input[type='password'] {
        height: 30px;
        width: 220px;
    }

    .login-form {
        padding: 2px;
        width: 230px;
    }

    .error-message {
        font-size: 12px;
    }
}




/* tablet */
@media(min-width: 1024px) {
    #section-1 {
        display: block;
        width: 65%;
        height: 100vh;
        background-image: url("../img/main-img.png");
        background-position: top;
        background-size: cover;
    }

    #section-2 {
        width: 50%;
        padding: 20px;
    }

    #logo {
        width: 250px;
        margin: inherit;
    }

    .backto-login #text {
        width: 150px;
    }

    .backto-login #arrow {
        width: 25px;
        margin-right: 15px;
    }

    h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    p {
        font-size: 18px;
    }

    input[type='text'], input[type='password'] {
        height: 45px;
        width: 450px;
        font-size: 18px;
    }

    .login-form a {
        font-size: 16px;
    }

    hr{
        margin: 10px 0px;
    }

    #signin-button, #signup-button {
        height: 45px;
        width: 300px;
        font-size: 18px;
    }

    .login-form {
        width: 500px;
    }
    .error-message {
        font-size: 16px;
    }
}


/* desktop */
@media(min-width: 1400px) {


    #section-1 {
        display: block;
        width: 70%;
        height: 100vh;
        background-image: url("../img/main-img.png");
        background-position: top;
    }

    #section-2 {
        width: 60%;
        padding: 20px;
    }

    #logo {
        width: 300px;
    }

    .backto-login #text {
        width: 190px;
    }

    .backto-login #arrow {
        width: 40px;
        margin-right: 20px;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    p {
        font-size: 24px;
    }

    input[type='text'], input[type='password'] {
        height: 50px;
        width: 530px;
        font-size: 22px;
    }

    .login-form a {
        font-size: 20px;
    }

    hr{
        margin: 15px 0px;
    }

    #signin-button, #signup-button {
        height: 50px;
        width: 330px;
        font-size: 20px;
    }

    .login-form {
        width: 575px;
    }

    .error-message {
        font-size: 20px;
    }
}