@font-face {
  font-family: "Pointless";
  src: url("pointless.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 18px;
}

@media screen and (max-width: 1366px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 11px;
  }
}

main {
  z-index: 5;
  position: relative;
}

.content {
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: url("bg.png");
  background-attachment: fixed;
  background-color: rgb(125, 125, 125);
  background-blend-mode: multiply;
}

.middle {
  /* outline: 1px dashed white; */
  z-index: 6;
  /* background-color: rgba(0, 0, 0, 0.5); */
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  max-width: 40vw;
}

.title {
  font-size: 3.3rem;
  color: rgb(217, 255, 0);
  font-family: "Pointless";
}

.motto {
  font-size: 1.5rem;
  padding-top: 50px;
  color: white;
  text-align: justify;
}

.motto-highlight {
  color: rgb(177, 13, 114);
}

.links {
  position: relative;
  top: 7px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding-top: 50px;
  z-index: 9;
}

.links > a {
  margin-left: 25px;
}

svg {
  shape-rendering: auto;
}

.fab {
  z-index: 10;
  position: absolute;
  color: rgb(54, 54, 54);
  background-color: rgb(217, 255, 0);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  bottom: 5%;
  left: 5%;
}

.download-cv {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  color: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-cv > img {
  margin-top: 8px;
  width: 30px;
}

.download-cv > h3 {
  font-family: "Pointless";
}

@media screen and (min-width: 769px) {
  .sm-only {
    display: none;
  }
}

.placeholder {
  height: 270px;
}

.motto-container {
  background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0) );
  padding: 30px;
}

.title-container {
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .middle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    max-width: 90vw;
    outline: 2px solid white;
  }

  .title-container {
    padding: 25px 25px 0 25px;
  }

  .links {
    padding-top: 10px;
    top: 10px;
  }

  .links > a {
    margin-left: 10px;
  }

  a > svg {
    width: 40px;
    height: 40px;
  }

  .fab {
    width: 80px;
    height: 80px;
    top: 90%;
    left: 5%;
  }

  .fab h3 {
    font-size: 17px;
  }
}
