@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@600&display=swap');
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

// variables
$Pink: hsl(322, 100%, 66%);
$VeryPaleCyan: hsl(193, 100%, 96%);
$VeryDarkCyan: hsl(192, 100%, 9%);
$GrayishBlue: hsl(208, 11%, 55%);

h1,h2,h3{
  font-family: 'Poppins', sans-serif;
}
body{
  font-family: 'Open Sans',sans-serif;
  font-size: 18px;
}
img{
  height: 100%;
  width: 100%;
}
.container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}
a{
  text-decoration: none;
  color: black;
}
.cta{
  padding: 10px 45px;
  border-radius: 50px;
  background-color: $Pink;
  color: white;
  font-weight: 700;
  box-shadow: -2px 2px 20px 0px #0000001f;
  font-size: .9rem;
}
#header{
  width: 100%;
  min-height: 100vh;
  padding: 100px 0;
  display: block;
  background-image: url(../images/bg-hero-mobile.svg);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: $VeryPaleCyan;
  .container{
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    .nav{
      position: absolute;
      top: 0;
      width: 100%;
      max-width: 1080px;
      margin: 0 auto;
      padding: 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .logo{
        width: 120px;
      }
      .cta-header{
        background-color: white;
        color: black;
      }
    }
    .hero{
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      .hero-info{
        h1{
          font-size: 1.8rem;
          font-weight: 600;
          margin-bottom: 1.3rem;
        }
        p{
          font-size: 1.1rem;
          font-weight: 400;
          margin-bottom: 50px;
        }
        .cta-hero{
          padding: 15px 50px;
          font-size: 1rem;
        }
        
      }
      .hero-img{
        img{
          max-width: 600px;
          margin-top: 40px;
          object-fit: contain;
        }
      }
    }
  }
}
#cards{
  padding: 100px 0;
  .container{
    .card-item{
      padding: 50px 30px ;
      box-shadow: -2px 2px 20px 0px #00000013;
      margin-bottom: 50px;
      border-radius: 10px;
      text-align: center;
      display: flex;
      flex-direction: column-reverse;
      .card-info{
        margin-top: 30px;
        h3{
          font-size: 1.3rem;
          margin-bottom: 20px;
        }
        p{
          font-size: .9rem;
          font-weight: 400;
          line-height: 1.5rem;
          color: $GrayishBlue;
        }
      }
    }
  }
}
#cta-card{
  display: flex;
  padding:  50px 0;
  margin-bottom: -100px;
  .container{
    .card{
      width: 100%;
      padding: 30px;
      text-align: center;
      box-shadow: -2px 2px 20px 0px #00000013;
      background-color: white;
      border-radius:10px ;
      h2{
        font-size: 1.3rem;
        margin-bottom: 30px;
      }
    }
  }
}
#footer{
  background-color: $VeryDarkCyan;
  color: white;
  padding: 100px 0 30px 0;
  .container{
    width: 100%;
    display: flex;
    flex-direction: column;
    .footer-info{
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      .footer-1{
        margin-top: 30px;
        ul{
          list-style: none;
          li{
            margin-top: 25px;
            .logo{
              width: 200px;
            }
            .contact{
              display: flex;
              align-items: start;
              justify-content: start;
              img{
                margin-top: 10px;
                width: 15px;
              }
              p{
                font-size: 1.2rem;
                margin-left: 20px;
                flex: 1;
              }
            }
          }
        }
      }
      .footer-2,.footer-3{
        ul{
          list-style: none;
          li{
            margin-top: 18px;
            a{
              text-decoration: none;
              font-size: 1.2rem;
              color: white;
            }
          }
        }
      }
      .footer-4{
        margin-top: 80px;
        text-align: center;
        font-size: 40px;
      }
    }
    .footer-copyright{
      margin-top: 20px;
      text-align: center;
      font-size: .8rem;
    }
  }
}
@media only screen and (min-width: 768px){
  
  #cards{
    .container{
      .card-item{
        flex-direction: row;
        padding: 50px 100px;
        justify-content: center;
        align-items: center;
        text-align: left;
        .card-info{
          margin-right: 50px;
          h3{
            font-size: 1.7rem;
          }
          p{
            font-size: 1rem;
          }
        }
        &:nth-child(even){
          flex-direction: row-reverse;
          .card-info{
            margin-left: 50px;
          }
        }
      }
    }
  }
  #cta-card{
    .container{
      .card{
        padding: 50px;
        h2{
          font-size: 2rem;
          margin-bottom: 50px;
        }
        a{
          display: inline-block;
          padding: 20px 60px;
          font-size: 1.2rem;
        }
      }
    }
  }
  #footer{
    .container{
      .footer-info{
        flex-direction: row;
        .footer-1,
        .footer-2,
        .footer-3,
        .footer-4{
          flex: 1;
          margin-left: 50px;
        }
        .footer-1{
          flex: 2.5;
          margin: 0;
        }
        .footer-2,
        .footer-3,
        .footer-4{
          margin-top: 70px;
        }
      }
      .footer-copyright{
        text-align: right;
      }
    }
  }
}
@media only screen and (min-width: 1000px){
  #header {
    background-image: url(../images/bg-hero-desktop.svg);
    background-position: center;
    background-size: cover;
    .container{
      .hero{
        flex-direction: row;
        text-align: left;
        .hero-img{
          flex: 3;
        }
        .hero-info{
          flex: 2;
          margin-right: 50px;
          h1{
            font-size: 2.2rem;
          }
        }
      }
    }
  }
}