* {
  box-sizing: border-box;
}
html, body, ul, ol, li, h1, h2, h3, p, div {
  margin: 0;
  padding: 0;
}
body {
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: #ffffff;
  color: #1D1E1F;
} 
a {
  text-decoration: none;
}
.container {
  max-width: 1170px;
  padding: 0 5px;
  margin: 0 auto;
}
.top-wrapper {
  padding: 100px 0 100px 0;
  background-size: cover;
  color: whitesmoke;
  margin-left: auto;
  margin-right: auto;
  height: 700px;

}
.top-wrapper h1 {
  text-align: center; 
  padding: 10px; 
  font-weight:bolder;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
}
.top-wrapper p {
  opacity: 0.7;
  margin-bottom: 3px;
}
header {
  height: 65px;
  width: 100%;
  /*background-color: rgba(68, 1, 1, 0.397);*/
  position :fixed;
  z-index: 10;
}
.logo {
  width:200px;
  margin-top: 10px;
}
.header-left {
  float: left;
}
.nav {
  overflow: hidden;
}
.nav a {
  line-height: 65px;
  padding: 0 15px;
  display: block;
  float: right;
  transition: all 0.5s;
  color: #fff;
  }
.nav a:hover {
  background-color: rgb(107, 0, 0);
}
.nav .icon {
  display: none;
}
.nav a.active {
  background-color: #56595C;
  color: white;
} 
.heading {
  padding-top: 80px;
  }
.heading h2 {
  font-weight: bold;
}  
h2{ 
  text-align: center;
  margin-bottom: 10px;
}
.button{
  margin-top: 20px;
  text-align: center;
}
.button a{
  font-weight: bold;
  font-size: medium;
  color: #fff;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
} 
.btn-semafor {
  display: inline-block !important; 
  padding: 15px 25px;
  margin: 0 20px;
  border-radius: 10px;
  background-color: #1a0044;
  cursor: pointer;
  animation: btn-semafor 10s ease-out infinite;  
} 
 
@keyframes btn-semafor { 
  100% { 
    background-color: rgba(31, 0, 54, 0.842);   
  }
  80% { 
    background-color: rgba(0, 0, 0, 0.842); 
  }
  50% { 
    background-color: rgba(39, 39, 39, 0.842); 
  }
  20% { 
    background-color: rgba(0, 34, 34, 0.842); 
  }
  0% {   
    background-color: rgba(68, 0, 28, 0.842); 
  }
}   
h2:hover{
  color: #A3090E;
} 
footer {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgb(59, 0, 0);
  margin-top: 30px;
  height: 150px;
}
footer h4 {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  color: white;
}
footer .container {
  padding-left: 40px;
  float: left;
}
footer p {
  font-size: 15px;
  width: 100%;
  padding-top: 20px;
  display: block; 
  color: #b3aeb5;;
} 
footer a:hover {
  color: #FF6E67;
} 
.footer-logo { 
  width: 100%;
  text-align: center;
} 
.pulsate {
  animation: pulsate 10s ease-out infinite;  
}
@keyframes pulsate { 
  0% {
    background-color: #099ea3;
    opacity: 0.8;
  }
  50% { 
    background-color: #00a716;
    opacity: 1.0;
  }
  100% {
    background-color: #A3090E;
    opacity: 0.8;
  }
} 


/*tooltip unit*/
.tooltip {
  position: relative;
  display: inline-block; 
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: black;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px 10px;
  position: absolute;
  z-index: 1;
  bottom: 78%;
  left: 50%;
  margin-left: -120px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} 
 
.responsive-apk:hover { 
  border-radius: 30px;
  color: #ff7474; 
  background-color: rgba(255, 255, 255, 0.63); 
}    
.gallery-apk img {   
  height: auto;  
  border-radius: 30px;
  padding: 5px; 
}
.responsive-apk { 
  text-align: center;
  background-color: #000000ce;  
  float: left; 
  width: 25%;   
  animation: responsive-apk 10s ease-out infinite;  
}  
@keyframes responsive-apk { 
  100% { 
    background-color: rgba(45, 0, 80, 0.74);   
  }
  80% { 
    background-color: rgba(0, 78, 74, 0.658); 
  }
  50% { 
    background-color: rgba(53, 53, 53, 0.658); 
  }
  20% { 
    background-color: rgba(9, 77, 0, 0.658); 
  }
  0% {   
    background-color: rgba(0, 12, 68, 0.568); 
  }
} 
.desc-apk { 
  text-align: center;
  padding: 10px;
}

@media only screen and (max-width: 900px) {
  .responsive-apk {
    width: 50%;
    margin: 1px 0;
  } 
} 

@media only screen and (max-width: 670px) {
  .responsive-apk {
    width: 100%;
    margin: 1px 0;
  } 
} 

/*semafor*/ 
/* Slideshow container */
.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #A3090E;
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 35px;
  padding: 5px;
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
  animation: text 10s ease-out infinite; 
}
@keyframes text { 
  100% { 
    color: violet;
  }
  80% { 
    color: greenyellow; 
  }
  50% { 
    color: red; 
  }
  20% { 
    color: lightseagreen; 
  }
  0% {   
    color: white;
  }
} 
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 18px;
  padding: 5px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 30px;
  width: 30px;
  font-size: 20px;
  padding: 5px;
  margin: 2px;
  background-color: #303030;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: #A3090E;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.img-flag {
  width:auto; 
  height: 130px;
  text-align: center;
  margin: 80px;
}


/*semafor kuis*/ 

main{
  width: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.game-quiz-container{
  width: 700px;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.774);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px; 
}

.game-details-container{
  width: 80%;
  height: 50px; 
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.game-details-container h1{
  font-size: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.game-question-container{
  width: 95%;
  height: 200px; 
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(170, 170, 170, 0.568);
  background-color: rgba(170, 170, 170, 0.568);
  border-radius: 10px;
}

.game-question-container h1{
  font-size: 15px;
  text-align: center; 
}

.game-options-container{
  font-family: sans-serif;
  width: 80%;
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.game-options-container span{
  width: 45%;
  height: 40px;
  border: 1px solid rgb(219, 219, 219);
  border-radius: 10px;
  overflow: hidden;
}
span label{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s; 
  color: white;
}

span label:hover{
  -ms-transform: scale(1.0);
  -webkit-transform: scale(1.0);
  transform: scale(1.0);
  color: #ffbbbb;
}

input[type="radio"] {
  position: relative;
  display: none;
}


input[type=radio]:checked ~ .option {
  background: rgba(82, 82, 82, 0.959);
}
.modal-container{
  display: none;
  position: absolute;
  z-index: 1; 
  left: 0;
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  flex-direction: column;
  align-items: center;
  justify-content: center; 
  -webkit-animation: fadeIn 1.2s ease-in-out;
  animation: fadeIn 1.2s ease-in-out;
}

.modal-content-container{
  height: 25rem;
  width: 50%;
  background-color: rgb(22, 22, 22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 20px;
}

.modal-content-container h1{  
  width: 25%;
  color: lightgray;
  text-align: center;
}

.grade-details{   
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.grade-details p{
  color: white;
  text-align: center;
  font-size: 20px;
}

.modal-button-container{ 
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-button-container button{
  width: 7rem; 
  margin: auto;
  background: none;
  outline: none;
  border: 1px solid rgb(252, 242, 241);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 5px;
}
.modal-button-container button:hover{
  background-color: #A3090E;
}
.apk-desc {
  max-width: 700px; 
  width: 90%; 
  padding: 25px; 
  margin: 30px auto; 
  border-radius: 10px; 
  background-color: #360000a6;  
  background-color: #360000a6; 
  position: relative;
}
.apk-desc h3 {
    margin-bottom: 10px;  
}
.apk-desc p {
    line-height: 1.6; 
} 
.apk-desc ul {
    list-style-type: disc;  
    margin-top: 10px;
    padding-left: 20px;  
}
.apk-desc li {
    margin-bottom: 8px; 
    line-height: 1.5;
}
.apk-desc a {
  text-decoration: underline; color: gold;
}
.apk-desc a:hover {
  color: #A3090E;
}

@media all and (max-width : 350px){
  .game-quiz-container{
    width: 100%;
    height: 400px;
   } 
   .game-details-container {
    font-size: 15px;
   } 

  .game-options-container span{
      width: 100%;
      height: 100px;
  }
  .game-options-container span label{
      font-size: 15px;
  }
  .modal-content-container{
    width: 90%;
    height: 25rem;
  }

  .modal-content-container h1{
    font-size: medium;
    width: 80%;
  } 
}

@media all and (max-width: 670px){
 .game-quiz-container{
     width: 100%;
     height: 400px; 
  } 

  .game-details-container {
   font-size: 15px;
   } 

  .game-options-container span{
      width: 100%;
  }
  .modal-content-container{
    width: 90%;
    height: 25rem;
  }
  .modal-content-container h1{
      font-size: medium;
      width: 80%;
  } 
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

