*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    min-height: 100vh;
    width: 100vw;
    font-family: monospace;
    font-size: 16px;
    overflow-x: hidden;
}

.fa-bars{
    display: none;
}
.fa-times{
    display: none;
}

header{
    height: 15vh;
    width: 100%;
    border-bottom: 2px solid rgb(15, 19, 119);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    padding-left: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.logo2 img{
    display: flex;
    justify-content: flex-start;
    height: 50px;
    width: 120px;
}

.logo h2{
    display: none;
    border: 3px solid black;
    color: blue;
    font-family: Arial, Helvetica, sans-serif;
    border-top-color: black;
    border-bottom-color: red;
    border-left: none;
    border-right: none;
}
.menu-div{
    display: flex;
    gap: 3em;
    font-size: 1.2rem;
    padding-right: 5em;
}
.menu{
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1em;
    color: rgb(15, 19, 119);
    font-weight: bold;
    cursor: pointer;
}

.red{
    border: 3px solid black;
    border-top-color: green;
    border-bottom-color: red;
    border-left: none;
    border-right: none;
    font-size: 1.25rem;
}

.purple{
    border: 3px solid black;
    border-top-color: red;
    border-bottom-color: green;
    border-left: none;
    border-right: none;
}


.button a{
    color: rgb(15, 19, 119);
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.sign-up{
    height: 45px;
    width: 150px;
    background-color: rgb(84, 84, 225);
    border-radius: 5px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    border: none;
}

.sign-up:hover{
    background-color: black;
    transition: all 500ms ease-in-out;
}

main{
    position: relative;
    min-height: 85vh;
    width: 100%;
    color: white;
    background-image: linear-gradient(to right,
    rgba(0,0,0, .8),
    rgba(0,0,0, .5),
    rgba(0,0,0, .3)),
    url(./images/banking.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

a:hover{
    text-decoration: underline;
    color: black;
    transition: all 500ms ease-in-out;
}

.left-div{
    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 50%;
    height: 100%;
}
.top-h1{
    margin-top: 1em;
}
.left-div h1{
    font-size: clamp(2rem, 2.5rem, 5vw);
    width: 50%;
    margin-left: 1.5em;
    color: rgb(166, 157, 250);   
}

.bankit{
    color: rgb(0, 255, 0);
}

.second-h1{
    margin-bottom: .5em;
}

.left-div p{
    width: 50%;
    font-size: 1.5rem;
    margin-left: 2.5em;
    line-height: 30px;
    color: rgb(255, 255, 255);
}
.button-div{
    width: 50%;
    display: flex;
    justify-content: start;
}

button:focus, a:focus{
    outline-color: red;
}
.open-account{
    min-width: 15rem;
    height: 40px;
    margin-top: 3em;
    margin-left: 3.5rem;
    background-color: rgb(84, 84, 225);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.open-account:hover{
    background-color: black;
    transition: all 500ms ease-in-out;
}

.right-div{
    margin-bottom: 1em;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.login-h2{
    margin-bottom: 2em;
    font-size: 2.5rem;
    background-color: rgb(187, 187, 247);
    border-radius: 5px;
    width: 70%;
    text-align: center;
    padding: .1em 0;
    margin-top: 1em;
}
.sign-in{
    width: 50%;
    height: 80%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: black;
    box-shadow: 0 0 5px 2px black;
    margin-right: 5em;
    margin-top: 4.5em;
    background: rgb(255, 255, 255);
}
input{
    width: 80%;
    height: 40px;
    border-radius: 5px;
    margin-bottom: 2em;
    font-size: 1.25rem;
}

input:focus{
    outline-color: blue;
}

label{
    font-size: 1.5rem;
    margin-bottom: .5em;
}

.login{
    width: 80%;
    height: 40px;
    border-radius: 5px;
    background-color: rgb(84, 84, 225);
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border: none;
    margin-bottom: 1em;
}

.login:hover{
    background-color: black;
    transition: all 500ms ease-in-out;
}


.loading{
    border-radius: 5px;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    /* left: 30%; */
    width: 10rem;
    height: 50px;
    background-color: black;
}

.loading .fa-circle-notch{
    font-size: 2rem;
    animation: rotation 300ms linear infinite
}

@keyframes rotation{
    to{
        transform: rotate(360deg);
    }
}


footer{
    min-height: 15vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

footer h3{
    font-size: 1.3rem;
    color: rgb(100, 100, 253);
    margin-bottom: .5em;
}


@media screen and (max-width:1000px){
    body{
        overflow-x: hidden;
    }

    main{
        z-index: 2;
    }

    .fa-bars{
        display: initial;
        position: absolute;
        right: 1em;
        font-size: 2rem;
    }

    .fa-times{
        position: absolute;
        display: none;
        right: 1em;
        font-size: 2rem;
    }

    header{
        position: relative;
        z-index: 9999;
    }
    .menu-div{
        position: absolute;
        width: 100%;
        height: 0vh;
        background-color: white;
        top: -1000px;
        flex-direction: column;
        z-index: 2;
        transition: all 500ms ease-in-out;
    }

    .menu{
        margin-left: 4em;
        margin-top: 2em;
    }
    .button{
        margin-left: 4em;
    }

    .left-div h1{
        width: 100%;
        margin: 0;
        margin-left: .25em;
    }
    .left-div p{
        width: 90%;
        margin: 0;
        margin-top: 1em;
        margin-left: .5em;
    }
 
    .button-div{
        width: 100%;
        justify-content: start;
        margin-left: 1em;
    }

    .open-account{
        margin-left: .2em;
    }

    .sign-in{
        width: 80%;
        margin-right: 2em;
    }
}

@media screen and (max-width:700px){
    body{
        width: 100vw;
        overflow-x: hidden;
    }
    .logo{
        padding: 0;
    }
    .logo img{
    }
    .menu-div{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        gap: 0;
    }
    .button{
        width: 100%;
        height: 100px;
        gap: 1em;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .menu{
        flex-direction: column;
    }
    main{
        flex-direction: column;
        overflow-x: hidden;
        width: 100%;
        z-index: -1;
    }
    .left-div{
        width: 100%;
    }
    .left-div .top-h1{
        margin-top: 1em;
    }
    .button-div{
        width: 100%;
        /* justify-content: center; */
    }
    .open-account{
        margin-top: 1em;
    }
    .right-div{
        width: 100%;
        min-height: 60vh;
        margin-top: 1em;
        margin-bottom: 2em;
        align-items: center;
    }
    .sign-in{
        margin: 1em 0;
        display: flex;
    }
    .sign-in .login-h2{
        margin-top: 1em;
    }
    .sign-in .login{
        margin-bottom: 1em;
    }
}
