@import url('https://fonts.cdnfonts.com/css/helvetica-neue-55?styles=16010');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&display=swap');

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2vh;
    background-color: #ffffff;
    text-align: center;
}

a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: none; }

h2 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 2rem;
    margin-top: 5vh;
}

h3 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.3rem;
    margin-top: 1vh;
}

.container {
    background-color: #fff; /* White background for content */
    padding: 1rem;
    border-radius: 1vw;
    box-shadow: 1vh 1vh 2vh rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    max-width: 45vh;
    max-height: 50vh;
    margin-top: 3vh;
    margin-right: 3.3vh;
    margin-left: 3.3vh;
}

.title {
    margin-top: 3vmin;
    color: #fff;
    display: flex;
    flex-direction: row;
    gap: .7vmin;
}

.titleLetter {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 4.5vmin;
    width: 7vmin;
    height: 7vmin;
    line-height: 7vmin;
}

.titleGreen {
    background-color: #538d4e;
}

.titleYellow {
    background-color: #b59f3b;
}

.titleGray {
    background-color: #3a3a3c;
}

.emoji {
    font-family: 'Noto Color Emoji', sans-serif;
    font-size: 1.7rem;
}

.year {
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 2rem;
    font-weight: 500;
}

.month {
    height: fit-content;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 1rem;
}

.filterButton {
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    border: 0.15rem solid transparent;
    border-radius: 0.2rem;
}

.filterButton.clicked {
    border: 0.15rem solid;
}

#results {
    line-height: 1.5;
    overflow: scroll;
    text-align: left;
    max-width: 45vh;
    max-height: 50vh;
}

#results::-webkit-scrollbar {
    display: none;
}

#game_type_select {
    font-family: 'Helvetice Neue', sans-serif;
    font-weight: 500;
    margin-top: 4vh;
}

.legend {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legendText {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
}

.legendRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 0.5rem;
}

.winLegendColorM {
    background-color: #b19cd9;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.winLegendColorS {
    background-color: #4a90e2;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.winLegendColorDraw {
    background-color: #4ae2ad;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.gameLegendColorM {
    background-color: #d99cb2;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.gameLegendColorS {
    background-color: #dcc079;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

.gameLegendColorDraw {
    background-color: #e06060;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
}

/* Details Page */
.detailsContainer  {
    background-color: #fff; /* White background for content */
    padding: 1rem;
    border-radius: 1vw;
    box-shadow: 1vh 1vh 2vh rgba(0, 0, 0, 0.2); /* Box shadow for depth */
    margin-top: 3vh;
}

.detailsGridContainer {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto auto;
    gap: 3.0vh 3.0vh;
    grid-auto-flow: row;
    grid-template-areas:
      "icon_m icon_s"
      "wordle_en_m wordle_en_s"
      "wordle_de_m wordle_de_s"
      "nerdle_m nerdle_s"
      "worldle_m worldle_s"
      "travle_m travle_s";
  }

  .detailsResultText {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
  }

  .resultEmoji {
    font-family: 'Noto Color Emoji', sans-serif;
}

    #dayResult {
        font-size: 1.0rem;
        margin-bottom: 5vh;
    }

  .dayResultEmoji {font-family: 'Noto Color Emoji', sans-serif;}
  
  .wordle_en_m { grid-area: wordle_en_m; }
  
  .wordle_en_s { grid-area: wordle_en_s; }
  
  .wordle_de_m { grid-area: wordle_de_m; }
  
  .wordle_de_s { grid-area: wordle_de_s; }
  
  .nerdle_m { grid-area: nerdle_m; }
  
  .nerdle_s { grid-area: nerdle_s; }
  
  .worldle_m { grid-area: worldle_m; }
  
  .worldle_s { grid-area: worldle_s; }

  .travle_m { grid-area: travle_m; }
  
  .travle_s { grid-area: travle_s; }
  