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

/* font-family: 'Montserrat', sans-serif;
    font-family: 'Oswald', sans-serif; */

/* Custom variables  */
:root {
  /* font sizes  */
  --xl: 55px;
  --lg: 36px;
  --md: 30px;
  --sm: 24px;
  --xs: 21px;
  --xss: 18px;
  --xxs: 16px;

  /* colors  */
  --primary: #2e323f;
  --secondary: #3b4050;
  --gray: #6f737f;
  --golden: #a59678;
}

/* General definitions  */

body {
  margin: 0;
  font-family: "Oswald", sans-serif;
}

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

section,
footer {
  padding: 50px 0;
}

.col {
  width: 100%;
}

.col + .col {
  margin-top: 1em;
}

h2 {
  line-height: 1.1;
  margin-bottom: 0.5em;
}

p {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.golden--clr {
  color: var(--golden);
}

/* Nav */
header {
  background-color: var(--primary);
  padding: 1em;
}

header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 24px;
  width: fit-content;
}

.desktop__nav__links {
  display: none;
}

.menu {
  cursor: pointer;
}

ul,
li {
  margin: 0.5em 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}

.mobile__nav__links {
  display: none;
  justify-content: center;
  text-align: center;
}

nav li:nth-child(4) {
  margin-top: 1.2em;
}

nav li:last-child a {
  padding: 0.2em 1em;
  background-color: var(--golden);
  border-radius: 40px;
}

nav ul li a {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  font-size: var(--xss);
}

/* Hero  */
.hero {
  background-color: var(--secondary);
  color: #fff;
  padding: 100px 0;
}

.hero__title {
  line-height: 1;
  font-size: var(--xl);
  font-weight: 900;
}

.hero__description {
  margin-top: 2.5em;
  font-size: var(--xss);
}

.hero__cta {
  background-color: var(--golden);
  border: none;
  padding: 1em 1.5em;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: var(--xss);
  border-radius: 100px;
  line-height: 0.2;
  margin-top: 0.8em;
  cursor: pointer;
}

/* Features */
.features {
  background-color: #f1f1f1;
}

.features__title {
  font-size: var(--md);
}

.features__description {
  font-size: 18px;
}

.section-2__card,
footer {
  background-color: var(--secondary);
  color: #fff;
}

/* Section-2  */
.section-2__img {
  margin: 1em 0;
}

.section-2__title {
  font-size: var(--lg);
}

.section-2__description {
  font-size: var(--xs);
}

.section-2__card {
  margin-top: 1.5em;
  text-align: center;
  padding: 1em;
}

.section-2__card__title {
  font-size: var(--md);
  margin-bottom: 0.8em;
}

.section-2__card__description {
  font-size: var(--xss);
}

/* Footer  */
.footer__title {
  font-size: var(--lg);
}

.footer-col__title {
  font-size: var(--xs);
}

.footer__link {
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", serif;
  font-size: var(--xxs);
}

footer li {
  line-height: 1;
}

.about-company {
  max-width: 400px;
}

/* Responsiveness */
@media screen and (min-width: 700px) {
  /* Change hero title size  */
  :root {
    --xl: 90px;
  }

  /* Hero  */
  .hero__description,
  .hero__cta {
    font-size: var(--sm);
  }

  /* Features  */
  .features__title {
    line-height: 1;
  }

  .features .row {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .features .row .col + .col {
    margin-left: 1.5em;
  }

  /* Section 2  */
  .section-2__sidebar {
    display: flex;
  }

  .section-2__card {
    padding: 3em 1.5em;
  }

  .section-2__card + .section-2__card {
    margin-left: 1em;
  }

  /* Footer  */
  .footer__title {
    margin-bottom: 1.2em;
    text-align: center;
  }

  footer .row {
    display: flex;
    align-items: flex-start;
  }

  .footer-col__title {
    margin-bottom: 1em;
  }

  footer .row .col + .col {
    margin-left: 3em;
    width: 20%;
  }

  footer li {
    margin-bottom: 0.8em;
  }
}

@media screen and (min-width: 1000px) {
  /* General selections  */
  .section-2 .col + .col {
    margin-left: 8em;
  }

  section {
    padding: 6em 0;
  }

  /* Nav  */
  .menu,
  .mobile__nav__links {
    display: none;
  }

  .desktop__nav__links {
    display: block;
  }

  .desktop__nav__links ul {
    display: flex;
    align-items: center;
  }

  .desktop__nav__links ul li {
    margin: 0;
  }

  .desktop__nav__links ul li + li {
    margin-left: 2em;
  }

  /* Hero  */
  .hero {
    padding: 200px 0;
  }

  .hero .row {
    display: flex;
    align-items: flex-end;
  }

  /* Features  */
  .features .row .col + .col {
    margin-left: 4em;
  }

  /* Section 2 */
  .section-2 {
    display: flex;
  }

  .section-2__sidebar {
    flex-direction: column;
  }

  .section-2__card + .section-2__card {
    margin-left: 0;
  }

  /* Footer  */
  footer .row .col + .col {
    margin-left: 5em;
  }
}
