* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
  color: #f2f2f2;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}


body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #080808;
}

.bg {
  background-image: url('../img/bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@keyframes enter-text {
  from {
    opacity: 0;
    transform: translate3d(-50px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes enter-img {
  0% {
    opacity: 0;
    transform: translate3d(100px, 0, 100px);
    transform: rotate(20deg);
  }

  50% {
    opacity: 1;
    transform: translate3d(-50px, 20px, 0);
    transform: rotate(-5deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes link {
  0% {
    top: -10px;
    width: 10px;
    height: 10px;
    right: 50%;
    border-radius: 50%;
  }

  100% {
    bottom: 0;
    width: 100%;
    height: 2px;
  }
}

.indicator {
  position: absolute;
  top: 170px;
  left: 80px;
  animation: enter-text 3s;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 80px);
  overflow: hidden;
  
  display: flex;
  align-items: center;
  justify-content: center;
}


header {
  max-width: 1120px;
  height: 60px;
  width: 100%;
  margin: 10px auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-mobile {
  display: none;
  width: 40px;
  height: 32px;
  cursor: pointer;
  padding: 6px 0;
}

.menu-mobile span {
  display: block;
  width: 100%;
  height: 2px;
  background: #f2f2f2;
  border-radius: 5px;
  margin-bottom: 6px;
}

.menu-mobile .line-2 {
  width: 50%;
}

.menu-mobile .line-3 {
  width: 70%;
  margin-bottom: 0;
}

nav, ul {
  display: flex;
  gap: 32px;
}

li > a {
  font-size: 1.125em;
  padding-left: 8px;
  position: relative;
}

li a:hover::after {
  z-index: -10;
  content: '';
  display: block;
  position: absolute;
  background-color: #d6a322;
  height: 40%;
  width: 70%;
  border-radius: 4px;
  left: 0;
  bottom: 0;
  transition: 9s ease-in;
}

.icons {
  display: flex;
  gap: 16px;
}

h1 {
  text-transform: uppercase;
  font: 500 4rem 'Rubik';
  line-height: 110%;
  color: #d6a322;
  margin-bottom: 1rem;
}

p {
  font-family: 'IBM Plex Sans';
  line-height: 150%;
  font-size: 1.125rem;
  color: #f2f2f2;
  margin-bottom: 2rem;
}

.button {
  z-index: 10;
  position: absolute;
  padding: 12px 70px;
  font: 500 16px 'Rubik';
  border: none;
  color: #222;
  background: #d6a322;
  cursor: pointer;
  transition: 0.5s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-color: none;
  border: 2px solid #d6a322;
}

.button:hover {
  -moz-transform: translate(6px, 6px);
  transform: translate(6px, 6px);
}

.content {
  width: 90%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-text {
  height: auto;
  max-width: 600px;
  animation: enter-text 3s;
}

.content-img {
  max-width: 300px;
  height: 95%;
  animation: enter-img 3s;
}

.content-img img {
  width: 100%;
  height: 100%;
  transform: rotate(-10deg);
}

footer {
  display: none;
}

@media screen and (max-width: 825px) {
  body {
    height: auto;
    overflow-y: scroll;
  }
  
  .container {
    height: auto;
  }

  .indicator {
    left: 40px;
  }

  .menu-mobile {
    display: block;
  }

  .logo img {
    width: 180px;
  }

  nav ul, nav .search {
    display: none;
  }

  .content {
    flex-direction: column-reverse;
    gap: 56px;
    margin-bottom: 100px;
  }

  h1 {
    text-transform: uppercase;
    font: 600 2.5rem "Rubik";
    line-height: 120%;
    color: #d6a322;
    margin-bottom: 1rem;
  }

  .content-img img {
    width: 150px;
  }

  footer {
    height: 120px;
    color: #f2f2f2;
    margin-top: 2rem;
    border-top: 1px solid #333;
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  footer > p {
    margin: 0;
  }

  footer a {
    color: #ffe297;

  }
}