body {
    height: 100vh;
    background-image: url('../img/spacenoalpha.jpg');
    background-color: #333;
    font-family: Tahoma, Geneva, sans-serif;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

button[type="submit"] {
    
    background-color: #333;
    color: white;
    padding: 0.5rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    width: 50%;
}

.loginContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(253, 253, 253);
    padding: 1rem;
    border-radius: 10px;
    min-width: 400px;
}

.loginContainerInnerWrapper {
   width: 80%;
   display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loginContainerInnerWrapper h2 {
 /* make centered */
    text-align: center;

}


.loginContainer[data-state="service"] #loginWithGlupus {
    display: none;
}

.loginContainer[data-state="service"] #signUpWithGlupus {
    display: none;
}

.loginContainer[data-state="glupuslogin"] #loginWithGlupus {
    display: flex;
}

.loginContainer[data-state="glupuslogin"] #signUpWithGlupus {
    display: none;
}

.loginContainer[data-state="glupuslogin"] #loginServiceSelector {
    display: none;
}

.loginContainer[data-state="signup"] #loginWithGlupus {
    display: none;
}

.loginContainer[data-state="signup"] #signUpWithGlupus {
    display: flex;
}

.loginContainer[data-state="signup"] #loginServiceSelector {
    display: none;
}



.loginHeader {
    height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#topLogo {
    height: 10rem;
    width: auto;
    cursor: pointer;
}


#middleSection {
    display: flex;
    justify-content: center;
}

#topSection {
    height: 20%;
    display: flex;
    justify-content: center;
}

#bottomSection {
    height: 20%;
}



.inputGroup {
    display: flex;
    flex-direction: column;
    margin: 10px;
    width: 90%;
}

.inputGroup label {
    margin: 5px;
}

.inputGroup input {
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid #333;
    font-size: 1rem;
}

.loginServiceButton{

    min-width: 100%;
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #ffffff;

}

#feideImg {
    height: 1rem;
    width: auto;

}

input:invalid:focus {
    border-color: red;
    box-shadow: 0 0 5px 1px red;
}

.error {
    color: red;
    
    display: none;
}

input:invalid + .error {
    display: inline;
}



/* if vertical */
@media screen and (orientation: portrait) {
    #topSection {
        height: 5%;
    }

    #bottomSection {
        height: 5%;
    }
}