@font-face {
  font-family: Sriracha;
  src: url("/fonts/Sriracha-Regular.woff2") format('woff2');
}

@font-face {
  font-family: Icons;
  src: url("/fonts/Icons.woff2") format('woff2');
}

* {
  font-family: sans-serif;
  hyphens: auto;
  line-height: 1.6;
}

.contacts,
.gallery-container * {
  font-family: Sriracha;
}

.bio-image-container img,
.gallery-container img {
  width: 100%;
  display: block;
}

body {
  max-width: 1280px;
  padding: 10px;
  margin: 0px auto;
}

.contacts {
  text-align: right;
}

.bio {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-image-container {
  margin: 20px;
  flex-shrink: 0;
  height: 200px;
  width: 200px;
  overflow: hidden;
  border-radius: 50%;
  border: 5px dotted #000;
}

.button {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 7px;
  color: #fefefe;
  background-color: #4350df;
  transition: 0.2s;
  text-decoration: none;
  user-select: none;
}

.button:hover {
  background-color: #3c47be;
}

.button .icon {
  font-family: Icons;
  margin-right: 1ex;
}

.gallery-container h2 {
  text-align: center;
}

.gallery-section-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-section-vertical {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.footer {
  text-align: center;
}

.e404-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.e404-error-number {
  font-size: 100px;
  margin: 0px;
}

@media screen and (max-width: 600px) {
  .bio,
  .e404-container {
    flex-wrap: wrap;
  }

  .e404-container {
    gap: 0px;
    justify-content: center;
  }

  .e404-explanation {
    text-align: center;
  }

  .cv-download-button-container {
    display: flex;
    justify-content: center;
  }
}
