/* Body styles--------------------------------*/
body {
  font-family: "Space Grotesk", sans-serif;
  background-color: #1b1e27;
  color: #1b1e27;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

/* Header styles--------------------------------*/
header {
  background-color: #16181f;
  padding: 10px 0;
}

/* Navbar styles */
.navbar {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0px 50px;
}

.navbar ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #ffffff;
  line-height: 26px;
  font-weight: 500;
  font-size: 20px;
  padding: 0px 25px;
  transition: color 0.3s ease-in-out;
}

.navbar ul li a:hover {
  color: #356df9;
  opacity: 0.8;
}

/* Logo styles */
.logo {
  justify-content: start;
  align-items: center;
  display: flex;
  width: 200px;
}

/* Headline styles--------------------------------*/
.headline {
  background-image: url("imgs/bg01.png");
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 500px;
}

.headline h1 {
  color: #ffffff;
  text-align: center;
  line-height: 51px;
  font-weight: 500;
  font-size: 40px;
}

/* CTA button styles */
.cta-button {
  background-color: #356df9;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  padding: 10px 20px;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 25.52px;
  text-align: center;
  width: 423px;
  transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
  background-color: #4d8cff;
}
/* Services and contact styles--------------------------------*/
.services-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(
    #f8f9fc 0%,
    #f8f9fc 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  padding: 100px 0;
}

.description {
  width: 60%;
  font-size: 26px;
  font-weight: 400;
  line-height: 33.18px;
  text-align: center;
}

.description h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 51.04px;
}

/*-----------------------------------*/
.container-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px 50px;
}

.dev-img {
  width: 504px;
  height: 493px;
  top: 1642px;
  left: 708px;
  gap: 0px;
  opacity: 0px;
}

/* Contact button styles*/
.contact-options {
  text-align: center;
  margin-top: 20px;
  font-size: 26px;
  font-weight: 400;
  line-height: 33.18px;
}

.contact-options h2 {
  padding-top: 25px;
  font-size: 40px;
  font-weight: 500;
  line-height: 51.04px;
  margin-bottom: 0px;
}

.contact-options p {
  margin-top: 10px;
}

.email {
  color: #97aab8;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 25.52px;
  transition: color 0.3s ease-in-out;
}

.email:hover {
  color: #356df9;
  opacity: 0.8;
}

/* FAQ styles--------------------------------*/
.faq {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  color: #ffffff;
}

.faq h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

.faq-item {
  margin-bottom: 40px;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}

.faq-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

.faq-item p {
  font-size: 1em;
  line-height: 1.6em;
  color: #bbbbbb;
}

.faq-item h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: #ffffff;
  margin-top: 8px;
}

.faq-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.faq-item a:hover {
  color: #356df9;
  opacity: 0.8;
}

/* Footer styles--------------------------------*/
footer {
  background-color: #1b1e27;
  color: #f8f9fc;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}

/* Media queries */

/*Displays below 1000px */
@media (max-width: 1000px) {
  .container-cards {
    flex-direction: column;
  }
  .card {
    padding: 20px 50px;
  }
}

@media (max-width: 750px) {
  .navbar {
    flex-direction: column;
    padding-top: 20px;
  }

  .navbar ul li a {
    padding: 0px 10px;
  }

  .headline h1 {
    font-size: 25px;
  }

  .dev-img {
    width: 80%;
    height: auto;
  }

  .cta-button {
    width: 80%;
  }
}

@media (max-width: 466px) {
  .headline h1 {
    font-size: 20px;
  }

  .services-contact {
    padding: 50px 0;
  }

  .description {
    font-size: 20px;
  }

  .container-cards {
    padding: 50px 0;
  }

  .faq {
    padding-bottom: 0px;
    margin-bottom: 0px;
  }

  footer {
    margin: 0px;
    padding: 0px;
  }
}
