@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@600&display=swap");

/* Global styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

:root {
  --pink: hsl(322, 100%, 66%);
  --pale-cyan: hsl(193, 100%, 96%);
  --dark-cyan: hsl(191, 97%, 15%);
  --grayish-blue: hsl(208, 11%, 55%);
}

html {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* buttons */

.btn {
  border: none;
  outline: none;
  border-radius: 30px;
  padding: 17px 64px;
  font-weight: 700;
  transition: all .2s ease-in-out;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.btn:hover {
  cursor: pointer;
  opacity: 1.5;
  transform: scale(1.2);
}

.btn.primary {
  background: white;
}

.btn.secondary {
  color: white;
  background: var(--pink);
}

/* hero-section */
.hero-section {
  height: 100vh;
  background: var(--pale-cyan) url("images/bg-hero-desktop.svg") no-repeat;
  padding: 36px 59px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.logo img {
  height: 26px;
  width: auto;
}

.hero-content {
  display: flex;
  align-items: center;
}

.hero-content .txt-content {
  flex: 1;
  padding-right: 70px;
}

.hero-content .txt-content p {
  margin: 25px 0;
}

.hero-content .image {
  flex: 1;
}
.hero-content .image img {
  width: 100%;
}

/* features-section */

.cards-section {
  padding: 100px 59px 200px 59px;
  position: relative;
}

.card {
  display: flex;
  height: 400px;
  margin-bottom: 45px;
  padding: 55px 55px 55px 100px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 20px;
}

.card .txt-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card .txt-content h2 {
  margin-bottom: 20px;
}

.card .txt-content p {
  color: var(--grayish-blue);
}

.card .image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.card .image img {
  height: 90%;
}

.card:nth-child(even) {
  flex-direction: row-reverse;
}

.card:nth-child(even) .image {
  justify-content: flex-start;
}

.cta {
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 50px 0;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 10;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  margin: auto;
  background: white;
}

.cta h2 {
  margin-bottom: 20px;
}

/* footer */

footer {
  background: var(--dark-cyan);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 150px 70px 70px 70px;
  font-size: 14px;
  position: relative;
}

footer .start {
  max-width: 350px;
  width: 100%;
  margin-right: 2rem;
}

footer .start p {
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
}

footer .start p img {
  height: 14px;
  margin-right: 15px;
  margin-top: 3px;
}

.footer-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  width: 100%;
}

footer a {
  text-decoration: none;
  color: white;
  margin-bottom: 15px;
  text-align: center;
  transition: all .2s ease-in-out;
}

footer a:hover {
  text-decoration: none;
  transform: scale(1.5);
}

footer .links {
  display: flex;
  flex-direction: column;

}

footer .socials {
  font-size: 20px;
  align-self: flex-start;
}
footer .circle{
border: 1px solid #fff;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	height: 40px;
	width: 40px;
}
footer .socials a:hover {
    text-decoration: none;
    color: var(--pink);
    border: none;
}
.copyright {
  position: absolute;
  right: 30px;
  bottom: 30px;
  font-size: 12px;
}

/* Mobile 375px */

@media (max-width: 376px) {
  /* hero-section */

  .hero-section {
    padding: 20px;
    background: var(--pale-cyan) url("images/bg-hero-mobile.svg") no-repeat;
  }
  .btn {
    padding: 10px 30px;
  }
  .logo img {
    height: 18px;
  }
  .hero-content {
    flex-direction: column;
  }
  .hero-content .txt-content {
    text-align: center;
    padding-right: 0px;
    margin: 48px 0;
  }

  /* card-section  */

  .cards-section {
    padding: 100px 20px 200px 20px;
  }

  .cards-section h2 {
    font-size: 25px;
  }

  .feature {
    flex-direction: column-reverse;
    text-align: center;
    height: 500px;
    padding: 30px 20px;
  }

  .card .image img {
    height: auto;
    width: 90%;
  }

  .card:nth-child(even) {
    flex-direction: column-reverse;
  }

  .cta {
    text-align: center;
    width: 340px;
    padding: 30px 0;
  }

  /* footer */
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 150px 30px 70px 30px;
  }

  .footer-section {
    margin-top: 2rem;
    flex-direction: column;
  }

  footer .socials {
    align-self: center;
  }

  .copyright {
    right: 50%;
    transform: translateX(50%);
    width: 300px;
  }
}
