:root {
  --main-color: #faf0c8;
  --stripe--height: 50px;
}

body {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Lato", sans-serif;
  background-color: var(--main-color);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  row-gap: 40px;
}

.container::before {
  content: "";
  position: absolute;
  width: 100vw; 
  height: calc(var(--stripe--height) * 10);
  background: repeating-linear-gradient(
    to bottom,
    #af463c 0px,
    #af463c var(--stripe--height),
    #af8c3c var(--stripe--height),
    #af8c3c calc(var(--stripe--height) * 2),
    #32afe1 calc(var(--stripe--height) * 2),
    #32afe1 calc(var(--stripe--height) * 3),
    #46af3c calc(var(--stripe--height) * 3),
    #46af3c calc(var(--stripe--height) * 4),
    #1d1d1b calc(var(--stripe--height) * 4),
    #1d1d1b calc(var(--stripe--height) * 6),
    #46af3c calc(var(--stripe--height) * 6),
    #46af3c calc(var(--stripe--height) * 7),
    #32afe1 calc(var(--stripe--height) * 7),
    #32afe1 calc(var(--stripe--height) * 8),
    #af8c3c calc(var(--stripe--height) * 8),
    #af8c3c calc(var(--stripe--height) * 9),
    #af463c calc(var(--stripe--height) * 9),
    #af463c calc(var(--stripe--height) * 10)
  );  
  animation: background-animation 8s infinite; 
}

@keyframes background-animation {
  0% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.3);
  }

  100% {
    filter: brightness(1);
  }
}

.logo {
  position: relative;
  width: calc(100vw - 20px);
  transition: 0.8s;
}

.logo:hover {
  transform: scale(1.05);
}

.link {
  position: relative;
  text-decoration: none;
  font-size: 38px;
  color: var(--main-color);
}

.link::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 2px;
  background-color: var(--main-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.link:hover::after {
  transform: scaleX(1);
}

@media (min-width: 320px) {
  .logo {
    width: 300px;
  }
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }
}

@media (min-width: 1440px) {
  .logo {
    width: 360px;
  }
}

@media (orientation: landscape) and (max-width: 767px) {
  body {
    margin-top: 60px;
  }
}
