/* Global Style */

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    font-family: 'Rubik', sans-serif;
}

button {
    font-family: 'Rubik', sans-serif;
}

.hide {
    display: none;
}

.homeButton {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    margin-left: 2.2vw;
    margin-top: 4.5vh;
    display: inline-block;
}

.homeImg{
    position: absolute;
}

.homeImage {
    content: url("./img/btn_home_nor.png");
    height: 4vw;
    width: auto;
    display: none;
    /* margin-left: 2.2vw;
    margin-top: 4.5vh;
    display: inline-block; */
}
.homeImage:hover {
    content: url("./img/btn_home_hov.png");
}

.quitButton {
    background: none;
    border: none;
    cursor: auto;
    outline: none;
    margin-left: 92.3vw;
    margin-top: 2.2vh;
    display: inline-block;
}

.quitImage {
    content: url("./img/btn_quit_nor.png");
    height: 4vw;
    width: auto;
    /* margin-left: 92.3vw;
    margin-top: 2.2vh;
    display: inline-block; */
}


/* End Global Style */


/* First Page Options */

.trpv {
    background-image: url('./img/BG.png');
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: auto;
}

.wrapper {
    /* display: grid;
    grid-template-columns: 2.2fr 1.2fr;
    justify-items: center; */
    align-items: center;
    display: flex;
    justify-content: space-around;
    height: 100vh;
    padding: 7% 2%;
}

#begin{
    padding: 1vw 0 0 0;
}

.controls button,
.start button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.introduction {
    margin-bottom: 3vw;
}

.introduction h2 {
    font-size: 6vw;
    line-height: 6vw;
    font-weight: inherit;
}

.controls {
    /* display: grid;
    row-gap: 4vw; */
    display: flex;
    flex-direction: column;
}

#b3, #b4{
    /* padding: 10vh 0 4vh 0; */
    padding: 6vw 0 1vw 0;
}

.controls button img {
    height: 15vw;
    width: 15vw;
    display: inline-block;
}

.card10 {
    content: url("./img/PlayVideo_nor.png");
}

.card11 {
    opacity: 0.2;
    content: url("./img/gotoquiz.png");
}

.card10:hover {
    content: url("./img/PlayVideo_hov.png");
}

.card {
    content: url("./img/gotoquiz.png");
}

.card:hover {
    content: url("./img/gotoquiz_hov.png");
}

.card1 {
    content: url("./img/replayvideo.png");
}

.card1:hover {
    content: url("./img/replayvideo_hov.png");
}


/* End First Page Options */


/* Second Page Video */

#videoPlayer {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.circle {
    position: absolute;
    top: 1vw;
    right: 1vw;
    background: transparent;
    width: 4vw;
    height: 4vw;
    border-radius: 50%;
    font-size: 2vw;
    font-weight: 900;
    color: #53535B;
    line-height: 3.8vw;
    text-align: center;
    border: 0.2vw solid #53535B;
}

.circle:hover {
    background-color: #F2A83F;
}


/* End Second Page Video */


/* Third Page Welcome */

.wrap {
    /* display: grid;
    grid-template-columns: 2fr 3fr;
    justify-items: center; */
    align-items: center;
    display: flex;
    justify-content: space-around;
    height: 100vh;
    padding: 12% 5%;
    grid-gap: 13vw;
}

.start {
    text-align: center;
}

.start h1 {
    font-size: 7vw;
    line-height: 6vw;
    font-weight: 100;
    letter-spacing: 1px;
    color: #fff;
}

.instructions h3 {
    font-size: 3vw;
    line-height: 10vw;
    font-weight: 100;
    letter-spacing: 0.1vmin;
    color: #fff;
    font-weight: 700
}

.instructions h2{
    padding: 1vw 0;;
}

.start h2,
.instructions h2 {
    font-size: 2.5vw;
    line-height: 3vw;
    font-weight: 500;
    color: #fff;
}

.card2 {
    content: url("./img/btn_start_nor.png");
    height: 14vw;
    width: auto;
    display: inline-block;
}

.card2:hover {
    content: url("./img/btn_start_hov.png");
}
/* End Third Page Welcome */


/* Fourth Page Questions */

.quizQuestion {
    border: 1.6vw solid #F2A83F;
    height: 100vh;
}

#container {
    margin: 2vw 11vw;
    height: 75vh;
}

#question h1 {
    font-size: 5vMin;
}

#choices {
    margin: 8vmin 3vw 7vmin 3vw;
}

.chose {
    display: flex;
    padding: 1vw 0vw;
}

.choice {
    padding: 0 2vw;
    letter-spacing: 0.1vmin;
    align-self: center;
    cursor: pointer;
    font-size: 3.8vMin;
}

.circles {
    width: 7vMin;
    height: 7vMin;
    border-radius: 50%;
    font-size: 3vMin;
    font-weight: 900;
    color: #53535B;
    line-height: 6.8vMin;
    text-align: center;
    background: #E0E0E0;
    border: 0.4vMin solid #53535B;
    cursor: pointer;
}

.circles:hover {
    background-color: #F2A83F;
}


/* Progress Bar */

#progress {
    background-repeat: no-repeat;
    position: sticky;
    position: -webkit-sticky;
    bottom: calc(4vh + 48px);
}

.prog {
    display: inline-block;
    margin-left: -1vw;
    height: 7vMin;
    width: auto;
}


/* Prompt Window  */

.score {
    background: #E0E0E0;
    padding: 4vmin 6% 4vmin 6%;
    height: auto;
    margin: -3% 0% 0% 5%;
    width: 68vw;
    border-radius: 25px;
}

.score h2 {
    font-size: 6.5vmin;
    line-height: 4vmin;
    font-weight: 500;
    letter-spacing: 0.1vmin;
    text-align: center;
    padding: 15px 0px;
}

.score h3 {
    font-size: 3.4vmin;
    line-height: 4.3vmin;
    letter-spacing: 0.1vmin;
    padding: 1vw 0 0 0;
    color: #111;
    font-weight: 100;
}

#scoreWindow {
    font-size: 3.3vw;
    line-height: 3.5vw;
    letter-spacing: 0.5px;
    font-weight: 100;
}

.answerCheck {
    display: flex;
    justify-content: space-between;
}

.nextQueButtons {
/*    justify-content: space-evenly; */
    justify-content: space-around;
    display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -webkit-box;
    margin: 5vmin 0 0;
}


@supports not (-ms-ime-align: auto) {
	justify-content: space-evenly;
}


.nextQueButtons button {
    padding: 1vw 1.5vw;
    border-radius: 24px;
    background: white;
    border: 3px solid #53535B;
    font-size: 2vw;
    text-decoration: none;
    color: #53535B;
    outline-style: none;
    cursor: pointer;
}

.nextQueButtons button:hover {
    background-color: #F2A83F;
}

.points {
    font-size: 3vmin;
}

/* Reference Window */

.referenceBox {
    background: #E0E0E0;
    width: 100%;
    margin: auto;
    border-radius: 30px;
    padding: 2% 2% 2% 6%;
}

.refer{
    overflow: hidden;
}

.refer h1 {
    font-size: 4vw;
    font-weight: 100;
    float: left;
}

.referenceBox h3 {
    padding: 10px 0 0 0;
    color: #111;
    width: 95%;
    font-size: 16px;
    font-weight: 100;
}

.refer div {
    float: right;
}

.circleReference {
    position: absolute;
    top: 4vh;
    right: 3%;
    background: transparent;
    display: none;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    font-size: 2.5em;
    font-weight: 100;
    color: #53535B;
    line-height: 4.4rem;
    text-align: center;
    border: 3px solid #53535B;
}

.circleReference:hover {
    background-color: #F2A83F;
}

.linkColor {
    color: blue;
    cursor: pointer;
}
.linkColor:hover{
    text-decoration: underline;
}
/* End Fourth Page Questions */

/* Media Query */

@media screen and (max-width: 900px) and (min-width: 100px) {
    .nextQueButtons button{
        border-radius: 15px;
    }

    .circles {
        width: 6vMin;
        height: 6vMin;
        line-height: 5.8vMin;
    }

    .score, .referenceBox{
        border-radius: 17px;
    }

    #progress{
        bottom: calc(2vmin + 36px);
    }
    /* .prog {
        margin-left: -2vw;
        height: 5vMin;
    } */
}

@media screen and (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    justify-content: center;
  }
  .introduction h2 {
    font-size: 26px;
    line-height: 30px;
  }
  .controls button img {
    width: 80px;
    height: 80px;
  }

  .welcome .wrap {
    flex-direction: column;
    justify-content: center;
    grid-gap: 7vw;
  }
  .instructions h3 {
    font-size: 20px;
  }
  .start h2,
  .instructions h2 {
    font-size: 16px;
    line-height: 16px;
  }
  .card2 {
    width: 80px;
    height: 80px;
  }
  .circles {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    min-width: 40px;
    min-height: 40px;
  }
  .choice {
    font-size: 18px;
  }
  .score {
    margin: 0;
    padding: 15px;
    width: auto;
    height: auto;
  }
  .score h3 {
    font-size: 14px !important;
    line-height: 16px;
  }
  .nextQueButtons button {
    font-size: 12px;
  }
  .referenceBox {
    width: 100%;
    margin: 0;
  }
  .referenceBox h3 {
    font-size: 10px;
  }
  .referenceBox a {
    word-break: break-word;
  }
  #scoreWindow {
    font-size: 16px;
  }
}
