@import url("https://fonts.googleapis.com/css?family=Barlow|Barlow+Condensed:400,700&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --red: #ec008c;
  --very-dark-blue: hsl(230, 29%, 20%);
  --dark-grayish-blue: hsl(230, 11%, 40%);
  --grayish-blue: hsl(231, 7%, 65%);
  --light-grayish-blue: hsl(207, 33%, 95%);
}

/* unvisited link */
a:link {
  color: #fff;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: #fff;
}

/* mouse over link */
a:hover {
  color: #fff;
}

/* selected link */
a:active {
  color: #fff;
}

body {
  background-color: #fff;
  color: var(--very-dark-blue);
  font-family: "Barlow", sans-serif;
  font-size: 1.2em;
  overflow-x: hidden;
}

body::after {
  background-color: var(--light-grayish-blue);
  border-bottom-left-radius: 100px;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 50vh;
  width: 50vw;
  z-index: -1;
}

h1,
h3,
button,
nav a {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: 5em;
  margin: 0;
  line-height: 1;
}

h2 {
  font-size: 3em;
  font-family: Myriad Pro;
  color: #ec008c;
  margin: 0;
  line-height: 1;
  color: ec008c;
}

h3 {
  color: var(--grayish-blue);
  font-size: 1.2em;
  font-weight: 400;
  letter-spacing: 4px;
}

h3 span {
  background-color: var(--very-dark-blue);
  border-radius: 50px;
  color: #fff;
  padding: 5px 15px;
  margin-right: 10px;
}

img {
  max-width: 100%;
}

p {
  color: var(--dark-grayish-blue);
  font-size: 1.4em;
}

.btn {
  background-color: #ec008c;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2em;
  padding: 15px 40px;
  margin-right: 20px;
  letter-spacing: 2px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  margin: 0 auto;
  max-width: 100%;
  width: 1200px;
}

.container > div {
  flex: 0.8;
}

.container > div:first-child {
  flex: 1.2;
}

.flex {
  display: flex;
  align-items: center;
  margin-top: 100px;
}

nav {
  margin: 40px 0;
}

main {
  display: flex;
  align-items: center;
  /* height: calc(100vh - 250px); */
}

.illustration {
  transform: scale(2.2) translateX(25%);
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1em;
  }

  h1 {
    font-size: 4em;
  }

  .show-nav .icon-close {
    display: block;
  }

  .show-nav .icon-hamburger {
    display: none;
  }

  .mobile-reverse {
    flex-direction: column-reverse;
  }

  .flex {
    margin-top: 50px;
  }

  .illustration {
    transform: scale(1) translateX(0%);
    margin: 0 0 50px;
  }
}
