:root {
  --thunder: #23cb9c;
  --finlandia: hsl(252, 91%, 29%);
  --quill-grey: #e0e2dd;
  --squirrel: #8c7f77;
  --domino: #938737;
}

* {
  font-family: "Heebo", sans-serif;
}

body {
  background-color: var(--quill-grey);
  line-height: 1.5;
}

nav {
  background-color: var(--finlandia);
  padding: 2%;
}

main {
  padding: 2% 8%;
}

section {
  padding: 3% 0;
}

h1 {
  color: var(--thunder);
  font-size: 50px;
  font-weight: 900;
  padding: 3% 0;
}

h2 {
  color: var(--quill-grey);
  text-align: center;
  font-size: 20px;
}

h3 {
  color: var(--thunder);
  font-size: 25px;
  padding: 1% 0;
}

h4 {
  background-color: var(--domino);
  color: var(--thunder);
  font-size: 25px;
  padding: 0 2%;
}

p {
  color: var(--thunder);
  padding: 3% 0;
}

ul {
  text-align: center;
}

hr {
  border: 4px solid var(--finlandia);
}

.navigation li {
  display: inline;
}

.nav-links {
  color: var(--quill-grey);
  font-weight: bolder;
  display: inline;
  font-size: 20px;
  padding: 1%;
  text-decoration: none;
}

.nav-links:hover {
  color: var(--thunder);
}

.title {
  text-align: center;
  line-height: 150px;
}

.banner {
  height: 100px;
  background-color: var(--thunder);
}

.banner h2 {
  line-height: 100px;
}

.last-name {
  color: var(--quill-grey);
}

.work-boxes {
  padding: 3% 0;
}

.work-img {
  border-style: solid;
  border-width: 7px;
  border-color: var(--domino);
  width: 100%;
}

.container {
  position: relative;
  text-align: center;
  padding: 1%;
}

.container-big {
  position: relative;
  text-align: center;
  padding: 1%;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translate(-50%, -50%);
}

.contact {
  text-align: start;
  padding: 3% 0;
}

.contact li a {
  color: var(--thunder);
  font-weight: bold;
  text-decoration: none;
}

.contact li a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  /* navbar */

  .title {
    line-height: 90px;
  }

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

  .navigation ul {
    display: inline;
    flex-wrap: nowrap;
    font-size: 16px;
    width: 400px;
  }

  .centered {
    left: 60px;
  }

  .about-me h3,
  p {
    padding: 3%;
  }

  .work h3,
  .work-boxes {
    padding: 3%;
  }

  .work-boxes {
    display: flex;
    flex-wrap: wrap;
  }

  .container-big {
    flex-basis: 100%;
  }

  .container {
    flex-basis: 50%;
  }

  .contact-me h3,
  .contact {
    padding: 3%;
  }

  .contact {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  h3 {
    width: 20%;
  }


}

@media screen and (min-width: 992px) {
  h1 {
    font-size: 100px;
  }

  h3 {
    font-size: 25px;
  }

  .about-me {
    display: flex;
    justify-content: space-between;
  }

  .centered {
    left: 62px;
  }

  .work {
    display: flex;
    justify-content: space-between;
  }

  .contact-me {
    display: flex;
  }

  .right-col {
    width: 80%;
  }
}
