* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: 'Raleway', sans-serif;
}

main {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.logo {
  margin: 0;
  color: #000000;
  font-size: 3.1em;
  font-weight: bold;
  text-shadow: 0.06em 0em lightskyblue;
  letter-spacing: 0.1em;
  font-family: 'Major Mono Display', monospace;
}

.logo-small {
  font-size: 2.7em;
  text-align: center;
}

.logo.logo-animated {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: animatedLogoExit 0.5s forwards 1.5s;
}

.slice {
  position: fixed;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  visibility: hidden;
  overflow: hidden;
  z-index: 30;
  transition: all 1s ease-in-out;
}
.slice.slice-top {
  top: 0;
  align-items: flex-end;
  animation: sliceShow 0.5s forwards 2s, sliceTopOut 0.4s forwards 2.5s;
  z-index: 31;
}

.slice.slice-top p {
  transform: translateY(50%);
}
.slice.slice-bottom p {
  transform: translateY(-50%);
}

.slice.slice-bottom {
  bottom: 0;
  align-items: flex-start;
  animation: sliceShow 0.5s forwards 2s, sliceBottomOut 0.4s forwards 2.5s;
}

.about-section {
  opacity: 0;
  transform: translateY(20px);
  animation: aboutSectionIn 0.5s forwards 2.6s;
}

.about-section:nth-of-type(2) {
  animation: aboutSectionIn 0.5s forwards 2.8s;
}
.about-section:nth-of-type(3) {
  animation: aboutSectionIn 0.5s forwards 3s;
}

.about-section p {
  line-height: 1.7em;
}

.about-section p a {
  color: #000000;
  text-shadow: 0.04em 0em lightskyblue;
  text-decoration: none;
}

.partners-list {
  display: flex;
  flex-direction: column;
}

.partners-list a {
  width: 200px;
  height: 80px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.partners-list a:hover {
  transform: scale(1.03);
}

.partners-list a:not(:last-of-type) {
  margin-bottom: 10px;
}

.partners-list a:nth-of-type(2) {
  width: auto;
  text-decoration: none;
}

.partners-list a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partners-list a:nth-of-type(2) img {
  width: auto;
  height: 75px;
}

@media (min-width: 762px) {
  .partners-list {
    flex-direction: row;
    justify-content: space-between;
  }

  .partners-list a {
    max-width: 200px;
    width: 100%;
  }

  .partners-list a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .partners-list a:nth-of-type(2) img {
    height: 85px;
  }
}

@keyframes animatedLogoExit {
  from {
    visibility: visible;
  }
  to {
    visibility: hidden;
  }
}

@keyframes sliceShow {
  from {
    visibility: hidden;
  }
  to {
    visibility: visible;
  }
}

@keyframes sliceTopOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-40%);
  }
}

@keyframes sliceBottomOut {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(40%);
  }
}

@keyframes aboutSectionIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
