:root {
  --primary: hsl(0, 100%, 68%);
  --verydarkblue: hsl(230, 29%, 20%);
  --darkgrayishblue: hsl(230, 11%, 40%);
  --grayishblue: hsl(231, 7%, 65%);
  --lightgrayishblue: hsl(207, 33%, 95%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
}

* a {
  text-decoration: none;
}

html {
  position: relative;
  overflow: hidden;
  min-width: 375px;
}

body {
  font-family: "Barlow Condensed";
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

header h1 {
  text-indent: -99999em;
  height: 24px;
  width: 24px;
  background-image: url(./images/logo.svg);
  background-size: cover;
  margin: 0;
}

#hamburger {
  height: 24px;
  width: 24px;
  background-image: url(./images/icon-hamburger.svg);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

#hamburger.close {
  background-image: url(./images/icon-close.svg);
}

#desktop-nav {
  display: none;
}

#mobile-nav {
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: white;
  text-align: center;
  padding: 12px 24px;
  box-shadow: 0px 4px 6px 4px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

#mobile-nav li {
  padding: 12px 0;
  font-weight: bold;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#mobile-nav li.login {
  margin-bottom: 0;
}

#mobile-nav li.login a {
  color: var(--grayishblue);
}

#mobile-nav li a {
  color: var(--verydarkblue);
}

#mobile-nav li a:hover {
  text-decoration: underline;
}

#mobile-nav hr {
  border-top: 1px solid #e5e5e5;
  margin: 12px 0;
}

main figure {
  margin-top: 60px;
  margin-right: -32px;
  margin-bottom: 87px;
  margin-left: -16px;
  overflow: hidden;
}

main figure img {
  height: 244px;
  display: block;
  margin: 0 auto;
}

main figure::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 426px;
  width: 50%;
  background: var(--lightgrayishblue);
  border-radius: 0 0 0 64px;
  z-index: -1;
}

main .illustration {
  height: 426px;
  width: 100%;
}

main .illustration img {
  position: absolute;
  right: -140px;
  top: 120px;
  height: 244px;
}

main .illustration::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 426px;
  width: 48%;
  background: var(--lightgrayishblue);
  border-radius: 0 0 0 64px;
  z-index: -1;
}

main section h3 {
  font-weight: normal;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--grayishblue);
}

main section h3 span {
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  color: white;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--verydarkblue);
  margin-right: 15px;
}

main section h2 {
  color: var(--verydarkblue);
  font-weight: bold;
  font-size: 40px;
  text-transform: uppercase;
  margin: 16px 0;
}

main section p {
  font-family: "Barlow", sans-serif;
  font-weight: normal;
  font-size: 19px;
  line-height: 135%;
  letter-spacing: -0.025em;
  color: var(--grayishblue);
  margin-bottom: 28px;
}

main section .preview {
  font-weight: normal;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grayishblue);
  display: flex;
  align-items: center;
}

main section .preview a {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  background: var(--primary);
  width: 153px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  margin-right: 20px;
}

main section .preview a:hover {
  opacity: 0.75;
}

footer {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

footer .attribution {
  font-size: 11px;
  text-align: center;
}

footer .attribution a {
  color: var(--primary);
}

.hidden {
  display: none;
}

@media (min-width: 600px) {
  body {
    padding: 32px 64px;
  }
  main .illustration img {
    height: 28vw;
    min-height: 244px;
    max-height: 464px;
  }
  main section {
    width: 470px;
  }
  main section h2 {
    font-size: 64px;
    margin-bottom: 32px;
  }
  main section p {
    margin-bottom: 66px;
    max-width: 266px;
  }
  main section .preview {
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.29em;
  }
  main section .preview a {
    width: 185px;
    height: 49px;
    font-size: 17px;
    letter-spacing: 0.035em;
  }
}

@media (min-width: 800px) {
  #desktop-nav {
    display: block;
  }
  #desktop-nav ul {
    display: flex;
  }
  #desktop-nav ul li {
    margin-left: 42px;
    color: var(--grayishblue);
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  #desktop-nav ul li a {
    color: var(--verydarkblue);
  }
  #desktop-nav ul li a:hover {
    text-decoration: underline;
  }
  #desktop-nav ul li.login a {
    color: var(--grayishblue);
  }
  #hamburger, #mobile-nav {
    display: none;
  }
}

@media (min-width: 1090px) {
  body {
    padding: 64px;
  }
  header {
    margin-bottom: 162px;
  }
  header h1 {
    width: 32px;
    height: 32px;
  }
  main {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  main .illustration img {
    top: 210px;
    height: 28vw;
    max-height: 464px;
  }
  main section {
    flex-shrink: 0;
  }
  main section h2 {
    font-size: 64px;
    margin-bottom: 32px;
  }
  main section p {
    margin-bottom: 66px;
    max-width: 266px;
  }
  main section .preview {
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.29em;
  }
  main section .preview a {
    width: 185px;
    height: 49px;
    font-size: 17px;
    letter-spacing: 0.035em;
  }
}

@media (min-width: 1800px) {
  main .illustration img {
    left: 55%;
  }
}
/*# sourceMappingURL=styles.css.map */