@font-face { 
	font-family: "doomedFont"; 
	src: url(./fonts/LITTLEDOOMEDWORLD-REGULAR.TTF) format("truetype");
}

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

body {
  margin: 0;
  background-color: #000011;
  color: #E3FFD6;
  font-family: "doomedFont", serif;
  font-size: 24px;
  letter-spacing: 0.05em;
}

.text-box {
  position: relative;
  border: 2px solid white;
  border-radius: 2px;
  padding: 30px;
  background-color: transparent;

  width: calc(100% - 100px);
  min-height: calc(100vh - 200px);

  margin: 0 auto;
  box-sizing: border-box;
}

.media-tab {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: calc(100% - 40px);
  text-decoration: none;
}

.media-tab img {
  display: block;
}

.footer {
  color: crimson;
  padding: 40px;
  text-align: center;
  opacity: 55%;
  font-size: 20px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.text {
  font-size: 26px;
  padding-left: 20px;
  letter-spacing: -0.05em;
}

h1 {
  font-family: crawlerFont;
}

.header {
  text-align: center;
  opacity: 100%;
  font-size: 12px;
  padding: 15px;
  font-family: serif;
}

.header-text {
  color: white;
}

a {
  color: gray;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;   /* add this */
  padding: 30px 0 10px;
}

.badges img {
  width: auto;
  height: auto;
  max-width: 100%;
  image-rendering: pixelated;
}

.badge-list {
  color: crimson;
  padding: 40px;
  text-align: center;
  opacity: 100%;
  font-size: 20px;
}

@media (max-width: 800px) {
  .text-box {
    width: calc(100% - 30px);
    padding: 20px;
  }

  .media-tab {
    position: static;
    margin: 0 0 10px;
  }
}
