* {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
  background-color: #222222;
  color: #ffffff;
}

a {
  color: #3b82da;
}

.content-wrapper {
  padding: 5px 150px;
}

.content-wrapper {
  animation: fade-in 1s ease-out;
}

.content-wrapper img {
  width: 100%;
  height: auto;
  max-width: max-content;

  border-radius: 20px;
  margin: 40px;
}

.main-page-wrapper {
  animation: fade-in 2.5s ease-out;
  padding: 5px;
}

.page-title {
  font-size: 50px;
  text-align: center;
  font-family: "Oswald", sans-serif;

  border-style: solid;
  border-width: 2px;
  border-color: #ffa500;
  border-radius: 20px;

  padding-bottom: 10px;
}

.site-title {
  font-size: 60px;
  /* the text is already aligned with flexbox but without text-align it left-aligns when the text wraps */
  text-align: center;
  animation: site-title-anim 2.5s ease-out;
  color: #3b82da;
  font-family: "Alfa Slab One", sans-serif;
  letter-spacing: 3px;
}

@keyframes site-title-anim {
  from {
    transform: scale(0.85);
    color: #ffa500;
  }

  30% {
    color: #ffa500;
  }

  60% {
    color: #3b82da;
  }

  to {
    transform: scale(1);
  }
}

@keyframes fade-in {
  from {
    transform: translateY(-15px);
    opacity: 0;
  }

  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media screen and (max-width: 992px) {
  .site-title {
    font-size: 60px;
  }

  .content-wrapper {
    padding: 5px 80px;
  }

  @media screen and (max-width: 600px) {
    .site-title {
      font-size: 50px;
    }

    .content-wrapper {
      padding: 5px 10px;
    }

    @media screen and (max-width: 450px) {
      .site-title {
        font-size: 40px;
      }

      .content-wrapper {
        padding: 5px 5px;
      }
    }
  }
}

.navbar {
  width: 100%;
  display: flex;
  overflow-x: auto;
}

.nav-title {
  font-weight: bold;
}

.nav-item {
  margin: 3px;
  padding: 5px;
  background-color: #3b82da;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.5s, border-color 0.5s;
  border-style: solid;
  border-color: #ffffff00;
  border-width: 2px;
  outline: none;
}

.nav-item:hover,
.nav-item:focus {
  background-color: #ffa500;
  border-color: #ffffffff;
}

.main-nav,
.other-nav {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
}

.navbar {
  padding: 10px;
}

.main-nav .nav-item {
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 25px;
}

.main-nav .nav-item,
.other-nav .nav-item {
  background-color: #ffa500;
}

.main-nav .nav-item:hover,
.other-nav .nav-item:hover,
.main-nav .nav-item:focus,
.other-nav .nav-item:focus {
  background-color: #3b82da;
}

.other-nav .nav-item {
  border-radius: 30px;
  padding: 10px;
  font-size: 15px;
}

.main-page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.cover-slide-1,
.cover-slide-2 {
  position: fixed;
  z-index: 1;
  top: -100vh;
  left: 0;
  height: 100vh;
  width: 100vw;
}

.cover-slide-1 {
  background-color: #ffa500;
  animation: slide-up 1s ease-out;
}

.cover-slide-2 {
  background-color: #3b82da;
  animation: slide-up 0.4s ease-in;
}

@keyframes slide-up {
  from {
    top: 0vh;
  }

  to {
    top: -100vh;
  }
}

.logo-img-large {
  width: 128px;
  height: 128px;
  margin-top: 30px;

  transition: transform 0.5s;

  transform: none;
}

.logo-img-large.cyrill-egg {
  transform: scaleY(0.65);
  animation: egg 0.5s infinite;
}

@keyframes egg {
  0% {
    transform: scaleY(0.65) rotateZ(0deg) rotateX(0deg);
  }
  30% {
    transform: scaleY(0.65) rotateZ(30deg) rotateX(30deg);
  }
  50% {
    transform: scaleY(0.65) rotateZ(0deg) rotateX(0deg);
  }
  60% {
    transform: scaleY(0.65) rotateZ(30deg) rotateX(30deg);
  }
  100% {
    transform: scaleY(0.65) rotateZ(0deg) rotateX(0deg);
  }
}

.logo-img-large.cyrill-egg-finished {
  animation: jumpscare 2s;
  border-radius: 5px;
}

@keyframes jumpscare {
  0% {
    transform: scale(1);
  }
  10% {
    transform: scale(1);
  }
  20% {
    transform: scale(7);
  }
  100% {
    transform: scale(1);
  }
}
