@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700;900&display=swap&display=optional&display=fallback');

body {
  background: linear-gradient(45deg, rgba(0,0,0,1) 0%, rgba(7,30,42,1) 100%);
  background-repeat: no-repeat;

  font-family: "Fira Sans", sans-serif;

}

.banner {
  width: 100%;
}

.bannercontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 100px;
}

.bannerh1 {
  background-image: linear-gradient(278deg, rgb(32, 250, 161) 0%, rgb(17, 215, 244) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 8px;
  font-weight: 900;
  color: white;
  font-size: 48px;
  letter-spacing: -3px;

  animation: title .5s;
}

@keyframes title {
  from {
   filter: blur(5px);
    scale: 3;
    width: max-content;
    letter-spacing: 10px;
    /* transform: scale(3); */
  }
  to {
    filter: blur(0px);
    scale: 1;
    letter-spacing: -3px;
    /* transform: scale(1); */
  }
}

.bannerh2 {
  font-weight: 700;
  color: white;
  font-size: 24px;
  position: relative;
  opacity: 0;

  animation: visible 1s ease-in-out forwards;
  animation-delay: 1s;
}

@keyframes visible {
  to {
    opacity: 1;
  }
}

.bannerh2::before {
  content: "";
  color: white;
  letter-spacing: 0px;
  padding: 4px;

  animation: words 10s infinite;
  animation-delay: 1.1s;
}

.bannerh2::after {
  background: linear-gradient(45deg, rgb(4 19 27) 0%, rgba(6, 26, 33, 1) 100%);
  content: "";
  position: absolute;
  height: 100%;
  right: -10px;
  top: -8px;
  border-left: 2px solid white;
  width: calc(100% + 15px);
  padding: 8px 0;
  
  animation: cursor 0.8s infinite, digita 10s steps(50) infinite;
  animation-delay: 1.1s;
}

@keyframes digita {
  10%, 15%, 35%, 40%, 60%, 65%, 90%, 95% {
    width: 0;
  }
  5%, 20%, 30%, 45%, 55%, 70%, 85%, 100% {
    width: calc(100% + 15px);
  } 
}

@keyframes cursor {
  0% {
    border-left: 2px solid linear-gradient(45deg, rgb(4 19 27) 0%, rgba(6, 26, 33, 1) 100%);
  }
}

@keyframes words {
  0%, 25% {
    content: "FUNILARIA E PINTURA";
  }
  26%, 50% {
    content: "QUALIDADE E CONFIANÇA";
  }
  51%, 75% {
    content: "SEU CARRO COMO NOVO";
  }
  76%, 100% {
    content: "ORÇAMENTO VIA WHATS";
  }
}

.bannerp {
  font-weight: 400;
  color: #b5bdc9;
  font-size: 18px;
  text-align: center;
  opacity: 0;
  padding: 52px 12px 32px 12px;

  animation: opacity 1s ease-in-out forwards;
  animation-fill-mode: both;
  animation-delay: 2s;
}

@keyframes opacity {
  
  to {
    opacity: 1 ;
  }
}

.bannerButton {
    display: block;
    opacity: 0;
    text-align: center;
    margin-bottom: 32px;

    animation: opacity 2s ease-in-out forwards;
    animation-fill-mode: both;
    animation-delay: 2.5s;

    img {
      width: 200px;
    }
}

.bannerimage {
    width: 90%;
    border: 1px solid #222;
    border-radius: 20px;
    display: block;
    margin: auto;
}

main {
  margin: 64px 0px;
  opacity: 0;

  animation: opacity 1s forwards;
  animation-fill-mode: both;
  animation-delay: 3s;
}

.subtitleh2 {
  background-image: linear-gradient(278deg, rgb(32, 250, 161) 0%, rgb(17, 215, 244) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  color: white;
  font-size: 32px;
  text-align: center;
  padding-bottom: 4px;
}

.cardcontainer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  margin: 32px 12px;
}

.reviewcard {
  background-color: #090b10;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 24px;
}

.reviewh3 {
  color: #f2f2f2;
  font-size: 24px;
  padding-bottom: 12px;
}

.reviewstar {
  padding-bottom: 12px;
  display: block;
}

.reviewtext {
  color: #9ca3af;
}

.reviewButton {
  background: linear-gradient(146.557deg, rgb(36, 255, 149) 0%, rgb(12, 210, 255) 100%);
    color: black;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 20px;
    border: none;
    margin: auto;
    text-decoration: none;
}

.mapLocation {
  margin: 24px auto;
  display: flex;
  justify-content: center;
  width: 400px;
  height: auto;
  
  img {
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
}

footer {
  padding-bottom: 32px;
  background-color: #222;
  color: #aaa;
}

footer img {
  width: 100px;
}

.footerTitle {
  padding-top: 24px;
  font-size: 24px;
  text-align: center;
}

.footercontainer {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-direction: column;
}

.footerP {
  a {
    text-decoration: none;
    color: #bbb;
    transition: 1s;
    border: 1px solid #333;
    padding: 4px;
    border-radius: 8px;
  }
}

.footerP:hover {
  a {
    border: 1px solid rgb(36, 255, 149);
    background-color: #090b10;
  }
}

@media screen and (min-width: 768px) {
  .bannerh1{
    font-size: 58px;
  }

  .bannerh2 {
    font-size: 34px;
  }

  .bannerp {
    font-size: 22px;
  }

  .bannerButton {
    img {
        width: 250px;
    }
  }

  .cardcontainer {
    margin: 32px auto;
    width: 80%;
  }

  .mapLocation {
    width: 600px;

    img {
      border-radius: 30px;
    }
  }

}

@media screen and (min-width: 1024px) {
  .bannerh1{
    font-size: 68px;
  }

  .bannerh2 {
    font-size: 44px;
  }

  .bannerp {
    font-size: 32px;
    padding: 52px 64px 32px 64px;
  }

  .bannerButton {
    img {
        width: 300px;
    }
  }
  
  .cardcontainer {
    margin: 32px auto;
    width: 60%;
  }

  .reviewh3 {
    font-size: 28px;
  }

  .reviewtext {
    font-size: 20px;
  }

  .mapLocation {
    width: 800px;

    img {
      border-radius: 40px;
    }
  }

}

@media screen and (min-width: 1440px) {
  .bannerh1{
    font-size: 76px;
  }

  .bannerh2 {
    font-size: 52px;
  }

  .bannerButton {
    img {
        width: 450px;
    }
  }

  .subtitleh2 {
    font-size: 44px;
  }

  .reviewh3 {
    font-size: 32px;
  }

  .reviewtext {
    font-size: 24px;
  }
  
  .cardcontainer {
    align-items: stretch;
    margin: 32px auto;
    width: 60%;
  }

  .mapLocation {
    width: 950px;

    img {
      border-radius: 60px;
    }
  }

}