html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f8edfd;
}

* {
  margin: 0;
  font-family: "Gameboy", sans-serif;
  box-sizing: border-box;
}

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

.text-stroke {
  text-shadow: 1px -1px 0 #9bb9ef, 1px -1px 0 #9bb9ef, -1px 1px 0 #9bb9ef,
    1px 1px 0 #9bb9ef;
}

.wrapper {
  margin: 0 auto;

  display: flex;
  align-items: center;
  max-width: 900px;
}

.card {
  margin: 50px auto;
  padding: 30px 10px 10px 10px;
  max-width: 550px;

  background-color: #c6d9fc;
  width: 100%;
}

.card-content {
  padding: 24px 100px 100px 100px;

  display: flex;
  flex-direction: column;
  align-items: center;

  background-color: #eceafc;
  background-image: url(./assets/images/bg.png);
  background-repeat: repeat;
}

.avatar {
  opacity: 0.8;
}

.card-title {
  margin: 20px 0 5px 0;

  color: #fff;
  font-family: PixelifySans, sans-serif;
  font-size: 40px;
  letter-spacing: 3px;
  text-shadow: 2px 2px 1px #9bb9ef;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #9bb9ef;
}

.divider {
  opacity: 0.5;
}

.button-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
}

.button-wrapper img {
  width: 60px;
  position: absolute;
  left: 30px;
  opacity: 0;

  transition: opacity 0.2s;
}

.button:hover ~ img {
  opacity: 1;
}

.button {
  display: block;
  width: 100%;
  margin: 14px 0;
  padding: 20px 30px;

  background-color: #d1e1ff;

  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.button:hover {
  background-color: #bcd3ff;
}

.button-panel {
  padding: 0 40px;
  width: 100%;

  position: absolute;
  top: 3px;
  left: 0;

  display: flex;
  justify-content: space-between;
}

.button-panel p {
  color: #acc2ed;
}

.button-panel a:hover {
  text-decoration: underline;
}

.button-panel-right {
  display: flex;
  gap: 5px;
}

.x-button {
  border-radius: 3px;
  border: #acc2ed solid 3px;
}

.full-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  border: #acc2ed solid 3px;
}

.full-button-in {
  width: 12px;
  height: 12px;
  border: #acc2ed solid 2px;
}

.min-button {
  border-radius: 3px;
  border: #acc2ed solid 3px;
  padding: 5px 0 0 0;
}

.status {
  color: #acc2ed;
}

.status span {
  color: #70c76f;
}

.socials {
  margin-top: 20px;
  display: flex;
  align-self: center;
  gap: 20px;
}

.socials-item {
  width: 50px;
  height: 50px;
  fill: #acc2ed;
  opacity: 0.9;
}

.socials-item:hover {
  opacity: 1;
}

.header {
  color: #fff;
}

.header h3 {
  margin-top: 5px;

  color: #85acf6;
  text-shadow: 1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.container {
  margin-top: 20px;
  padding: 15px;
  width: 100%;
  background-color: #fff;
}

@font-face {
  font-family: Gameboy;
  src: url("assets/fonts/Early_GameBoy.ttf") format("truetype");
}

@font-face {
  font-family: PixelifySans;
  src: url("assets/fonts/PixelifySans.ttf") format("truetype");
}

@font-face {
  font-family: ComplianceSans;
  src: url("assets/fonts/Faithful.ttf") format("truetype");
}

@media screen and (max-width: 500px) {
  .card {
    padding: 30px 5px 5px 5px;
  }

  .card-content {
    padding: 20px 30px;
  }

  .button {
    margin: 8px 0;
    padding: 15px 20px;
    font-size: 13px;
  }

  .card-title {
    font-size: 28px;
  }

  .status {
    font-size: 13px;
  }

  .prices-block-item-header {
    padding: 10px;
  }

  .prices-block-item-header h3 {
    font-size: 16px;
  }

  .prices-block-item-price {
    font-size: 24px;
  }

  .socials {
    gap: 15px;
  }

  .socials-item {
    width: 30px;
    height: 30px;
  }
}
