@charset "UTF-8";


:root{

--font-size:  calc(0.6rem + 0.8vw);
}

body{
  background-color: black;
  width: 100%;
  background-image: url("./../../assets/images-quiz/bg-star-gif.gif");
  
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

  overflow: scroll;

}



.app{
  
  
  width: 100%;
  height: 100%;
  max-width: 100%;
  
  padding: 30px;

  box-sizing: border-box;

}

.grid-container{
  width:100%;
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  /* grid-template-rows: min-content 50vh; */
  /* column-gap: 1rem; */
  row-gap: 1rem;
}

.titre{
  grid-column: 1/4;
  background-color: rgb(0, 195, 255);
  border: 0.5rem solid rgb(189, 0, 110);
  font-size: calc(var(--font-size) * 5);
  font-weight: 600;
  height: 100%;
  box-sizing: border-box;
  /* padding-top: 3rem; */
  text-align: center;
}

.quiz{
  overflow: hidden;
  grid-column: 2;
  height:100%;

  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 1rem;

  
}

.quiz h2{
  
  font-size: 2.5rem;
  font-weight: 600;
  background-color: rgb(0, 195, 255);
  border: 0.5rem solid rgb(189, 0, 110);
  
}

#question{
  left: 27%;
  height: auto;
}

.flag-left{
  width: 15%;
  height:55%;
  background-color: rgb(0, 195, 255);
  display: block;
  z-index: 100;
  border: 0.5rem solid rgb(189, 0, 110);
}

.flag{
  box-sizing: border-box;

  width:100%;
  height:100%;
}

.flag-right{
 
  background-color: rgb(0, 195, 255);
  display: block;
  z-index: 100;
  border: 0.5rem solid rgb(189, 0, 110);
  right:3.5rem;
bottom:4rem;
}

.swiss-flag{
  width:100%;
  max-width: 10rem;
  margin-left: 0.5rem;
  /* padding-bottom: 15%; */
}

.italia-flag{
  height: 18%;
  margin-left: 0.9rem;
}

#answer-buttons{
  /* overflow: scroll; */
  width:100%;
  height:100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn{
  background-color: rgb(0, 195, 255);
  color: rgb(189, 0, 110);
  font-weight: 600;
  width: 100%;
  height: 50%;
  border: 0.5rem solid rgb(189, 0, 110);
  padding: 1rem;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: calc(var(--font-size) * 2);
  margin-bottom: 2%;
}

.btn:hover:not([disabled]){
  background-color: rgb(42, 0, 231);
  color: white;
}

.btn:disabled{
  cursor: no-drop;
}

#next-btn{
  background-color: rgb(0, 255, 0);
  color: black;
  font-weight: 500;
  width: 30%;
  border: 0;
  padding: 10px;
  margin: 0% auto 0;
  border-radius: 4px;
  cursor: pointer;
  display: none;
}

.correct{
  background-color: rgb(0, 255, 0);
}

.incorrect{
  background-color: rgb(255, 0, 0);
  color: white;
}

.tv{
  width: 100%;
  position: absolute;
  display: none;
  top: 110%;
  background-color: black;
  z-index: 200;
}



.tapis{
  width: 100%;
  z-index: 15;
}

.telejournal-it{
  width: 60%;
  z-index: 100;
}

.it{
  position: absolute;
  width: 7rem;
  height: 7rem;
  top: 17%;
  left: 78%;
  z-index: 101;
}

.ch{
  position: absolute;
  width: 7rem;
  height: 6rem;
  top: 37%;
  left: 78%;
  z-index: 101;
}

#video{
  position: absolute;
  width: 80%;
  top: 10%;
  left: 3%;
  z-index: 10;
}

#video2{
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 10;
}




@media (orientation: portrait) {

 
  .grid-container{
    width:100%;
    display: grid;
    grid-template-columns: min-content 1fr min-content;
     grid-template-rows: min-content 70vh; 
    column-gap: 1rem;
    row-gap: 1rem;
  }
  
  .titre{
    grid-column: 1/4;
    background-color: rgb(0, 195, 255);
    width: 100%;
    border: 0.5rem solid rgb(189, 0, 110);
    font-size: calc(var(--font-size) * 3);
    font-weight: 600;
    height: 100%;
    box-sizing: border-box;
    /* padding-top: 3rem; */
    text-align: center;
  }
  
  .quiz{
    overflow: hidden;
    grid-column: 2;
    height:100%;
  
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 1rem;
  
    
  }

  .flag{
    display: none;
  }

  .quiz h2{
    font-size: calc(var(--font-size) * 2);
  }

  .btn{
    background-color: rgb(0, 195, 255);
    color: rgb(189, 0, 110);
    font-weight: 600;
    width: 100%;
    border: 0.5rem solid rgb(189, 0, 110);
    padding: 1rem;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: calc(var(--font-size) * 1);
  }

  .tv{
    width: 100%;
    position: absolute;
    display: none;
    top: 75%;
    background-color: black;
    z-index: 200;
  }

  .it{
    position: absolute;
    width: 2rem;
    height: 2rem;
    top: 16%;
    left: 78%;
    z-index: 101;
  }
  
  .ch{
    position: absolute;
    width: 2rem;
    height: 2rem;
    top: 37%;
    left: 78%;
    z-index: 101;
  }
  
  #video{
    position: absolute;
    width: 80%;
    top: 10%;
    left: 3%;
    z-index: 10;
  }
  
  #video2{
    position: absolute;
    width: 80%;
    top: 10%;
    left: 10%;
    z-index: 10;
  }


}