* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.open-sans-400 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 14px;
}

.raleway-400 {
  font-family: "Raleway", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.text-white16p {
  font-family: "Raleway", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16;
  color: gray;
}

.text-navigation {
  font-family: "Raleway", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

.text-section {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 20px;
  color: hsl(243, 87%, 12%);
}

body {
  margin: 0;
  /* height: 100vh; */
  display: grid;
  place-items: center;
}

h2 {
  font-family: "Raleway", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 43px;
  color: hsl(243, 87%, 12%);
}

.main-container {
  max-width: 1440px;
  padding-top: 50px;
  padding-left: 70px;
  padding-right: 70px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation ul {
  display: flex;
  gap: 55px;
}

.ul-navbar {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a,
a:visited {
  color: hsl(243, 87%, 12%);
  text-decoration: none;
}

a:hover {
  color: red;
}

.features-section-1 {
  padding-top: 100px;
  display: flex;
}

.card1 {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
}

.card2 {
  flex-basis: 100%;
}

.card2 img {
  max-width: 100%;
  height: auto;
}

.email form {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.text-section-email {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 20px;
  color: hsl(0, 0%, 75%);
  flex-basis: 50%;
  height: 40px;
}

.btn-email {
  flex-basis: 30%;
  height: 40px;
  background-color: blue;
  border: none;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: hsl(0, 0%, 75%);
}

.features-section-2 {
  padding-top: 400px;
  padding-bottom: 200px;
  display: flex;
}

.see-how-fylo-works {
  display: flex;
  width: 162px;
  gap: 10px;
  border-bottom: 1px solid;
}

.testi-img-name img {
  width: 40px;
  border-radius: 50%;
}

.testi-img-name {
  display: flex;
  gap: 30px;
}

.testi > p {
  padding-top: 20px;
  padding-bottom: 20px;
}

.testi {
  padding: 20px;
  width: 300px;
  box-shadow: 10px 10px 10px lightblue;
}
.second-container {
  max-width: 1440px;
  background-color: hsl(238, 22%, 44%);
  padding-left: 70px;
  padding-right: 70px;
}

#call-to-arms {
  display: flex;
  align-items: center;
  padding: 100px 0px;
}

.email-cta {
  flex-basis: 100%;
}

.email-cta form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 25%;
  padding-right: 25%;
}

.btn-email-cta {
  height: 40px;
  width: 70%;
  background-color: blue;
  border: none;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: hsl(0, 0%, 75%);
}

.text-section-email-cta {
  height: 40px;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 20px;
  color: hsl(0, 0%, 75%);
}

.card1-cta h2 {
  color: white;
  font-family: "Raleway", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 43px;
}

.text-section-cta {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 20px;
  color: white;
}

.third-container {
  max-width: 1440px;
  width: 100%;
  background-color: hsl(243, 87%, 12%);
  padding: 100px 70px;
}

.contact-links-card-4 img {
  width: 25px;
}

.logof {
  padding-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: space-between;
}

.contact-links-card-1 {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-links-card-1-flex {
  display: flex;
  gap: 20px;
}

.contact-links-card-2 {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-links-card-3 {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-links-card-4 {
  display: flex;
  gap: 20px;
}

@media only screen and (max-width: 460px) {
  body {
    margin: 0;
    display: grid;
    place-items: start;
  }
  .main-container {
    max-width: 460px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo img {
    width: 100px;
  }

  .navigation ul {
    gap: 20px;
  }

  .features-section-1 {
    flex-direction: column;
  }

  .email {
    order: 0;
  }
  .card1 {
    order: 1;
  }

  .email {
    display: flex;
    flex-direction: column;
  }

  .email form {
    gap: 20px;
  }

  .btn-email {
    height: 40px;
    background-color: blue;
    border: none;
    border-radius: 5px;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: hsl(0, 0%, 75%);
  }

  .text-section-email {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-size: 20px;
    color: hsl(0, 0%, 75%);
    height: 40px;
  }

  .features-section-2 {
    padding-top: 200px;
    flex-direction: column;
  }

  .testi {
    padding: 20px;
    width: 300px;
    box-shadow: 10px 10px 10px lightblue;
    align-self: center;
  }

  .second-container {
    max-width: 460px;

    padding-left: 20px;
    padding-right: 20px;
  }

  #call-to-arms {
    flex-direction: column;
    text-align: center;
  }

  .email-cta form {
    padding-left: 0%;
    padding-right: 0%;
  }

  .btn-email-cta {
    width: 100%;
  }

  .third-container {
    max-width: 460px;
    padding-left: 10%;
    padding-right: 10%;
  }

  .contact-links {
    flex-direction: column;
    gap: 20px;
  }

  .contact-links-card-4 {
    padding-top: 50px;
    align-self: center;
  }
}
