@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.header {
  background: linear-gradient(-135deg, #E4A972, #9941D8);
  font-family: 'Montserrat', sans-serif;
}

.header h1 {
  font-size: 70px;
  font-weight: bold;
  color: #ffffff;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.description {
  font-size: 18px;
  color: #ffffff;
  height: 50px;
  display: flex;
  justify-content: center;
}

.main {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
}

.message {
  font-size: 38px;
  font-weight: 400;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.teams {
  padding-top: 10px;
  padding-bottom: 10px;
}

.choice_area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  margin-top: 30px;
  margin-bottom: 30px;
  gap: 20px;
}

.choice {
  text-align: center;
  color: #ffffff;
  background: linear-gradient(-135deg, #F4DCC7, #C495E8);
  min-width: 60px;
  line-height: 60px;
  border-radius: 12px;
  cursor: pointer;
}

#choice_a {
  background: linear-gradient(-135deg, #E4A972, #9941D8);
  outline: #EBC19D 3px solid;
}

.pokemon_area {
  display: flex;
  align-items: center;
  width: 882.44px;
  gap: 20px;
}

.pokemon_img {
  width: 62px;
}

.terastype_img {
  width: 30px;
}

.item_img {
  width: 30px;
}

.button {
  display: flex;
  margin-bottom: 100px;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.input-button {
  font-size: 22px;
  font-weight: bold;
  background-color: #f4dd64;
  cursor: pointer;
  display: inline-block;
  min-width: 150px;
  line-height: 46px;
  border-radius: 24px;
}

.share-button {
  font-size: 14px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #1da1f2;
  cursor: pointer;
  display: inline-block;
  min-width: 90px;
  line-height: 36px;
  height: 36px;
  border-radius: 24px;
  margin-top: auto;
  margin-bottom: auto;
}

.explain {
  width: 100%;
  padding-right: 300px;
  padding-left: 300px;
}

.explain h2 {
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
}

.explain p {
  font-size: 22px;
  margin-bottom: 100px;
}

.footer {
  color: #ffffff;
  background-color: #24211b;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: bold;
}


@media (max-width: 800px){
  *,
  ::before,
  ::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
  }

  .header {
    background: linear-gradient(-135deg, #E4A972, #9941D8);
    font-family: 'Montserrat', sans-serif;
  }

  .header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .description {
    font-size: 12px;
    color: #ffffff;
    height: 30px;
    display: flex;
    justify-content: center;
  }

  .main {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
  }

  .message {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .button {
    margin-top: 20px;
    margin-bottom: 70px;
    text-align: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
  }

  .input-button {
    font-size: 18px;
    font-weight: bold;
    background-color: #f4dd64;
    cursor: pointer;
    display: inline-block;
    min-width: 120px;
    line-height: 44px;
    border-radius: 24px;
  }

  .share-button {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #1da1f2;
    cursor: pointer;
    display: inline-block;
    min-width: 86px;
    line-height: 36px;
    height: 36px;
    border-radius: 24px;
    margin-top: auto;
    margin-bottom: auto;
  }

  .choice_area {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    margin-top: 18px;
    margin-bottom: 18px;
    height: 120px;
    gap: 6px;
  }

  .choice {
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    background: linear-gradient(-135deg, #F4DCC7, #C495E8);
    min-width: 44px;
    line-height: 44px;
    border-radius: 8px;
  }

  .pokemon_area {
    display: grid;
    grid-template-columns: 115px 115px 115px;
    column-gap: 0;
    row-gap: 0;
    width: 345px;
  }

  .pokemon_img {
    width: 52px;
  }

  .terastype_img {
    width: 24px;
  }

  .item_img {
    width: 24px;
  }

  .result {
    margin-bottom: 30px;
  }

  .explain {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
  }

  .explain h2 {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .explain p {
    font-size: 16px;
    margin-bottom: 70px;
  }

  .footer {
    color: #ffffff;
    background-color: #24211b;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
  }
}
