@media screen and (min-width: 768px) {
  .background-image {
    padding: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    /* animation: imagefade 15s infinite cubic-bezier(0.075, 0.82, 0.165, 1); */
    animation: imagefade 10s infinite cubic-bezier(0.55, 0, 0.44, 0.98);
    background-position: 200% 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 85%;
  }

  body {
    position: absolute;
    width: 100%;
    background-image: url(images/lines.min.svg);
    background-position: -15vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }

  .button-reverse {
    text-decoration: none;
    display: block;
    cursor: pointer;
    border: solid 2px;
    border-radius: 4dvh;
    padding-left: 4dvh;
    padding-right: 4dvh;
    padding-top: 2dvh;
    padding-bottom: 2dvh;
    color: #464545;
  }

  .main-text {
    max-width: clamp(50%, 660px ,70%);
    display: flex;
    flex-basis: auto;
    justify-content: center;
    flex-direction: column;
    flex-grow: 0;
    white-space: normal;
  }

  .left-buttons {
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
    justify-content: space-between;
  }

  .inter-800 {
    font-family: "Inter";
    font-size: 7dvh;
    font-weight: 800;
  }

  .inter-700 {
    font-family: "Inter";
    font-size: 2.4dvh;
    font-weight: 700;
  }

  .inter-300 {
    font-family: "Inter";
    font-size: 2.8dvh;
    font-weight: 300;
  }

  .mks-mobile {
    display: none;
  }

  .mks-desktop {
    display: flex;
  }

  .logo {
    width: 315px;
  }
}

@media screen and (max-width: 768px) {
  .background-image {
    padding: 1rem;
  }

  body {
    min-height: 100dvh;
    background-image: url(images/lines-mobile.min.svg);
    background-position: 40% 40%;
    background-repeat: no-repeat;
    background-size: 110dvh;
  }

  .button-reverse {
    display: none;
  }

  .main-text {
    max-width: 80%;
    display: flex;
    flex-basis: auto;
    justify-content: center;
    flex-direction: column;
    flex-grow: 0;
    white-space: normal;
  }

  .left-buttons {
    display: flex;
    flex-direction: column;
    flex-basis: 55%;
    justify-content: space-between;
  }

  .inter-800 {
    font-family: "Inter";
    font-size: 4.5dvh;
    font-weight: 800;
  }

  .inter-700 {
    font-family: "Inter";
    font-size: 1.8dvh;
    font-weight: 700;
  }

  .inter-300 {
    font-family: "Inter";
    font-size: 1.4dvh;
    font-weight: 300;
  }

  .mks-mobile {
    display: flex;
  }

  .mks-desktop {
    display: none;
  }

  .logo {
    width: 165px;
  }
}

.main {
  min-height: 100%;
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  /* Prevents unwanted scrolling */
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /* outline: 1px solid red;  */
}

.button {
  text-decoration: none;
  cursor: pointer;
  background-color: #464545;
  border: solid 0px;
  border-radius: 30px;
  border-radius: 4dvh;
  padding-left: 4dvh;
  padding-right: 4dvh;
  padding-top: 2dvh;
  padding-bottom: 2dvh;
  color: #f2f2f2;
}

@keyframes imagefade {
  100%,
  0% {
    background-image: url(images/IPHONE\ MOCKUP\ -\ BARRAGENS.webp);
    filter: opacity(1);
  }

  25% {
    background-image: url(images/IPHONE\ MOCKUP\ -\ CONDOMINIOS.webp);
    filter: opacity(1);
  }

  50% {
    background-image: url(images/IPHONE\ MOCKUP\ -\ DC.webp);
    filter: opacity(1);
  }

  75% {
    background-image: url(images/IPHONE\ MOCKUP\ -\ SANEAMENTO.webp);
    filter: opacity(1);
  }
}
