/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

body {
  line-height: 1.5;
  min-height: 100svh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.1;
}

p,
li {
  max-width: var(--p-max-width, 65ch);
  text-wrap: pretty;
}

/* Icons */

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Project Specific */

body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  color: #a59678;
  margin-top: 0;
  padding-top: 1.25em;
  padding-bottom: 0.75em;
}

h1 {
  font-size: 4rem;
  padding-block: 1em;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.3125rem;
}

p {
  padding-block: 0.5em;
}

section {
  padding: 1.5em 0;
}

.container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

header {
  margin: 0;
  padding: 0;
  background: #2e323f;
  font-family: "Oswald", sans-serif;
  padding: 1em 0;
  text-align: center;
}

.flex__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: #072a2d;
  color: white;
  transition: opacity 250ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle:focus,
.nav-toggle:hover {
  opacity: 0.75;
}

.icon {
  font-size: 2rem;
  /* vertical-align: middle; */
}

.logo {
  height: 30px;
}

.right {
  width: 2em;
}

.nav {
  width: 100%;
  visibility: hidden;
  display: none;
  height: 0;
}

.nav--visible {
  visibility: visible;
  display: flex;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 3em;
  margin: 1.5em 0;
}

.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.nav__link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__link--button {
  background: #a59678;
  color: #fff;
  padding: 0.25em 1em;
  border-radius: 10em;
}

.nav__link:hover {
  opacity: 0.75;
}

.main {
  margin: 0;
  padding: 0;
}

.section--intro {
  background-color: #3b4050;
  color: white;
}

.highlight {
  color: white;
}

.intro__text {
  font-size: 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  background-color: #a59678;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  padding: 0.75em 2em;
  border-radius: 10em;
  margin-top: 1.5em;
}

.btn:hover {
  opacity: 0.75;
}

.section--benefits {
  background-color: #f1f1f1;
}

.details {
  font-size: 1.3125rem;
}

.card {
  background-color: #3b4050;
  color: white;
  padding: 0.5em 1em;
  margin-block: 1em;
}

.card__title {
  color: white;
}

footer {
  background: #3b4050;
  padding: 1em 0;
  text-align: center;
  color: white;
  font-size: 1rem;
}

footer .nav__list {
  gap: 0.5em;
}

footer .nav__link {
  text-transform: capitalize;
}

@media (min-width: 700px) {
  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
  }

  h1 {
    font-size: 5.625rem;
  }

  .nav-toggle,
  .right {
    display: none;
  }

  .nav {
    margin: 0;
    width: auto;
    height: auto;
    visibility: visible;
    display: flex;
    flex-direction: row;
    /* flex-grow: 1; */
    gap: 1em;
    justify-content: space-between;
    align-items: center;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
  }

  .align__bottom {
    align-items: flex-end;
    gap: 3em;
  }

  .section--intro {
    padding-block: 6em;
  }

  .intro__title {
    text-align: left;
    width: 45%;
    padding: 0;
  }

  .intro__detail {
    text-align: left;
    width: 55%;
    padding: 0;
  }

  .row--details {
    justify-content: stretch;
  }

  .card {
    align-self: stretch;
  }

  .footer-flex {
    gap: 2em;
    align-items: flex-start;
  }

  .about__col {
    width: 45%;
    text-align: left;
  }

  footer .nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav__title {
    text-align: left;
  }

  footer .nav__item {
    text-align: left;
  }
}

@media (min-width: 1000px) {
  .wide--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
  }

  .row--details {
    flex-direction: column;
    gap: 0.5em;
  }

  .card {
    margin-inline: 3em;
  }
}
