:root {
  --text-color: #121213;
  --bg-color: #f8f8f8;
  --light-gray: #c1c1c4;
  --lightest-gray: #f1f1f1;
  --text-gradient: -webkit-gradient(45deg, #cacacd, #0e0f11);
  --text-gradient-2: -webkit-gradient(45deg, #636a83, #0e0f11);
}

* {
  font-family: "Manrope", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);

  padding: 0px;
  margin: 0px;
}

a {
  color: var(--text-color);
}

.container {
  max-width: 1100px;
  margin: 0rem auto 0rem;
  padding: 10px;
}

.header {
  padding: 10px 0;
  position: sticky;
  top: 0;
  padding: 10px 16px;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px var(--light-gray);
  z-index: 100;

  @media screen and (max-width: 768px) {
    font-size: 12px;
  }

  .logo-wrap {
    font-size: 24px;
    font-weight: bold;
    a {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;

      
    }
  }
  img {
    width: 60px;
  }

  .score-board {
    display: flex;
    align-items: center;
    gap: 5px;
    &.hide {
      display: none;
    }
    .scored {
      padding: 10px;
      background-color: #a3e7c0;
    }
    .total {
      padding: 10px;
      background-color: var(--lightest-gray);
    }
  }

  .toggle-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
  }
}

h4 {
  font-weight: normal;
  font-size: 1.25rem;
}

.for-game {
  &.hide-game {
    display: none !important;
  }
}

.page-columns {
  display: flex;
  gap: 20px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }

  .content {
    width: 75%;
    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }
  .right-column {
    width: 25%;
    padding: 10px;
    /* position: fixed;
    right: 0; */

    .more-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
      /* height: 500px; 
      overflow: auto; */
      a {
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
      }
    }

    @media screen and (max-width: 768px) {
      width: 100%;
      position: static;
      right: auto;

      .more-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        height: auto;
      }
    }
  }
}

.toggle-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 70px;
  background: #fffc41;
  border-radius: 20px;
  padding: 1px 5px;
  height: 35px;
  position: relative;
  border: solid 1px var(--light-gray);

  .toggle-circle {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    transition: transform 0.3s ease-in-out;
    border: solid 1px var(--light-gray);
  }

  .toggle-text {
    flex: 1;
  }

  &.on .toggle-text {
    text-align: left;
    color: var(--text-color);
    padding-left: 10px;
  }

  &.off .toggle-text {
    text-align: right;
    color: var(--text-color);
    padding-right: 10px;
  }

  &.off .toggle-circle {
    transform: translateX(0px);
  }

  &.on .toggle-circle {
    transform: translateX(39px);
  }

  &.off {
    background: #e9e9e5;
  }
}

.heading {
  font-size: 24px;
  font-weight: bold;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#494950),
    to(#0e0f11)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.global-share {
  button {
    border-radius: 5px;
    border: solid 1px var(--light-gray);
    padding: 5px 10px;
    margin-left: 10px;
  }
}

.footer {
  padding-bottom: 200px;
  margin-top: 5rem;

  .top-row {
    display: flex;
    gap: 30px;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .craft {
    margin-top: 5px;
  }
  .follow {
    .icons {
      display: flex;
      gap: 10px;
      justify-content: center;
    }
  }
}

.quiz-wrap {
  h1 {
    font-size: 1.25rem;
    font-weight: bold;
    span {
      font-size: 0.9rem;
    }
  }

  .alpha-list {
    display: flex;
    margin-top: 2rem;

    @media screen and (max-width: 768px) {
      flex-direction: column;
    }
    .alphabet {
      min-width: 100px;
      display: flex;
      text-align: center;
      /* justify-content: center; */
      /* align-items: center; */

      border-right: solid 1px var(--light-gray);

      @media screen and (max-width: 768px) {
        min-width: auto;
        padding: 0.5rem;
        border-right: none;
        border-bottom: solid 1px var(--light-gray);
      }

      span {
        font-size: 7rem;
        font-weight: bold;
        background: -webkit-gradient(
          linear,
          left top,
          left bottom,
          from(#a5a5ac),
          to(#0e0f11)
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

        @media screen and (max-width: 768px) {
          font-size: 3rem;
        }
      }
    }

    .list-column {
      padding: 2rem;
      width: 100%;
      box-sizing: border-box;
      .item-wrap {
        margin-bottom: 4rem;
        &.country-name {
          margin-bottom: 1rem;
        }
      }
      .input-answer {
        margin-bottom: 15px;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        input {
          width: 100%;
          border: none;
          border-bottom: solid 1px var(--light-gray);
          padding: 10px;
        }
        .press-enter {
          border: solid 1px var(--light-gray);
          padding: 10px 15px;
          box-sizing: border-box;
          &:hover {
            border: solid 1px var(--text-color);
          }
        }

        button {
          flex: 0;
          width: auto;
          white-space: nowrap;
          border: none;
          background-color: transparent;
          cursor: pointer;
          color: var(--light-gray);
          &:hover {
            color: var(--text-color);
          }

          &.show-all-answers {
            display: none;
          }
        }
      }

      .item-question {
        font-size: 20px;
        margin-bottom: 10px;
      }

      .answer-list {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;

        &.multiple-choice {
          flex-direction: column;
          .option {
            display: flex;
            gap: 10px;
            align-items: center;
          }
          .answer-cover {
            width: fit-content;
          }
        }
        .answer-wrap {
          display: flex;
          align-items: center;
          gap: 20px;
          /* margin-bottom: 10px; */

          .label {
            font-weight: bold;
          }
        }

        .answer-cover {
          --radius: 10px;
          border: solid 1px var(--light-gray);
          border-radius: var(--radius);
          padding: 10px 20px;
          position: relative;
          box-sizing: border-box;
          .blur-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--lightest-gray);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            text-indent: -100000px;
            &.show-hint {
              text-indent: 0;
            }
          }

          &.already-answered {
            .blur-cover {
              display: none;
            }
          }
        }
      }
    }
  }
}

.made-in {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  img {
    width: 20px;
    height: auto;
    margin-left: 10px;
  }
}
