@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

section {
  padding: 3rem 0;
}

.container {
  margin: 1rem auto;
  padding: 1rem;
  max-width: 1300px;
  z-index: 5;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

p {
  line-height: 170%;
}

b {
  font-weight: 600;
}

.hero-section {
  position: relative;
  background: #1f4250;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 90vh;
  color: #fff;
  display: flex;
  align-items: center;
}

.how-section {
  color: #1f4250;
  position: relative;
  padding-bottom: 10rem;
}

.hero-section .columns {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.form-container {
  background: #fff;
  box-shadow: 11px 4px 23px rgba(0, 0, 0, 0.25);
  padding: 2rem 0;
  border-radius: 7px;
  color: #1f4250;
  text-align: center;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

.decoration {
  position: absolute;
  bottom: -0.5rem;
  right: 0;
  left: 0;
  width: 100%;

  background-size: cover;
  z-index: 20;
}

.hero-decoration {
  background-image: url("./../img/hero-decoration.png");
  height: 150px;
}

.footer-decoration {
  background-image: url("./../img/footer-decoration.png");
  height: 120px;
}

.hero-image {
  bottom: 0;
  left: 0;
  right: 0;
  left:0;
  background-image: url("./../img/house.png");
  background-size: cover;
  z-index: 1;
}

.how-section h1 {
  text-align: center;
  font-size: 2.65rem;
  margin-bottom: 2rem;
}

.card {
  box-shadow: 0px 4px 30px rgba(38, 50, 56, 0.15);
  border-radius: 7px;
}

.card img {
  width: 100%;
  border-radius: 7px 7px 0 0;
}

.card-content {
  padding: 1rem 2rem;
}

.card-title {
  font-weight: 600;
}

.gradient {
  background: linear-gradient(93.11deg, #06bcc1 1.05%, #ccff66 107.81%);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
  font-weight: 700;
}

h3 {
  font-weight: 500;
}

footer {
  background: #1f4250;
  font-size: 0.75rem;
  color: #ffffff6b;
  text-align: center;
  padding: 3rem 0;
  line-height: 160%;
}

footer .container {
  margin: 0 auto;
}

footer a {
  background: linear-gradient(93.11deg, #06bcc1 1.05%, #ccff66 107.81%);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
  margin-inline: 1rem;
}

.mobile{
    display: none;
}

.ty-section{
    background-color: #1f4250;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0%;
  }

  50% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}

@media screen and (max-width: 65em) {
    body{
        text-align: center;
    }
    .columns{
        grid-template-columns: 1fr !important;
    }

    .hero-section{
        padding-bottom: 10rem;
    }

    .decoration{
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: bottom;
        height: 150px;
    }

    .mobile{
        display: block;
        text-align: center;
    }

    .desktop{
        display: none;
    }
    
    h1{
        font-size: 2.15rem;
        
    }
}
