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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex-wrap: wrap;
}

:root {
  --dark-bg-color: #1f2937;
  --highlight-color: #3882f6;
}

body {
  font-family: "Roboto", "Times New Roman", Times, serif;
  font-size: 18px;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 10rem;

  background-color: var(--dark-bg-color);
  color: #f9faf8;
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

nav ul li a {
  position: relative;
  color: #e5e7eb;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: white;
}

nav ul li a:hover::after {
  width: 100%;
}

nav .title {
  font-size: 24px;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: inherit;
}

.one {
  background-color: var(--dark-bg-color);
  color: #f9faf8;

  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 10rem;
}

.one div {
  display: flex;
  gap: 0.6rem;
  flex-direction: column;
  max-width: 430px;
}

.one h1 {
  max-width: 300px;
  font-size: 48px;
}

.one p {
  color: #e5e7eb;
  font-size: 18px;
}

button {
  display: inline-block;
  width: max-content;
  height: max-content;
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  font-size: 17px;

  background-color: var(--highlight-color);
  border: none;
  color: white;
  font-weight: bold;

  transition: 0.3s ease;
}

button:hover {
  background-color: rgb(49, 113, 215);
}

.two {
  display: flex;
  gap: 3rem;
  text-align: center;
  flex-direction: column;
  padding: 4rem 10rem;
}

.two div {
  display: flex;
  align-items: center;
  margin: 0 auto;
  gap: 1rem;
}

.two h2 {
  font-size: 36px;
  color: #1f2937;
}

.two .item {
  display: flex;
  flex-direction: column;
}

.three {
  background-color: #e5e7eb;
  padding: 8rem 10rem;
}

.three blockquote {
  font-size: 36px;
  font-style: italic;
  font-weight: 300;
}

.three figcaption {
  font-size: 22px;
  font-weight: bold;
  text-align: right;
}

.four {
  padding: 6rem 10rem;
}

.four .cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 5rem;
  background-color: var(--highlight-color);
  color: white;
  border-radius: 12px;
}

.four button {
  border: 2px solid white;
}

.four button:hover {
  background-color: white;
  color: var(--highlight-color);
}

.four p {
  font-weight: 300;
}

footer {
  background-color: var(--dark-bg-color);
  padding: 2rem 10rem;
  color: #e5e7eb;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 1000px) {
  nav,
  .one,
  .two,
  .three,
  .four,
  footer {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 16px;
  }

  .one img {
    margin: 2rem auto 0;
  }

  .one h1 {
    font-size: 32px;
  }

  .two h2 {
    font-size: 28px;
  }

  .three blockquote {
    font-size: 24px;
  }

  .three figcaption {
    font-size: 22px;
  }
}
