:root {
  --font-family: "Teko", sans-serif;
  --color-background: #000;
  --color-text-lighter: #777777;
  --color-text-darker: #707070;
  --color-text-dark: #313131;
  --shadow-offset-h: -6px;
  --shadow-offset-v: -7px;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  margin: 0;
  overflow: hidden;
}

/* Header */

header {
  width: 90vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100vh;
  margin: 0 auto 0 auto;
}

.heading {
  display: inline-block;
  z-index: -100;
  font-size: 11rem;
  font-weight: bold;
  color: white;
  line-height: 1;
  margin: auto 0;
  text-shadow: var(--shadow-offset-h) var(--shadow-offset-v) 0
    var(--color-text-dark);
}

.greeting {
  display: block;
}

.heading-grey {
  color: var(--color-text-lighter);
}

.name {
  display: inline-block;
  text-shadow: var(--shadow-offset-h) var(--shadow-offset-v)
    var(--color-text-darker);
}

.verb {
  transform: translateX(-100vw);
}

/* Image */

.image {
  height: 75vh;
  position: absolute;
  left: 60vw;
  top: 80px;
  z-index: -200;
}

/* Footer */

.find-me {
  position: fixed;
  bottom: 0;
  width: 100vw;
  color: var(--color-text-darker);
}

.boxes {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 60%;
}

/* Box */

.box {
  background-color: white;
  min-width: 250px;
  z-index: 200;
  width: 15%;
  text-align: center;
  border-radius: 15px;
  height: 400px;
  margin-bottom: -350px;
  transition-property: transform;
  transition-duration: 1s;
}

.box:hover {
  transform: translateY(-250px);
  z-index: 2000000;
}

/* Box Content */

.box-heading {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 18px;
}

.box-content-section {
  text-align: right;
  height: 100%;
  margin: 10px 10px;
}

/* Box Link and Label*/

.link-label-sec {
  width: fit-content;
  margin-left: auto;
}

.box-link {
  color: var(--color-text-darker);
  text-decoration: none;
  font-size: 2rem;
  margin-bottom: 0;
  line-height: 0;
  width: fit-content;
}

.box-link::after {
  content: " ";
  background-color: var(--color-text-darker);
  width: 60%;
  margin: 0 0 0 auto;
  height: 2px !important;
  display: block;
  transition-property: width;
  transition-duration: 0.6s;
}

.box-link:hover::after {
  background-color: var(--color-text-darker);
  width: 100%;
}

.box-link-label {
  font-weight: bold;
  margin-top: 0;
  font-size: 1.3rem;
}

/* Media Queries */

@media only screen and (max-width: 1400px) {
  .boxes {
    width: calc(100% - 10px);
    justify-content: space-evenly;
  }
  .heading {
    font-size: 14vw;
  }
  .box {
    margin-bottom: 0;
    height: fit-content;
  }
  .box:hover {
    transform: translateY(0);
  }
  body {
    height: fit-content;
    overflow-x: hidden;
    overflow-y: visible;
  }
  .body {
    position: relative;
    width: 100vw;
    height: fit-content;
    overflow-x: hidden;
    overflow-y: visible;
  }
  .find-me {
    position: absolute;
    top: 95vh;
    height: fit-content;
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 800px) {
  .boxes {
    width: 100%;
    justify-content: space-evenly;
    flex-direction: column;
    text-align: center;
  }
  .box-link::after {
    content: " ";
    background-color: var(--color-text-darker);
    width: 60%;
    margin: 0 auto;
    display: block;
    transition-property: width;
    transition-duration: 0.6s;
  }
  .box {
    width: 80%;
    text-align: center;
    margin: 20px auto;
  }
  .link-label-sec {
    margin: 0 auto;
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  header {
    height: 20vh;
    margin: 30px auto;
  }
  .find-me {
    position: relative;
    margin-top: 0;
    top: 0;
  }
  .box-heading {
    font-size: 7vw;
  }
  .box-link {
    font-size: 7vw;
  }
  .box-link-label {
    font-size: 5vw;
  }
}
