body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    background-color: #fafafa;
    width: 100%;
    height: 100%;
    margin: 0;
}

.mainContainer {
    width: 50%;
    min-width: 460px;
    max-width: 800px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    position: absolute;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

.leftContainer {
    width: 100%;
    height: 460px;
}

.rightContainer {
    width: 240px;
    height: 460px;
    background-color: #0d0e26;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rightContainerBig {
    width: 240px;
    height: 760px;
    background-color: #0d0e26;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portalHeadline {
    font-size: 22px;
    font-weight: 700
}

.formTitle {
    padding-top: 24px;
    font-size: 18px;
    margin: 16px;
    text-align: center;
}

.paragraphBar {
    border-left: 2px solid darkgray;
    padding-left: 16px;
}

.footer {
    margin: 12px auto;
    position: absolute;
    bottom: 16px;
    font-size: 12px;
}

.baseform {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.buttonarea {
    min-height: 300px;
    width: 40vw;
    height: 40vh;
    display: flex;
    align-content: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.475);
    border-radius: 25px;
    position: absolute;
}
.buttonBox{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    align-items: center;
}

.baseform-register {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.formfield {
    width: 75%;
    position: relative;
    height: 48px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    background-color: white;
    /* border-radius: 8px; */
    /* border: 1px solid black; */
    border-bottom: 1px solid lightgray;
    align-items: center;
}

.formfield input {
    width: 100%;
    height: 100%;
    color: black;
    border: none;
    outline: none;
    padding-left: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.formfield img {
    padding: 5px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    /*filter: opacity(0.5);*/
}

button {
    background-color: #0d0e26;
    border-radius: 4px;
    cursor: pointer;
    color: #ffffff;
    height: 36px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    margin-top: 20px;
    min-width: 120px;
    font-family: 'Montserrat', sans-serif;
}

button:active {
    position: relative;
    top: 1px;
}

.error {
    color: #c21835;
    font-size: 14px;
    padding: 0px;
    margin: 0;
    margin-top: 4px;
    width: 75%;
    padding-left: 20px;
    font-family: 'Montserrat', sans-serif;
}

.logo {
    top: -35px;
    position: absolute;
    background-color: rgba(255, 255, 255, 1);
}

.dot {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -50px;
    position: absolute;
    background-image: linear-gradient(#065b7d, #003251);
}

.outerform {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-top: 10px;
}

.redirect {
    background-image: linear-gradient(#065b7d, #003251);
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.5vh;
    font-weight: bold;
    border: none;
    width: 40%;
    text-align: center;
    margin-left: 25px;
    font-family: 'Montserrat', sans-serif;
}

.redirect:hover {
    background-image: linear-gradient(#003251, #003251);
}

.redirect:active {
    position: relative;
    top: 1px;
}

.buttons {
    display: flex;
    width: 60%;
    flex-flow: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    align-content: flex-start;
}

.redirect:nth-child(2n-1) {
    margin-left: 0px;
}

.textarea {
    width: 50vw;
    height: 40vh;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: absolute;
    white-space: pre;

}

.textarea span {
    text-align: center;
    line-height: 2;
    font-size: 1.5vh;
    white-space: pre-line;
    max-width: 80%;
    font-family: 'Montserrat', sans-serif;
}

.outertextarea {
    width: 50vw;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.475);
    border-radius: 25px;
    position: absolute;

}

.backbtn {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 3vw;
    padding-top: 3vh;
    cursor: pointer;
    z-index: 1;
}

.backarrow {
    width: 7vw;
    height: 7vh;
    filter: invert(1);
}

input[type=checkbox] {
    transform: scale(1.5);
}

.gbtscb {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 5vh;
    font-size: 14px;
    margin: 16px;
    width: 75%;
    font-family: 'Montserrat', sans-serif;
}

a:visited {
    color: #0cb3fa;
}

a {
    font-size: 14px;
    color: #0cb3fa;
}

.loginlink {
    font-size: 3vh;
    margin-top: 2vh;
    font-weight: bold;
}

.textbox {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-bottom: 1vh;
    margin-top: 90px;
}

.normalspan {
    width: 90%;
    text-align: center;
}

.registrationContainer {
    height: 760px;
}

.emsuLogo {
    width: 0;
    height: 0;
}

@media screen and (max-width: 768px) {

    body {
        align-items: baseline;
        flex-direction: initial;
    }

    :root {
        --logo-size: 128px;
    }

    .mainContainer {
        width: 90vw;
        height: auto;
        min-height: 30vh;
        min-width: 0;
        margin-top: 16px;
    }

    .registrationContainer {
        height: auto;
    }

    .emsuLogo {
        width: var(--logo-size);
        height: var(--logo-size);
        padding-top: 24px;
        margin-left: calc(50% - var(--logo-size) / 2);
    }

    .portalHeadline {
        visibility: hidden;
    }

    .formTitle {
        padding-top: 0;
        margin: 0;
    }

    .leftContainer {
        height: auto;
    }

    .rightContainer {
        width: 0;
        height: 0;
    }

    .rightContainerBig {
        width: 0;
        height: 0;
    }

    .formTitle {
        font-size: 1.2em;
    }

    .formfield input {
        font-size: 1em;
    }

    button {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
}

.langContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 15vw;
    height: 10vw;
    cursor: pointer;
    z-index: 1;
}

.langIcon {
    width: 5vw;
    height: 3vw;
    margin: 0 2px;


}

.langIcon img {
    max-width: 24px;
    max-height: 24px;
    width: 100%;
    height: 100%;
}

.eyeicon {
    cursor: pointer;
}
.radioGroup{
    display: flex;
    flex-direction: column;
    width: 80%;
    justify-content: center;
    align-items: center;
    height: 60%;
}
.option{
    display: flex;
    flex-direction: row;
    width: 50%;
    height: 30px;
    justify-content: flex-start;
    align-items: center;
    div{
        margin-left: 20px;
        display: flex;
        justify-content: center;
    }
}
