@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
*{
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    color: #fff;
}
@font-face {
    font-family: myFirstFont;
    src: url(../font/VollkornRegular-51aXv.ttf);
  }

@font-face {
    font-family: moongladeDemoBold;
    src: url(../font/MoongladeDemoBold-jOzM.ttf);
  }

@font-face {
    font-family: rondal;
    src: url(../font/RondalRegular-K7ORW.otf);

  }
@font-face {
    font-family: garamondPro;
    /* src: url(../font/FONTGaramond/GaramondPremrPro.otf); */
    src: url(../font/NegaraserifHairlineitalic-nRgjJ.otf);
}
input {
    opacity: 0;
    display: none;
}
html {
    min-height: 100%;
    background: url(../images/quiz2/BG.png);
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    background-position: center;
    position: relative;
  }
  #rowContainQuestion {
    display: none;
}
#rowContainResultSuccess {
    display: none;
}
#footerScore {
    display: none;
}
#footerResultReplay {
    display: none;
}
#footerResultRedirect {
    display: none;
}
#saveSuccess {
    display: none;
}
.main {
    /* height: 100vh; */
    width: 100%;
}

.container {
    /* border: 2px solid white; */
    width: 100%;
    max-width: 1140px;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
}

.row-header {
    text-align: center;
    width: 100%;
    max-width: 1140px;
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
}

.row-header h3{
    font-family: myFirstFont;
    font-size: 50px;
}
.row-header p {
    font-family: moongladeDemoBold;
    font-size: 15px;
    margin-top: -8px;
}
.row-header {
    /* border: 1px solid white; */
}
.row-contain {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    /* border: 1px solid white; */
    height: 650px;
}
.row-contain .row-contain-main {
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.row-contain .contain-question {
    position: relative;
    height: 70%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.row-contain .row-contain-main h3 {
    font-size: 55px;
    text-align: center;
}
.row-contain .row-contain-main p {
    font-size: 38px;
    /* background: rgb(219,180,21); */
    /* background: linear-gradient(333deg, rgba(219,180,21,0.5438550420168067) 0%, rgba(255,255,255,1) 255%); */
    padding: 5px 35px 5px 35px;
    text-align: center;
    color: white;
}
.row-contain .row-contain-main p span {
    color: white;
}
.row-header h3{
    font-size: 62px;
}
.row-header p {
    margin-top: -3px;
}
.row-footer {
    width: 100%;
    height: 30%;
    /* border: 1px solid white; */
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0px;
    flex-direction: column;
}
.row-footer #startGame {
    width: 50%;
    text-align: center;
    border: 1px solid white;
    padding: 5px;
}
.row-footer #startGame p {
    border: 1px solid white;
    padding: 10px;
    font-size: 40px;
    background-color: #ddd;
    color: black;
}
.row-footer #showFooterScore {
    width: 35%;
    text-align: center;
    border: 1px solid white;
    padding: 5px;
}
.row-footer #showFooterScore p {
    border: 1px solid white;
    padding: 10px;
    font-size: 40px;
}
.slide{
    position: absolute;
    margin: auto;
    /* width: 100%; */
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .active-slide{
    opacity: 2;
    z-index: 3;
  }
  .contain-question .answers .label :hover{
      cursor: pointer;
  }
  .contain-question .answers .label-hidden{
    opacity: 0;
    z-index: -111;
    border: 2px solid #ff0000 !important;
}
.contain-question .answers .not-label-hidden{
    border: 2px solid #00e600 !important;
    opacity: 1;
    display: block;
}
.contain-question .answers .label  .mystyle {
    /* background-color: #ff3300; */
    color: black;
    cursor: not-allowed;
    /* background-image: url(../images/quiz1/LIGHT.png), url(../images/quiz1/LIGHT2.png);
    background-position: right bottom, left top;
    background-repeat: no-repeat, repeat; */
    /* animation: mymove 0.3s infinite; */
    animation: mystylemove 0.2s 1;
}

.maginContainer {
    margin-top: 90px !important;
}

@keyframes mystylemove {
    50% {background-color:#00e600;}
  }

.mystyle {
    cursor: not-allowed;
    pointer-events: none;
}
.mystyleNot {
    cursor: not-allowed;
    pointer-events: none;
    /* animation: mystylenotmove 0.2s 1; */
}
/* @keyframes mystylenotmove {
    50% {background-color:red;}
  } */

.contain-question .answers .label  .mystyleNot {
  /* background-color: #808080; */
  color: black;
}
*/
.slide {
   width: 65%;
}
.question {
font-size: 35px;
font-weight: bold;
  text-align: center;
}
.answers {
  width: 60%;
  margin: auto;
  margin-top: 20px;
}
.contain-question .answers .label {
  padding: 5px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.contain-question .answers .label:hover {
    box-shadow: 0px 0px 10px #000;
}
.contain-question .answers .label:active {
    transform: translateY(4px);
}
.contain-question .answers .label div {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  color: black;
  text-align: center;
  font-size: 22px;
}
.slide {
  padding: 10px;
}
.row-footer #showFooterScore {
  padding: 5px;
}
.row-footer #showFooterScore p {
  font-size: 40px;
  padding: 0px;
  background-color: #ddd;
  color: black;
}
.row-footer #showFooterScore p span{
    color: black;
  }
.row-contain .containResult #textResult {
    font-size: 52px;
    text-align: center;
}
.row-contain .containResult h5 {
    font-size: 30px;
}
.row-contain .containResult .totalSucc {
    border: 1px solid #fff;
    padding: 5px;
    margin-top: 15px;
}
.row-contain .containResult .textAdd {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}
.row-contain .containResult .textAdd h3{
    text-align: center;
    font-size: 52px;
}
.row-contain .containResult .textAdd p{
    text-align: center;
    font-size: 33px;
    font-weight: bold;
}
.row-contain .containResult .textAdd h4{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}
.row-contain .containResult .totalSucc p {
    padding: 10px 100px 10px 100px;
    background-color: #ddd;
    font-size: 60px;
    color: #f33300;
}
#footerResultReplay div {
    width: 50%;
    text-align: center;
    border: 1px solid white;
    padding: 5px;
}
#footerResultRedirect div {
    width: 50%;
    text-align: center;
    border: 1px solid white;
    padding: 5px;
}
#footerResultReplay div :hover{
    cursor: pointer;
}
#footerResultRedirect div :hover{
    cursor: pointer;
}
#footerResultReplay div p {
    border: 1px solid white;
    padding: 10px;
    font-size: 40px;
    color: black;
    background-color: #ddd;
}
#footerResultRedirect div p {
    border: 1px solid white;
    padding: 10px;
    font-size: 40px;
    color: black;
    background-color: #ddd;
}
.row-footer #startGame :hover{
    cursor: pointer;
}
.logo {
    width:300px;
}

#startGame:active {
    transform: translateY(4px);
  }
#startGame:hover{
    box-shadow: 0px 0px 10px #000;
}
#replayGame:active {
    transform: translateY(4px);
  }
#replayGame:hover{
    box-shadow: 0px 0px 10px #000;
}
#redirectMain:active {
    transform: translateY(4px);
  }
#redirectMain:hover{
    box-shadow: 0px 0px 10px #000;
}
.textAdd {
    display: none;
}
.mb-10 {
    margin-bottom: 20px;
    display: block;
}
.btn-save {
    width: 50%;
    text-align: center;
    border: 1px solid white;
    padding: 5px;
    margin: auto;
    margin-top: 30px;
}
.btn-save button {
    width: 100%;
    border: 0px solid;
    padding: 10px;
    font-size: 30px;
    background-color: #ddd;
    color: black;
    cursor: pointer;
}
/* .btn-save button:active {
    transform: translateY(4px);
    border: 0px solid #ddd !important;
    outline: none !important;
} */
.btn-save button:active,
.btn-save button:focus { 
    outline: none !important;
    -moz-outline-style: none; 
}

.btn-save:active {
    transform: translateY(4px);
}
.btn-save:hover {
    box-shadow: 0px 0px 10px #000;
}
@media screen and (max-width: 1024px){
    .logo {
        width:220px;
    }
    .container {
        max-width: 960px;
    }
    .row-header {
        /* border: 1px solid white; */
        margin-bottom: 30px;
    }
    .row-contain {
        height: 580px;
    }
    .row-contain .row-contain-main h3 {
        font-size: 42px;
    }
    .row-contain .row-contain-main p {
        font-size: 29px;
    }
    .row-header h3{
        font-size: 45px;
    }
    .row-header p {
        margin-top: -3px;
    }
    .row-footer #startGame {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    .row-footer #startGame p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }
        /* 
     */
     .slide {
        width: 80%;
    }
    .question {
       font-size: 26px;
       text-align: center;
   }
   .answers {
       width: 80%;
       margin: auto;
       margin-top: 20px;
   }
   .contain-question .answers .label {
       padding: 5px;
       border: 1px solid #ddd;
       margin-bottom: 15px;
   }
   .contain-question .answers .label div {
       width: 100%;
       padding: 12px;
       background-color: #fff;
       color: black;
       text-align: center;
       font-size: 25px;
   }
   .slide {
       padding: 10px;
   }
   .row-footer #showFooterScore {
       padding: 5px;
   }
   .row-footer #showFooterScore p {
       font-size: 40px;
       padding: 0px;
   }
   .row-footer #showFooterScore {
    width: 35%;
   }
   .row-contain .containResult #textResult {
    font-size: 35px;
    }
    .row-contain .containResult .textAdd h3 {
        text-align: center;
        font-size: 40px;
    }
    .row-contain .containResult h5 {
        font-size: 20px;
    }
    #footerResultReplay div {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultReplay div p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }
    #footerResultRedirect div {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultRedirect div p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }
    .row-contain .containResult .textAdd h4 {
        font-size: 20px;
    }
    .row-contain .containResult .textAdd p {
        font-size: 21px;
    }
    .btn-save {
        width: 55%;
    }    

}
@media screen and (max-width: 1024px) {
    .contain-question .answers .label div{
        font-size: 22px;
    }
    .slide {
        width: 85%;
    }
}
@media screen and (max-width: 768px){
    .row-contain .containResult #textResult {
        font-size: 30px;
    }
    .row-contain .containResult .textAdd p {
        font-size: 20px;
    }
    .row-contain .containResult .textAdd h3 {
        text-align: center;
        font-size: 40px;
    }
    .question {
        font-size: 28px;
        text-align: center;
    }
    .logo {
        width:200px;
    }
    .container {
        max-width: 720px;
    }
    .row-header {
        /* border: 1px solid white; */
    }
    .contain-question .answers .label div {
        font-size: 22px;
    }
    .row-contain {
        height: 700px;
    }
    .row-contain .row-contain-main h3 {
        font-size: 38px;
    }
    .row-contain .row-contain-main p {
        font-size: 25px;
    }
    .row-header h3{
        font-size: 46px;
    }
    .row-header p {
        margin-top: -3px;
    }
    .row-footer #startGame {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    .row-footer #startGame p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }

    /* 
     */
     .slide {
         width: 100%;
     }
     .row-contain .containResult .totalSucc p {
        padding: 10px 50px 10px 50px;
        font-size: 50px;
    }
    #footerResultReplay div {
        width: 70%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultReplay div p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }
    #footerResultRedirect div {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultRedirect div p {
        border: 1px solid white;
        padding: 10px;
        font-size: 30px;
    }
    .row-contain .containResult .textAdd h4 {
        font-size: 20px;
    }
     /* .question {
        font-size: 25px;
        text-align: center;
    }
    .answers {
        width: 80%;
        margin: auto;
        margin-top: 20px;
    }
    .contain-question .answers .label {
        padding: 5px;
        border: 1px solid #ddd;
        margin-bottom: 15px;
    }
    .contain-question .answers .label div {
        width: 100%;
        padding: 12px;
        background-color: #fff;
        color: #ff3300;
        text-align: center;
        font-size: 25px;
    }
    .slide {
        padding: 10px;
    }
    .row-footer #showFooterScore {
        padding: 5px;
    }
    .row-footer #showFooterScore p {
        font-size: 40px;
        padding: 0px;
    } */
    .btn-save button {
        font-size: 22px;
    }
}

/* @media screen and (max-width: 767px){
    .container {
        max-width: 540px;
    }
    .row-header h3{
        font-size: 30px;
    }
    .row-header p {
        margin-top: -3px;
    }
} */
@media screen and (max-width: 430px){
    .logo {
        width:150px;
    }
    .slide {
        width: 100%;
    }
    .question {
        font-size: 18px;
    }
    .answers {
        width: 100%;
        margin: auto;
        margin-top: 20px;
    }
    .contain-question .answers .label {
        padding: 5px;
        margin-bottom: 10px;
    }
    .contain-question .answers .label div {
        font-size: 12px;
    }
    .slide {
        padding: 10px;
    }
    .row-footer #showFooterScore {
        padding: 5px;
    }
    .row-footer #showFooterScore p {
        font-size: 30px;
    }
    .row-footer #showFooterScore {
        width: 50%;
       }
    .container {
        max-width: 100%;
    }
    .row-header {
        /* border: 1px solid white; */
    }
    .row-contain {
        height: 590px;
    }
    .row-contain .row-contain-main h3 {
        font-size: 20px;
    }
    .row-contain .row-contain-main p {
        font-size: 12px;
    }
    .row-header h3{
        font-size: 30px;
    }
    .row-header p {
        margin-top: -3px;
    }
    .row-footer {
        width: 100%;
        height: 20%;
        /* border: 1px solid white; */
        display: flex;
        justify-content: center;
        align-items: center;
        bottom: 0px;
    }
    .row-footer #startGame {
        padding: 5px;
    }
    .row-footer #startGame p {
        font-size: 14px;
    }
    .row-contain .containResult #textResult {
        font-size: 25px;
    }
    .row-contain .containResult h5 {
        font-size: 15px;
    }
    #footerResultReplay div {
        width: 70%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultReplay div p {
        font-size: 14px;
    }
    #footerResultRedirect div {
        width: 50%;
        text-align: center;
        border: 1px solid white;
        padding: 5px;
    }
    #footerResultRedirect div p {
        font-size: 14px;
    }
    .row-contain .containResult .totalSucc p {
        padding: 10px 30px 10px 30px;
    }
    .row-contain .containResult .textAdd h4 {
        font-size: 15px;
    }
    .row-contain .containResult .textAdd h3 {
        font-size: 25px;
    }
    .row-contain .containResult .textAdd p {
        font-size: 12px;
    }
    .btn-save button {
        font-size: 12px;
    }
    .btn-save {
        width: 65%;
    }
}
@media screen and (max-width: 381px){
    .row-contain {
        height: 478px;
    }
    
}

@media screen and (width: 375px){
    .row-contain {
        height: 617px;
    }
}