:root {
  --max-width: 700px;
  --padding: 2rem;
  --border-radius: 8px;
}

@font-face {
  font-family: 'ArrgFont';
  src: url('font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html, body {
  font-family: ArrgFont;
  font-size: 16px;
  letter-spacing: 0.1rem;
  margin: 0;
  padding: 0;
  background: black; /*fallback for mobile*/
  overflow-x: hidden;
}

body {
  line-height: 1.2rem;
  min-height: 100dvh;
  color: #aaaaaa;
  background: linear-gradient(to top, #131111 50%, #210236 180%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

p {
  text-align: left;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  width: 100%;
  flex: .5;
  text-align: center;
  padding: 2rem;
}

header, footer {
  text-align: center;
  padding: .3rem;
}

header {
  border-bottom: 1px solid #ffffff;
  padding: 1rem;
  text-align: center;
  opacity: 0.85;
}

h1, h2, h3 {
  font-weight: 500;
  color: #ffffff;
}

h4 {
  text-align: center;
}
.box {
  border: 1px solid white;
  margin-top: 1rem;
  margin-bottom: 1em;
  margin-inline: auto;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  color: white;
  box-sizing: border-box;
  max-width: 600px;
  width: fit-content;
  text-align: center;
}

/* Box with image on the left */
.box-with-image {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

/* Circular profile image */
.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}

.tux {
  width: 100px;
  height: 110px;
}

/* Text next to the image */
.box-text {
  max-width: 500px;
}

/* Links */
a {
  color: #ffcd04;
  text-decoration: none;
}

a:hover {
  color: #8300fd;
}

footer {
  text-align: center;
  padding: 1rem;
  opacity: 0.7;
  cursor: pointer;
  border-top: .5px solid #ffffff;
}

nav a {
  margin: 0 0.75rem;
}

.steam-frame {
  width: 100%;
  height: 400px;
  display: block;
  padding: 0;
}

.iframe-box {
  padding: 0; /* remove excess padding */
}

.iframe-box iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  margin-bottom: -53%;
}
