* {
    font-family: FreeMono, monospace;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #99780ba4;
}

body > #messageBox{
    position: absolute;
    top:0;
}

main {
    width: 80%;
    height: 80vh;
    display: flex; 
}

.loginPanel {
    width: 100%;
    height: 80vh;
    display: flex;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .212);
}

.imagePanel {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffd9863d;
    padding: 1rem;
}

.imagePanel img {
    width: 40rem;
}

.formPanel {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #ffffff88;
    padding: 3rem;
    overflow-y: auto;
}

.form::-webkit-scrollbar {
    width: 0.7vw;
}

.form::-webkit-scrollbar-track {
    background-color: transparent;
}

.form::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
}

.form::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.formHeader {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
}
.formHeader h1::after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.3rem;
    background-color: #facb67;
    border-radius: 10px;
}

.inputGroup {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 0;
}

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.1rem;
}

.inputBox input{
    margin: 0.6rem 0;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    box-shadow: 1px 1px 1px #0000001c;
}

.inputBox input::hover {
    background-color: #eeeeee75;
}

.inputBox input::focus-visible {
    outline: 1px solid #facb67;
}


.inputBox label {
    display: flex;
    font-size: 1.5rem;
    font-weight: 600;
    color:#353535e7;
}

.inputButton button {
    width: 100% ;
    height: 2.5rem;
    margin-top: 2rem;
    border: none;
    background-color: #ffb71d;
    border-radius: 5px;
    padding: 0.6rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    color: white
}

@media screen and (max-width: 1280px) {
    main {
        width: 80vw;
        height: 80vh;
    }

    .inputBox label {
        font-size: 0.75rem;
    }
    .imagePanel img {
        width: 30rem;
    }
    
    .formPanel {
        width: 92%;
    }
    
    .form {
        width: 100%;
        height: 100%;
    }

    .formButton button{
        margin: none !important;
        margin-top: none;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 900px) {
    main {
        width: 100vw;
        height: 100vh;
        display: flex; 
        background-image: url("../../Utils/Images/dog.png");
        background-size: 30rem;
        background-repeat: no-repeat; 
        background-position: center; 
    }

    .inputBox label {
        font-size: 0.75rem;
    }
    .imagePanel {
        display: none;
    }
    .loginPanel {
        width: 100%;
        height: 100vh;
    }
    .formPanel{
        width: 100%;
    }
}