#face_sect {
  height: 100vh;
  background: url("images/pizza.png");
  background-size: cover;
}

#face_sect ._wrapper {
  padding: 0 170px;
}

#face_sect::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 10.5rem;
  background: var(--main-color);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

#face_sect .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1000px;
  width: 100%;
  height: auto;
  transform: translateY(35px);
  flex-wrap: wrap;
}

.main-title h1 {
  font-size: 7rem;
  line-height: 6.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.main-title span {
  font-size: 6.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.btn {
  position: relative;
  display: block;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.25rem 1.25rem 1.25rem 4.3rem;
  margin-bottom: 0.7rem;
  background: var(--main-color);
  border: 4px solid #fff;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 0;
  width: 124%;
  height: 100%;
  background: #000;
  opacity: 0.1;
  z-index: 1;
  transform: scaleX(0) skew(-45deg);
  transform-origin: right;
  transition: transform 0.3s;
}

.btn p {
  z-index: 5;
  position: relative;
}

.btn:hover::before {
  transform-origin: left;
  transform: scaleX(1) skew(-45deg);
}

.btn:active::before {
  opacity: 0.2;
}

@media (max-width: 1200px) {
  #face_sect ._wrapper {
    padding: 0 100px;
  }
}

@media (max-width: 1024px) {
  #face_sect ._wrapper {
    padding: 0 50px;
  }

  #face_sect .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  #face_sect::after {
    height: 10rem;
  }

  .main-title h1 {
    font-size: 5rem;
    line-height: 5.9rem;
  }

  .main-title span {
    font-size: 5.5rem;
  }

  .btn {
    font-size: 1.6rem;
    padding: 1rem 1rem 1rem 4rem;
  }
}

@media (max-width: 768px) {
  #face_sect .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1.9rem;
  }

  .btn {
    align-self: flex-end;
  }
}

@media (max-width: 600px) {
  #face_sect .container {
    gap: 1.25rem;
  }

  #face_sect::after {
    height: 8rem;
  }

  .main-title h1 {
    font-size: 5rem;
    line-height: 1;
  }

  .main-title span {
    font-size: 4rem;
  }

  .btn {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    margin-bottom: 0.75rem;
    border-width: 2px;
  }
}

@media (max-width: 500px) {
  #face_sect::after {
    height: 7.5rem;
  }

  .main-title h1 {
    font-size: 4.3rem;
    line-height: 1;
  }

  .main-title span {
    font-size: 3.75rem;
  }

  .btn {
    font-size: 1.3rem;
    padding: 0.7rem 0.7rem 0.7rem 2rem;
  }
}

@media (max-width: 400px) {
  .main-title h1 {
    font-size: 3.6rem;
    line-height: 1;
  }

  .main-title span {
    font-size: 3.3rem;
  }
}
