@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

*{
  padding: 0;
  margin: 0;
}

body{
font-family: 'Righteous', cursive;
background-color: #ECDFCD;
}

header{
  background: #6AD9D9;
}

.container{
  width: 100%;
  margin: auto;
}

.nav{
  overflow: hidden;
  background:#6AD9D9;
  color: #fff;
  padding: 20px 0;
}

.nav h2{
  font-size: 2rem;
  float: left;
}

nav{
  float: right;
}

nav ul{
  list-style-type: none;
}

nav li{
  font-size: 1.3rem;
  margin-top: 5px;
  float: left;
  padding: 0 15px;
}

nav a{
  text-decoration: none;
  color: #fff;
}

.current a::after{
  content: '-';
  font-size: 4px;
  background-color: white;
  display: block;
}
@media(max-width:768px){
  .nav h2{
    font-size: 1.5rem;
    float: none;
    text-align: center;
  }

  nav{
    float: none;
    display: flex;
    justify-content: center;
  }

  nav li{
    font-size: 1rem;
  }
}

@media(max-width:480px){
  .nav h2{
    float: none;
    text-align: center;
  }

  nav li{
    font-size: .8rem;
  }

}

/* Alphabets css */
.grid-container{
  display: grid;
  grid-template-columns: repeat(4, 23%);
  grid-auto-rows: 30vh;
  grid-gap: 3vh;
  justify-content: center;

}

.grid-item{
  display: flex;
  background-color: white;
  align-items: center;
  border-radius: 3px;
  margin-top: 10px;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  margin-bottom: 10px;
  overflow: hidden;
}

.grid-item h1{
  text-align: justify;
  display: inline;
  font-size: 3vw;
  padding-left: 10%;
  object-fit:contain;

}


.responsive {
  display: block;
  width: 40%;
  max-width: 100px;
  height: auto;
  padding-right: 10%;
  object-fit:contain;
}

/* FillTheLetter css */
.wrapper{
  display: grid;
  grid-template-columns: 82% 18%;

}
.question{
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.9);
  font-size: 5.2vw;
  background: #fff;
  text-overflow: hidden;
  border-radius: 3px;
  text-align: center;
  margin: 10px 10px 0px 10px;
}

.question h1{
  display: inline;
  padding: 20px;
  font-size: 45px;
}


.answer-options{
  font-size: 5.2vw;
  margin-right: 10px;
}

.options{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 10px;
  color: #fff;
  transition: 2s;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.9);
}

/* Mobile: Harflar (Letters) grid */
@media(max-width:480px){
  .grid-container {
    grid-template-columns: repeat(2, 47%);
    grid-auto-rows: 28vw;
    grid-gap: 2vw;
  }

  .grid-item h1 {
    font-size: 4.5vw;
    padding-left: 5%;
  }

  .responsive {
    max-width: 65px;
  }
}

/* Mobile: Sinov (fillTheLetter) layout */
@media(max-width:480px){
  .wrapper {
    display: flex;
    flex-direction: column;
  }

  .question {
    font-size: 7vw;
    min-height: 100px;
    margin: 8px 8px 0 8px;
  }

  .question h1 {
    font-size: 36px;
    padding: 12px;
  }

  .answer-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin: 10px 8px;
    font-size: 7vw;
  }

  .options {
    flex: 1;
    max-width: 90px;
    min-height: 64px;
  }
}
