@font-face {
  font-family: PixelArial;
  src: url("../fonts/pixel-arial-14.otf") format("opentype");
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-family: "PixelArial", sans-serif;
  background-image: url(../images/about/bg.png);
  background-size: cover;
}

p {
  padding: 0.75rem;
  border-radius: 5px;
  box-shadow: inset 0 2px 4px 1px rgba(0, 0, 0, 0.15);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  min-height: 100vh;
  padding: 1rem;
  max-width: 760px;
}

.blinkies-wrapper {
  border: 1px solid rgba(60, 60, 60, 0.5);
  border-radius: 5px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3);
  background-color: white;
  overflow: hidden;
  height: 20px;
  padding: 0.25rem;
}

.blinkies img {
  height: 20px;
  width: auto;
}

.blinkies {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.left,
.right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.avatar {
  border: 1px solid rgba(60, 60, 60, 0.5);
  border-radius: 5px;
  width: 300px;
  height: 400px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3);
  background-image:
    linear-gradient(to right, rgba(60, 60, 60, 0.27) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 60, 60, 0.27) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: white;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 300px;
  height: 73px;
  overflow-y: auto;
  border: 1px solid rgba(60, 60, 60, 0.5);
  border-radius: 5px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3);
  background-color: white;
}

.badges-wrapper img {
  padding: 0.25rem 0 0 0.25rem;
}

.scroller {
  height: 100%;
  overflow-y: auto;
}

.abt-webmstr,
.abt-website {
  flex: 1;
  border: 1px solid rgba(60, 60, 60, 0.5);
  border-radius: 5px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3);
  background-color: white;
  padding: 0.5rem 1.5rem;
}

.buttons-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 13px 0;
}

.buttons-container a {
  text-decoration: none;
  color: black;
}

.button {
  background: linear-gradient(#ffffff, #3c3c3c3c);
  padding: 0.75rem 1rem 0.5rem 1rem;
  border: 1px solid rgba(60, 60, 60, 0.502);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255);
  cursor: pointer;
  font-size: small;
}

.button:hover {
  background: linear-gradient(#f1faff, #b6def5);
  box-shadow: inset 0 0 0 2px #40d6fd;
  border: 1px solid #379ece;
}

.button:active {
  background: linear-gradient(#e8f6ff, #86c6e8);
  box-shadow: inset 0 0 0 1px #7996aa;
  border: 1px solid #447397;
}

@media (max-width: 720px) {
  .container {
    max-width: 100%;
    padding: 1rem;
    padding-left: 3rem;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .left,
  .right {
    width: 100%;
    max-width: 720px;
    align-items: center;
  }

  .avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .badges-wrapper {
    width: 100%;
  }

  .buttons-container {
    width: 100%;
  }

  .buttons-container a {
    width: 100%;
  }

  .button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .blinkies-wrapper {
    height: auto;
    overflow-x: auto;
  }

  .blinkies {
    flex-wrap: nowrap;
  }
}
