* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --color-black-primary: rgba(39, 45, 55, 1);
  --color-black-secondary: rgba(21, 27, 40, 1);

  --color-blue-primary: #1a2942;
  --color-blue-secondary: #d4af37;
  --color-blue-tertiary: #f7f7f7;

  --color-white-primary: #f7f7f7;
  --color-white-secondary: rgba(248, 249, 251, 1);
  --color-white-tertiary: rgba(234, 235, 240, 1);

  --color-gray-primary: rgba(95, 109, 126, 1);
  --color-gray-secondary: rgba(217, 217, 217, 1);
  --color-gray-tertiary: rgba(165, 172, 186, 1);
  --color-gray-fourth: rgba(44, 52, 68, 1);
}
body {
  font-family: "Inter", sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  display: inline-block;
  color: var(--color-black-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.375rem;
}
img {
  width: 100%;
  display: block;
}
button {
  all: unset;
  cursor: pointer;
  display: inline-block;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.375rem;
}

span {
  display: inline-block;
}

h1 {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.75rem;
  letter-spacing: -0.0325rem;
}
h2 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.625rem;
  letter-spacing: -0.02rem;
}
h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.875rem;
  letter-spacing: -0.0138rem;
}
h6 {
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: -0.0063rem;
}
p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.0063rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
  padding: 0 2rem;
}

.flex-column {
  flex-direction: column;
}
.rel {
  position: relative;
}

.row {
  display: flex;
  flex-wrap: wrap;
}
.d-flex {
  display: flex;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-around {
  justify-content: space-around;
}
.align-center {
  align-items: center;
}

/* header */
.header {
  background-color: var(--color-white-secondary);
}
/* navbar */
.navbar {
  padding: 1.25rem 0;
  border-bottom: 0.0625rem solid var(--color-white-tertiary);
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
}

.navbar__head {
  gap: 4rem;
}

.navbar__links {
  gap: 2rem;
  /* justify-self: flex-start; */
}
.navbar__links a {
  color: var(--color-black-primary);
  padding: 0.125rem 0;
}

.navbar__links a.d-flex {
  gap: 0.5rem;
}

.navbar__sign {
  gap: 1.5rem;
}

.navbar__sign-up {
  color: var(--color-blue-primary);
  padding: 0.75rem 0;
}
.navbar__sign-in {
  color: var(--color-white-primary);
  background-color: var(--color-blue-primary);
  padding: 0.75rem 1.125rem;
  border-radius: 0.375rem;
}
.navbar__res {
  display: none;
}
/* navbar */

/* hero */
.hero {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5.75rem;
}
.hero h6 {
  color: var(--color-blue-primary);
  font-weight: 600;
}

.hero h1 {
  color: var(--color-black-primary);
}
.hero h1 span {
  display: block;
}
/* hero */

/* header */

/* main */
/* subscribe */

.subscribe {
  background-color: var(--color-blue-secondary);
  padding: 4rem 0;
}

.subscribe__head {
  width: 54%;
}
.subscribe__head h2 {
  color: var(--color-white-primary);
  width: 86%;
  margin-bottom: 1.5rem;
}
.subscribe__head p {
  color: var(--color-blue-tertiary);
}
.subscribe__head p span {
  display: block;
}

.subscribe__form {
  width: 46%;
  align-items: flex-start;
  gap: 0.5rem;
  padding-left: 7.5rem;
}

.subscribe__submit {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.subscribe__submit input {
  outline: none;
  border: none;
  width: 100%;
  padding-left: 1rem;
}

.subscribe__submit button {
  background-color: var(--color-blue-primary);
  color: var(--color-white-primary);
}

.subscribe__form h6 {
  color: var(--color-blue-tertiary);
  font-weight: 400;
}
/* subscribe */

/* features */
.features {
  padding: 4rem 0;
}

.features .container > .row {
  gap: 3.4%;
  flex-wrap: nowrap;
}
.features h2 {
  color: var(--color-black-primary);
}
.features p {
  color: var(--color-gray-primary);
}

.features h6 {
  color: var(--color-gray-primary);
  font-weight: 500;
}
.features__main {
  width: 48.3%;
  gap: 1rem;
}
.features__main div {
  width: 100%;
  height: 13.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
}
.features__main img {
  object-fit: cover;
  height: 100%;
  object-position: center 30%;
}
.features__sub {
  width: 48.3%;
  gap: 2rem;
}
.features__sub-item {
  gap: 4%;
}
.features__item-image {
  width: 31.9%;
  height: 7.375rem;
  border-radius: 0.625rem;
  overflow: hidden;
}
.features__item-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.features__item-head {
  width: 63%;
}

/* features */

/* main */

/* blog */
.blog {
  padding: 4rem 0;
}
.blog__head {
  text-align: center;
  margin-bottom: 2.5625rem;
}

.blog__head h2 {
  font-weight: 700;
  letter-spacing: -0.04rem;
  color: var(--color-black-primary);
  margin-bottom: 1.125rem;
}
.blog__head div {
  width: 8.625rem;
  height: 0.3125rem;
  background-color: var(--color-gray-secondary);
  margin: 0 auto;
}

.blog__items {
  gap: 2.8%;
  row-gap: 3rem;
}

.blog__item {
  width: 31.4447%;
  align-items: flex-start;
  gap: 0.5rem;
}

.blog__item div {
  width: 100%;
  border-radius: 0.625rem;
  overflow: hidden;
  margin-bottom: 8px;
}
.blog__item div img {
  object-fit: cover;
  object-position: center;
  height: 100%;
}
.blog__item h6 {
  color: var(--color-gray-primary);
  font-weight: 500;
}
.blog__item h3 {
  color: var(--color-black-primary);
  margin-bottom: 0.5rem;
}
.blog__item a {
  color: var(--color-blue-primary);
  gap: 0.375rem;
  padding: 0.0625rem 0;
  width: 100%;
}
/* blog */

/* welcome */
.welcome {
  text-align: center;
  background-color: var(--color-blue-secondary);
  padding: 4rem 0;
}

.welcome h6 {
  font-weight: 600;
  color: var(--color-white-primary);
  margin-bottom: 0.5rem;
}
.welcome h2 {
  color: var(--color-white-primary);
  margin: 0 auto;
  margin-bottom: 2rem;
  max-width: 37.5rem;
}
.welcome a {
  padding: 0.75rem 1.125rem;
  border-radius: 0.375rem;
}
.welcome__sign-up {
  color: var(--color-blue-primary);
  background-color: var(--color-white-primary);
}
.welcome__sign-in {
  color: var(--color-white-primary);
  background-color: var(--color-blue-primary);
  display: none;
}
/* welcome */

/* footer */
.footer {
  background-color: var(--color-black-secondary);
  padding: 4rem 0;
}
.footer a {
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.0063rem;
  font-weight: 500;
  color: var(--color-gray-tertiary);
}
.footer h5 {
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.0063rem;
  font-weight: 600;
  color: var(--color-white-secondary);
  margin-bottom: 0.75rem;
}
.footer__main {
  /* gap: 15%; */
  justify-content: space-between;
  margin-bottom: 4rem;
}
.footer__head {
  width: 25%;
  gap: 1rem;
}
.footer__head p {
  color: var(--color-gray-tertiary);
}

.footer__logo {
  width: 9.375rem;
  padding-bottom: 0.375rem;
}
.footer__submit {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}
.footer__submit input {
  outline: none;
  border: none;
  padding-left: 1rem;
  flex-grow: 1;
  height: 100%;
  background-color: var(--color-gray-fourth);
  min-width: 0;
}
.footer__submit input::placeholder {
  color: var(--color-gray-tertiary); /* replace with your desired color */
}

.footer__submit button {
  background-color: var(--color-blue-primary);
  color: var(--color-white-primary);
  flex-shrink: 0;
}
.footer__column {
  gap: 0.75rem;
}

small {
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: -0.0063rem;
  font-weight: 400;
  color: var(--color-gray-tertiary);
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-fourth);
  width: 100%;
  display: inline-block;
}
/* footer */

@media (max-width: 928px) {
  .navbar__sign {
    flex-basis: 30%;
    text-align: center;
    margin: 0 auto;
    margin-top: 1rem;
  }
  .features .container > .row {
    flex-wrap: wrap;
  }
  .subscribe__head {
    width: 100%;
  }

  .subscribe__form {
    width: 50%;
    align-items: flex-start;
    /* gap: 0.5rem; */
    padding-left: 0;
  }
  .subscribe .container > .row {
    gap: 2rem;
  }
  /* footer */
  .footer {
    padding: 2.5rem 0;
  }
  .footer__main {
    gap: 4rem;
  }
  .footer__head {
    width: 82%;
  }

  .footer__column-choose {
    order: 1;
  }
  /* footer */
}
@media (max-width: 768px) {
  .container {
    width: 100%;
  }
  /* navbar */

  .navbar__links {
    display: none;
  }
  .navbar__sign {
    display: none;
  }
  .navbar__res {
    display: inline-block;
  }
  /* navbar */
  /* main */
  .main {
    flex-direction: column-reverse;
  }
  /* subscribe */
  .subscribe .container > .row {
    gap: 2rem;
  }
  .subscribe__head h2 {
    color: var(--color-white-primary);
    width: 90%;
  }
  .subscribe__head {
    width: 100%;
  }
  .subscribe__head h2 {
    margin-bottom: 1rem;
  }

  .subscribe__form {
    width: 80%;
    align-items: flex-start;
    /* gap: 0.5rem; */
    padding-left: 0;
  }
  /* subscribe */
  /* features */
  .features .container > .row {
    row-gap: 2rem;
  }
  .features__main {
    width: 100%;
  }
  .features__main div {
    width: 100%;
    box-shadow: none;
    height: 18.6875rem;
  }
  .features__sub {
    width: 100%;
  }
  .features__sub-item {
    width: 100%;
    gap: 3.4%;
  }
  .features__item-image {
    height: 10.375rem;
    width: 26.7%;
    border-radius: 0.625rem;
    overflow: hidden;
  }
  .features__item-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .features__item-head h3 {
    font-weight: 500;
  }
  .features__item-head p {
    margin-bottom: 2rem;
  }
  /* features */
  /* main */

  /* blog */
  .blog__items {
    row-gap: 4rem;
  }
  .blog__item {
    width: 47.6%;
  }
  .blog__item div {
    width: 100%;
  }
  /* blog */
  /* welcome */
  .welcome__buttons {
    gap: 1rem;
  }
  .welcome__sign-in {
    display: inline-block;
  }
  /* welcome */
}

@media (max-width: 376px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }
  h1 {
    font-weight: 600;
    font-size: 2.25rem;
    line-height: 2.75rem;
    letter-spacing: -0.0325rem;
    margin-top: 2rem;
  }
  h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    letter-spacing: -0.035rem;
  }
  h3 {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.75rem;
    letter-spacing: -0.025rem;
  }

  /* hero */
  .hero {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  /* hero */

  /* subscribe */
  .subscribe {
    padding: 1rem 0;
  }
  .subscribe__head h2 {
    width: 100%;
  }
  .subscribe__form {
    width: 100%;
  }
  .subscribe__submit {
    flex-wrap: wrap;
    border-radius: 0;
    gap: 1rem;
  }
  .subscribe__submit input {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    height: 2.875rem;
  }
  .subscribe__submit button {
    width: 100%;
    text-align: center;
    border-radius: 0.375rem;
  }
  .subscribe__form h6 {
    display: none;
  }

  /* subscribe */
  /* main */
  /* features */

  .features h3 {
    font-weight: 600;
  }
  .features__main div {
    height: 11.25rem;
  }
  .features__main img {
    height: 100%;
  }
  .features__item-image {
    width: 100%;
  }
  .features__item-image.image-shrink {
    height: 8.3125rem;
  }
  .features__item-head {
    width: 100%;
  }
  .features__item-head p {
    margin-bottom: 1rem;
  }

  /* features */
  /* main */

  /* blog */
  .blog__items {
    row-gap: 2rem;
  }
  .blog__item {
    width: 100%;
  }
  .blog__item div {
    width: 100%;
  }
  /* blog */

  /* welcome */
  .welcome {
    padding: 2rem 0;
  }
  .welcome__buttons {
    width: 100%;
    flex-direction: column;
  }
  .welcome__buttons a {
    /* display: block; */
    width: 100%;
  }
  /* welcome */

  /* footer */
  .footer {
    padding: 2rem 0;
  }
  .footer__main {
    row-gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .footer__head {
    width: 100%;
    padding-bottom: 1.75rem;
  }
  .footer__column-company {
    order: 2;
  }
  small {
    padding-top: 1.5rem;
  }
  /* footer */
}
