
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
}

body {
    background: white;
    width: 100vw;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    font-family: 'K2D', sans-serif;
    font-size: 22px;
}

a {
    text-decoration: none;
    color: black;
}

.infoPart {
    bottom: 7px !important;
}

#parentDiv {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

#contentDiv {
    /*background: url("/static/Pictures/backgroundDesktop1.svg") no-repeat top white;*/
    background-size: 100% 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
}

.cardDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 500px;
    height: 100%;
    max-height: 700px;
    margin: 0 auto;
    transition: all 0.2s ease-in-out;
}

#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25vh;
    margin-top: 5%;
}

#logo > img {
    width: 20%;
    min-width: 18vw;
    max-width: 170px;
    height: auto;
    position: absolute;

}

#pollForm {
    width: 100%;
}

#loginPageButtonContainer {
    display: flex;
    justify-content: end;
    flex-direction: column;
    color: darkgrey;
    width: 100%;
    margin: 0 auto;
    height: fit-content;
}


#loginPageInputFields {
    color: #000000;
    width: 90%;
    height: fit-content;
    margin-top: 5%;
    margin-bottom: 20%;
}


.InputFieldContainer {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    width: 90%;
    margin: 5% auto 2% auto;
}


.inputField {
    width: 100%;
    height: 65%;
    font-size: 20px;
    margin: 10px auto;
}


.blueUnderline {
    background: #D6DFF6;
    width: 100%;
    height: .2em;
    margin-top: .1em;
}

.inputFieldStyle {
    display: flex;
    border: none;
    font-size: 1em;
    width: 100%;
    height: 30%;
}

input {
    width: 80%;
    height: clamp(30px, 5vh, 40px);
}


/*.buttonStyle {
    display: flex;
    justify-content: center;
    background: #D6DFF6;
    align-items: center;
    font-size: clamp(16px, 1.6vw, 22px);
    width: 100%;
    height: clamp(30px, 8vh, 60px);
    border-radius: 18px;
    box-shadow: 3px 3px 5px lightgrey;
}*/


.buttonStyle {
    display: flex;
    justify-content: center;
    background: #D6DFF6;
    align-items: center;
    font-size: clamp(16px, 1.6vw, 22px);
    width: 100%;
    height: clamp(30px, 8vh, 60px);
    border-radius: 18px;
    box-shadow: 1px 1px 4px lightgrey;
    border-color: #888888;
    border-style: solid;
    border-width: 1px;
}

.editButton {
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 0 auto;
    height: fit-content;
    color: #083AA6;
    border-radius: 8px;
    background-color: #D6FFB0;
    
}



.inButtonArrowPicture {
    position: absolute;
    justify-content: end;
    margin-left: 250px;
    margin-top: 3px;
    height: 28px;
}

.arrowButtonContainer {
    display: flex;
    justify-content: space-between;
    align-content: center;
    min-width: 300px;
    width: 90%;
    height: 90px;
    margin-top: 30px;
}


label:has(+ input:not(:placeholder-shown):invalid) > div:after {
    /* margin-bottom: 1px; */
    padding-left: 10px;
    content: "die ID besteht aus exakt 5 Ziffern";
    color: #998999;
    font-size: .75em;
    /* margin-top: -2px; */
    /* padding-top: 10px; */
    /* height: 100%; */
    /* display: inline; */
    /* min-height: 100px; */
    position: absolute;
    /* top: 4px; */
    /* width: 300px; */
    /* left: 24px; */
    /* text-align: right; */
    /* width: 200px; */
    /* display: block; */
    /* margin-top: -24px; */
    /* vertical-align: bottom; */
    /* top: 50%; */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.loginInput {
    display: block;
    height: 34px;
 }

.arrowButtonLeft {
    background: url("/static/Pictures/arrowButtonLeft.svg") no-repeat;
    margin-left: 20px;
}

.arrowButtonRight {
    background: url("/static/Pictures/arrowButtonRight.svg") no-repeat;
    margin-right: 20px;
}

.arrowButtonLeftGreyedOut {
    background: url("/static/Pictures/buttonLeftGreyedOut.svg") no-repeat;
    margin-left: 20px;
}

.arrowButtonRightGreyedOut {
    background: url("/static/Pictures/buttonRightGreyedOut.svg") no-repeat;
    margin-right: 20px;
}

.uiCheck {
    background: url("/static/Pictures/checkmark.svg") no-repeat;
    margin-right: 25px;
}

#progressContainer {
    width: 25%;
    height: 15px;
    background-color: #ddd;
    margin-top: 38px;
}

#progressBar {
    width: 100%;
    height: 100%;
    background-color: #a7d97c;
    transition: width 0.1s linear;
}

.arrowButtonRight,
.arrowButtonLeft,
.arrowButtonLeftGreyedOut,
.arrowButtonRightGreyedOut,
.uiCheck {
    background-size: cover;
    width: 90px;
    height: 90px;
    border: none;
}

/*.autoSlide .arrowButtonRight
{
    visibility: hidden;
}*/

.autoButtonPadding {
    height: 20px;
}

.greyLineInstructionsContainer {
    background: #D9D9D9;
    height: 2px;
    width: 90%;
    margin: 0 auto;
}

.instructionContainer {
    width: 100%;
    height: fit-content;
    font-family: 'K2D', sans-serif;
    font-size: 14px;
    margin-top: 3vh;
}

.instructionHeader {
    font-family: 'K2D', serif;
    color: #083AA6;
    font-size: 20px;
    margin-left: 5%;
}

.instructionText {
    display: flex;
    align-items: center;
}

.instructionIcons {
    width: 40px;
    height: auto;
    margin-right: 15px;
    margin-left: 5%;
}


#infoBoxContainer {
    display: none;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    background-color: #888888aa;
    position: absolute;
    left: 0;
    top: 0;
}

.infoBoxContent {
    padding-left: 30px;
    padding-right: 30px;
    background-color: #ffffffee;
    line-height: 200px;
    #ffffff;
    border-radius: 20px;
    border: 3px;
    border-style: solid;
    margin-right: auto;
    margin-left: auto;
    top: calc(50vh - 100px);
    width: 240px;
    height: 200px;
    position: relative;
}


.infoBoxCloseButton {
    position: absolute;
    right: 10px;
    top: 10px;
    display: inline-block;
    vertical-align: top;
    line-height: 100%;
    cursor: pointer;
}


.infoBoxTitle {
    position: absolute;
    left: 0;
    text-align: center;
    top: 28px;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    line-height: 100%;
}

.messageText {
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    line-height: 100%;
    font-size: .9em;
    width: 100%;
}

.deleteButtonForEditPage{
    background-size: cover;
    background-image: url('../Pictures/bin.png');
}



/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
@media (min-width: 250px) {
    #parentDiv {
        height: 100%;
    }

    #contentDiv {
        background-size: 100%;
        height: 100%;
        margin: 0 auto;
    }
    
    #logo > img {

        min-width: 165px;
        max-width: 200px;
    }
    
}


@media (min-width: 450px ) {
   
    
    .cardDiv {
        margin-right: clamp(0%, 12vw, 45%);
    }

    #logo > img {
        min-width: 165px;
        max-width: 200px;
    }
}


@media (min-width: 768px) {
 

}


@media (min-width: 1024px) {


  
}

@media (min-width: 1280px) {


    #contentDiv {
        width: 1280px;
        height: 100%;
        margin: 0 auto;
    }

    .cardDiv {
        margin-right: clamp(0%, 12vw, 10%);;
    }
}

@media (min-height: 200px) {

    #logo > img {
        min-width: 100px;
        max-width: 120px;
    }
}


@media (min-height: 600px) {
    
    #logo > img {
        min-width: 140px;
        max-width: 165px;
    }
}



