
html, body{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
  
.bg {

    /* height: 100%; */
    width: 100%;
    margin: 0;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
    overflow-y: hidden;
    overflow-x: hidden;
    /* display: table; */
    /* min-width: 100%; */
    background-size: 100vw 100vh;
}

.shadow {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgb(227, 230, 231);
    opacity: 0.6;
}


/* universal classes */
.text {
    color: white;
}

#startDiv {
    position: absolute;
    background-color: rgb(131, 206, 240);
    /* opacity: 0.9; */
    border-radius: 25px;
    height: 60%;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

}

.startHeader {
    position: absolute;
    right: 6%;
    top: 3vh;
    font-size: 10vw;
    /* font-family: Georgia, 'Times New Roman', Times, serif; */
    font-family: "Noto Sans Hebrew", sans-serif;

    font-weight: 500;
}

.roadLogo {
    position: absolute;
    z-index: 1;
    height: 6vh;
    width: 15vw;
    top: 3.5vh;
    left: 4vw;
}

.startText {
    position: absolute;
    direction: rtl;
    text-align: center;
    font-size: 5vw;
    top: 18vh;
    font-family: "Noto Sans Hebrew", sans-serif;

}

#startBtn {
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translate(-50%);
    width: 20vw;
    height: 6vh;
    font-size: 5vw;
    color: rgb(131, 206, 240);
    border-radius: 25px;
    border-color: transparent;
    text-align: center;
    padding: 0;

}

/* alert div  */

#alertDiv {
    position: absolute;
    background-color: rgb(221, 117, 97);
    opacity: 0;
    border-radius: 25px;
    height: 40%;
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: smoothAppear 3s ease forwards;
}

.alertHeader {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 34%;
    width: 90vw;
    font-size: 7vw;
    /* font-family: Georgia, 'Times New Roman', Times, serif; */
    font-family: "Noto Sans Hebrew", sans-serif;

    font-weight: 550;
    text-align: center;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #000000c2;
}

.alertLogo {
    position: absolute;
    z-index: 1;
    height: 10vh;
    width: 45vw;
    top: 5%;
    left: 50%;
    transform: translate(-50%);
    opacity: 0.8;
}

.alertText {
    position: absolute;
    direction: rtl;
    font-size: 5vw;
    top: 20vh;
    left: 50%;
    transform: translate(-50%);
    width: 90%;
    text-align: center;
    margin:0;
    margin-top: 10px;
    margin-bottom: 20px;
    color: black;
    font-family: "Noto Sans Hebrew", sans-serif;

    /* color: rgb(255, 153, 0); */

}

#alertBtn {
    position: absolute;
    bottom: 2vh;
    left: 50%;
    transform: translate(-50%);
    width: 20vw;
    height: 6vh;
    font-size: 5vw;
    border-radius: 25px;
    background-color: rgb(221, 215, 215);
    border-color: transparent;
    text-align: center;
    color: black;
    padding: 0;
}

/* keyframes  */


@keyframes smoothAppear {
    0%{
        opacity: 0;
    }
    /* 25%{
        opacity: 0.2;
    } */
    50%{
        opacity: 0.5;
    }
    /* 75%{
        opacity: 0.7;
    } */
    100%{
        opacity: 1;
    }
}

@keyframes flicker {
    0%{
        opacity: 1;
    }

    50%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes lowFlicker {
    0%{
        opacity: 0.4;
    }

    50%{
        opacity: 0;
    }

    100%{
        opacity: 0.4;
    }
}

/* locations  */

.location{
    position: absolute;
    width: 10vw;
    height: 9vh;
}

#location1{
    top: 42vh;
    left: 42vw;
}

#location2{
    top: 26vh;
    left: 70vw;
}

#location3{
    top: 18vh;
    left: 82vw;
}

#location4{
    top: 39vh;
    left: 53vw;
}

#location5{
    top: 30vh;
    left: 82vw;
}

.animated{
    animation: flicker 2s infinite;
}

.lowAnimated{
    animation: lowFlicker 2s infinite;
}

.lowLocation{
    opacity: 0.4;
}

/* info */

.info{
    position: absolute;
    background-color: antiquewhite;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 25px;
    color: black;

}

.closeInfo{
    position: absolute;
    width: 11%;
    height: 7%;
}

#info1{
    width: 90%;
    height: 82%;   
}

#closeInfo1{
    top: 2vh;
    left: 2vw;
}
#closeInfo2{
    top: 22vh;
    left: 2vw;
}

#vid2{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 215px;
    transform: translate(-50%,-50%);
}

#vid3{
    position: absolute;
    top: 62%;
    left: 50%;
    width: 290px;
    height: 172px;
    transform: translate(-50%);
}

#vid4{
    position: absolute;
    top: 62%;
    left: 50%;
    width: 290px;
    height: 172px;
    transform: translate(-50%);
}

#info3{
    width: 85%;
    height: 85%;
}

#closeInfo3{
    top: 2vh;
    left: 2vw;
}

#info4{
    width: 85%;
    height: 85%;
}

#closeInfo4{
    top: 2vh;
    left: 2vw;
}

#info5{
    width: 95%;
    height: 95%;   
}

#closeInfo5{
    top: 2vh;
    left: 2vw;
}

.header{
    position: absolute;
    top: 2vh;
    left: 50%;
    width: 50vw;
    transform: translate(-50%);
    font-family: "Noto Sans Hebrew", sans-serif;
    font-size: 7vw;
    text-align: center;
}

.reimHeader{
    width: 87vw;
}

/*testimony*/
#header2{
    position: absolute;
    top: 24vh;
    left: 50%;
    width: 50vw;
    transform: translate(-50%);
    font-family: "Noto Sans Hebrew", sans-serif;
    
    font-size: 7vw;
    text-align: center;
    font-weight: 550;
    color: black;
}


.infoText{
    position: absolute;
    direction: rtl;
    left: 50%;
    transform: translate(-50%);
    width: 90%;
    text-align: center;
    font-family: "Noto Sans Hebrew", sans-serif;

}

#infoText1{
    top: 34vh;
    font-size: 4vw;
}

#infoText3{
    top: 12vh;
    font-size: 4.1vw;
}

#infoText4{
    top: 10vh;
    font-size: 4.3vw;

}

#infoText5{
    top: 46vh;
    font-size: 4vw;
    width: 95%;
    margin: 0;
}

#finishBtn {
    position: absolute;
    bottom: 5vh;
    left: 5vw;
    width: 22vw;
    height: 5vh;
    font-size: 5vw;
    background-color: rgb(185, 193, 197);
    color: black;
    border-radius: 25px;
    border-color: black;
}

.under{
    z-index: -1;
}

#credits{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 60%;
    border-radius: 25px;
}

.carouselSize{
    top: 11%;
    left: 50%;
    transform: translate(-50%);
    width: 90%;
}

.carouselSize2{
    top: 10%;
    width: 90%;

}

#unavailable{
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 2;
}


/* media queries  */

@media only screen and (min-width: 390px) {

    #info3, #info1, #info4{
        height: 95% !important;
    }
    #infoText1 {
        top: 44vh;
    }

}

@media   only screen and (min-width: 430px) {
    #alertDiv {
        width: 90%;
    }

}




@media only screen and (max-width: 375px) {
    .roadLogo {
        height: 8vh;
        width: 17vw;
        left: 2vw;
    }
    #info3 #info1 #info4{
        height: 95%;
    }

}

@media only screen and (max-width: 330px) {
    .roadLogo {
        height: 8vh;
        width: 18vw;
    }

}