* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "LINE Seed JP_TTF";
  src: url("./line-seed/LINE\ Seed\ JP_TTF.woff2") format("woff2"),
    url("./line-seed/LINE\ Seed\ JP_TTF.woff") format("woff"),
    url("./line-seed/LINE\ Seed\ JP_TTF.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

img {
  width: 100%;
  display: block;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(
      0deg,
      rgba(17, 54, 109, 0.2) 0%,
      rgba(17, 54, 109, 0.2) 100%
    ),
    url("./bg.png") lightgray 50% / cover no-repeat;
  background-attachment: fixed;
}

.wrapper {
  max-width: 976px;
  margin: 0 auto;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}

.logo {
  max-width: 114px;
  margin-right: 16px;
}

.flag {
  max-width: 30px;
}

.detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.main-text-wrapper {
  border-radius: 6px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  margin: 11px 0 32px 0;
}

h1 {
  font-size: 40px;
  font-weight: 900;
  color: #ffd700;
  text-align: center;
  font-style: italic;
  line-height: normal;
  letter-spacing: 1.2px;
  padding-bottom: 12px;
  font-family: "Roboto";
}

h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-style: italic;
  line-height: 32px;
  letter-spacing: 1.2px;
  font-family: "Roboto";
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.btn-wrapper button {
  padding: 16px 24px;
  text-transform: uppercase;
  border-radius: 6px;
  background: linear-gradient(0deg, #ffd700 0%, #ffd700 100%),
    linear-gradient(180deg, #97ea07 0%, #7eac2f 100%);
  border: none;
  font-family: "LINE Seed JP_TTF";
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.btn-wrapper button:hover {
  filter: brightness(1.1);
}

.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.card img {
  max-width: 340px;
  transition: transform 0.3s ease;
  will-change: transform;
  cursor: pointer;
}

.card:hover img {
  transform: scale(1.05);
}

.contacts {
  color: #fff;
  text-align: center;
  font-family: Roboto;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0.42px;
  margin-top: 96px;
}

.footer__container {
  margin-top: auto;
  width: 100%;
}

.footer-images {
  display: flex;
  justify-content: center;
  padding: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 64px;
  margin-top: 48px;
}

.footer {
  width: 100%;
  max-width: 400px;
}

.cards-mobile {
  display: none;
}

.footer-mobile {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1000px) {
  .wrapper {
    padding: 0 16px;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 32px;
  }
  .main-text-wrapper {
    padding: 12px;
  }
  h2 {
    font-size: 24px;
  }
  .btn-wrapper button {
    width: 100%;
    font-size: 16px;
  }
  .cards {
    gap: 12px;
  }
  .btn-wrapper button:active {
    filter: brightness(0.5);
  }
}
