:root {
    --myBlue: #1E305C;
    --myred: #D21919;
    --myOrange: #FF4032;
    --myPale: #FAF2F2;
    --myDisabledGrey: #CFCFCF;
    --myButtonFont: 'Gotham', sans-serif;
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
    overflow-x: hidden;
}

@media (max-width: 500px) {
    body {
        background-color: lightsteelblue;
    }
}

@media (max-width: 400px) {
    body {
        background-color: lightsteelblue;
    }
}

@media (max-width: 375px) {
    body {
        background-color: lightsteelblue;
        ;
    }
}

#otherStuff,
#divLogin,
#divPromoterName,
#mainMenu,
#divCheckIn,
#divNoCheckInAvailable,
#divPhoto,
#divPhotoBook,
#audio.snap,
#divSpinner,
#divFreeText,
#divReport,
#divReportPictures,
#divMessageInOK,
#divMessageOutOK {
    text-align: center;
}


#divLogo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color:#1E305C;*/
    background-color: black;
    z-index: 6;
}

@media (max-width: 500px) {
    #divLogo {
        background-color: black;
    }
}

@media (max-width: 400px) {
    #divLogo {
        background-color: black;
    }
}

@media (max-width: 375px) {
    #divLogo {
        background-color: black;
    }
}

#otherStuff {
    position: fixed;
    display: flex;
    flex-direction: column;
    background-color: lightsteelblue;
    margin-top: 25%;
    min-height: 75%;
    height: 75%;
    width: 100%;
}

@media (max-width: 500px) {
    #otherStuff {
        margin-top: 35%;
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
    }
}

@media (max-width: 400px) {
    #otherStuff {
        margin-top: 30%;
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
    }
}

@media (max-width: 375px) {
    #otherStuff {
        margin-top: 25%;
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
    }
}

#divLogin {
    display: block;
    position: fixed;
    margin-top: 30%;
    z-index: 2;
}


#allButtons {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: black;
    flex-direction: column;
    text-align: center;
    z-index: 3;

}

@media (max-width: 500px) {
    #allButtons {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    #allButtons {
        font-size: 22px;
    }
}

@media (max-width: 375px) {
    #allButtons {
        font-size: 22px;
    }
}


#onlyButtons {
    display: flex;
    flex-direction: row;
    width: 95%;
    align-items: center;
    justify-content: space-around;
    background-color: transparent;
    z-index: 4;
}



#onlyText {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--myBlue);
    color: white;
    font-size: 14px;
    z-index: 4;
}



#text5DigitsMessage {
    margin-top: 5%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    color: black;
}

@media (max-width: 500px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 22px;
        color: #1E305C;
    }
}

@media (max-width: 400px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 20px;
        color: #1E305C;
    }
}

@media (max-width: 375px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 20px;
        color: black;
    }
}



#inputCode {
    height: 42px;
    width: 40%;
    border-style: outset;
    border-width: 1px;
    border-color: #D21919;
    border-radius: 4px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 38px;
    color: var(--myBlue);
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 30px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family:Verdana, Geneva, Tahoma, sans-serif;
        border-color: black;
    }
}

@media (max-width: 400px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 30px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        border-color: var(--myBlue);
    }
}

@media (max-width: 375px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 28px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        border-color: black;
    }
}

#btnLogin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    height: 42px;
    width: 40%;
    font-size: 32px;
    color: white;
    background-color: #FF4032;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: transparent;
}

@media (max-width: 500px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}

@media (max-width: 400px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}

@media (max-width: 375px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}


#divLoginError {
    background-color: transparent;
    border-style: dashed;
    border-width: 5px;
    border-color: transparent;
}

#loginError {
    font-size: 20px;
    color: #D21919;
}

#divPromoterName {
    display: flex;
    /*margin-top: 20%;*/
    height: 14px;
    background-color: var(--myBlue);
    overflow: hidden;
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (max-width: 500px) {
    #divPromoterName {
        /*margin-top: 20%;*/
        color: white;
        background-color: var(--myBlue);
        height: 20px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    #divPromoterName {
        /*margin-top: 30%;*/
        color: white;
        background-color: var(--myBlue);
        height: 19px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    #divPromoterName {
        /*margin-top: 33%;*/
        color: white;
        background-color: var(--myBlue);
        height: 18px;
        font-size: 13px;
    }
}


#promoterName {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    vertical-align: middle;
}

#allText1 {
    width: 90%;
    display: inline-block;
    /* Make the paragraph behave like a block */
    animation: scrollText 6s linear infinite;
    /* Add a CSS animation for scrolling */
    white-space: nowrap;
    /* Prevent text from wrapping to the next line */
    animation: scrollText 6s linear infinite;
    /* Add a CSS animation for scrolling */
}


@keyframes scrollText {
    0% {
        transform: translateX(100%);
        /* Initial position, move text to the right */
    }

    100% {
        transform: translateX(-100%);
        /* Move text to the left */
    }
}


#btnShiftCheck {
    margin-top: 5%;
    height: 120px;
    width: 90%;
    font-size: 24px;
    color: darkblue;
    background-color:  whitesmoke;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: darkblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
}

@media (max-width: 500px) {
    #btnShiftCheck {
        margin-top: 5%;
        width: 90%;
        height: 110px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #btnShiftCheck {
        margin-top: 5%;
        height: 95px;
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    #btnShiftCheck {
        margin-top: 5%;
        height: 90px;
        width: 90%;
        font-size: 14px;
    }
}


#btnShiftCheck2 {
    margin-top: 5%;
    height: 120px;
    width: 90%;
    font-size: 24px;
    color: darkblue;
    background-color: whitesmoke;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: darkblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
}

@media (max-width: 500px) {
    #btnShiftCheck2 {
        margin-top: 5%;
        width: 90%;
        height: 110px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #btnShiftCheck2 {
        margin-top: 5%;
        height: 95px;
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    #btnShiftCheck2 {
        margin-top: 5%;
        height: 90px;
        width: 90%;
        font-size: 14px;
    }
}


#btnShiftCheck3 {
    margin-top: 5%;
    height: 120px;
    width: 90%;
    font-size: 24px;
    color: darkblue;
    background-color: whitesmoke;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: darkblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
}

@media (max-width: 500px) {
    #btnShiftCheck3 {
        margin-top: 5%;
        width: 90%;
        height: 110px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #btnShiftCheck3 {
        margin-top: 5%;
        height: 95px;
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    #btnShiftCheck3 {
        margin-top: 5%;
        height: 90px;
        width: 90%;
        font-size: 14px;
    }
}

#btnFarAway {
    margin-top: 3%;
    height: 90px;
    width: 90%;
    font-size: 24px;
    color: white;
    background-color: #FF4032;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: #FF4032;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
}

@media (max-width: 500px) {
    #btnFarAway {
        margin-top: 3%;
        width: 90%;
        height: 85px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #btnFarAway {
        margin-top: 3%;
        height: 80px;
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    #btnFarAway {
        margin-top: 3%;
        height: 75px;
        width: 90%;
        font-size: 14px;
    }
}


#btnNoCheckInAvailable {
    margin-top: 3%;
    height: 90px;
    width: 90%;
    font-size: 24px;
    color: white;
    background-color: #FF4032;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: #FF4032;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    cursor: pointer;
}

@media (max-width: 500px) {
    #btnNoCheckInAvailable {
        margin-top: 3%;
        width: 90%;
        height: 85px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    #btnNoCheckInAvailable {
        margin-top: 3%;
        height: 80px;
        width: 90%;
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    #btnNoCheckInAvailable {
        margin-top: 3%;
        height: 75px;
        width: 90%;
        font-size: 14px;
    }
}

#divPhotoBook {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;

    border-style: solid;
    border-width: 4px;
    border-radius: 10px;
    border-color: red;
    background-color: transparent;
}

#divPhotoBook.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
#divPhotoBook .centered-container {
    text-align: center;
}
*/

#btnClick {
    display: block;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F2F3F4;
    border-color: red;
    border-style: solid;
    z-index: 4;
    border-width: 2px;
}
@media (max-width: 400px) {
    #btnClick {
        border-width: 1px;
    }
}
@media (max-width: 500px) {
    #btnClick {
        border-width: 1px;
    }
}



#btnRetry {

    display: block;
    width: 33%;
    height: 60%;
    border-style: solid;
    border-radius: 4px;
    border-width: 2px;
    border-color: var(--myOrange);
    color: white;
    background-color: var(--myOrange);
    z-index: 4;
}

#btnSendPhoto {

    display: block;
    width: 33%;
    height: 60%;
    border-style: solid;
    border-radius: 4px;
    border-width: 2px;
    border-color: darkgreen;
    color: white;
    background-color: darkgreen;
    z-index: 4;
}

#textPromoterName {
    font-size: 12px;
    white-space: nowrap;
}

#textEventName {
    font-size: 12px;
    white-space: nowrap;
}


#textCurrentAddress {
    font-size: 12px;
    white-space: nowrap;
}

#textCurrentDateTime {
    font-size: 12px;
    white-space: nowrap;
}

#btnSuccess {
    display: block;
    width: 60%;
    height: 60%;
    border-style: solid;
    border-radius: 4px;
    border-width: 2px;
    border-color: darkgreen;
    color: white;
    background-color: darkgreen;
    z-index: 4;
}

@media (max-width: 500px) {
    #btnSuccess {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    #btnSuccess {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    #btnSuccess {
        font-size: 12px;
    }
}


#btnError {
    display: block;
    margin-top: 5%;
    width: 30%;
    border-style: solid;
    border-radius: 4px;
    border-width: 2px;
    border-color: darkred;
    background-color: darkred;
    color: white;
}

@media (max-width: 500px) {
    #btnError {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    #btnError {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    #btnError {
        font-size: 14px;
    }
}

#videoPhoto {
    /* Adjust the height as needed */
    /* This centers the element horizontally */
    /* Ensures it behaves as a block element */
    position: fixed;
    display: block;
    /* new */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-style: solid;
    border-radius: 4px;
    border-width: 4px;
    border-color: #1E305C;
    background-color: black;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 1;
    }
}

.blinking {
    animation: blink 1s infinite;
}

#divVersion{
    background-color: transparent;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    z-index: 8;
    display: block;
    position: fixed; /* Position the div */
    top: 0; /* Position at the top of the viewport */
    right: 5px; /* Align to the right of the viewport */
}