html,
body,
:root,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  font-family: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 40%;
  color: #ffffff;
}

body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  max-width: 100vw;
}

header {
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: url("./assets/background1.jpg") no-repeat center fixed #fbfbfbfb;
  background-size: cover;
}

header > div {
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(251, 251, 251, 0.94);
  border-bottom: 1px solid #9b46ea;
}

header > div > object {
  max-width: 100vw;
  width: 100%;
  height: auto;
  position: absolute;
  top: calc(100vh - ((100vw * 0.353023425) / 2));

  z-index: 2;
}

header > div nav {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-end;
  padding: 3rem;
  margin-bottom: 10rem;
}

header > div nav a {
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #9b46ea;
}

header > div section {
  padding: 0px 5rem;
  color: #737373;
}

header > div section h2 {
  color: #737373;
  margin-bottom: 3rem;
}

header > div section h1 {
  font-size: 2.8rem;
  color: #737373;
  margin-bottom: 8rem;
}

header > div section h1 span {
  font-size: 2.8rem;
  font-weight: bold;
  color: #9b46ea;
}

header > div section > span {
  font-size: 2.8rem;
  font-family: "Orbitron", "Comfortaa", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  color: #9b46ea;
  margin-bottom: 1.5rem;
}

header > div section > span * {
  font-family: "Orbitron", "Comfortaa", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
}

header > div section > span#command-span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  color: #4fc2ae;
  margin-bottom: 3.5rem;
}

header > div section > span#command-span * {
  font-size: 2.8rem;
  display: flex;
}

header > div section > span#command-span span {
  color: #9b46ea;
}

header > div section > span#command-span span span {
  color: #e28eff;
}

header > div section > span#command-span span span #typing-span {
  display: flex;
  overflow: hidden;
  border-right: 0.2rem solid #4fc2ae;
  white-space: nowrap;
  letter-spacing: 0.15rem;
  animation: typing 3s steps(40, end), blinking 0.75s step-end infinite;
}

header > div section > span:not(:first-of-type) {
  animation: fade-in 4.3s;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;

  z-index: 1;
  /* border-bottom: 1px solid #9b46ea; */
}

main > section {
  background: #2b2b2bfb;
  max-width: 100vw;
  min-height: 65vh;
  padding: 10rem 5rem 0 5rem;
}

main > section:last-of-type {
  padding-bottom: 15rem;
}

main > section p {
  font-size: 3rem;
  margin-bottom: 4rem;
  text-align: justify;
}

main > section .right-title {
  text-align: right;
  margin-bottom: 15rem;
}

main > section .center-title {
  text-align: center;
  margin-bottom: 15rem;
  color: #e28eff;
}

main > section h3 {
  margin-bottom: 4rem;
}

main > section ul {
  margin-left: 3.5rem;
  margin-bottom: 5rem;
}

main > section ul li {
  font-size: 3.3rem;
  margin-bottom: 3rem;
}

main > section ul li a {
  font-size: 2.5rem;
  color: #e28eff;
  text-decoration: none;
  font-weight: bold;
}

main > object {
  max-width: 100vw;
  width: 100%;
  height: auto;
  position: absolute;
  top: calc(100% - (100vw * 0.105208333));

  z-index: 2;
}

footer {
  background: #9b46ea;
  min-height: 75vh;
  max-width: 100vw;
  padding: 5rem;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: stretch;
}

footer div#footer-content {
  max-width: 100vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

footer h2.center-title {
  width: 50rem;
  text-align: center;
  margin-bottom: 20rem;
}

footer div#icons-container {
  width: 100%;
  align-self: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

footer div#icons-container * {
  max-height: 40px;
  height: 100%;
}

section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

h2 {
  font-size: 6.688rem;
  font-weight: normal;
}

h1 {
  font-size: 7rem;
  font-weight: normal;
}

h3 {
  font-size: 5rem;
  font-weight: normal;
}

@keyframes typing {
  0% {
    width: 2%;
  }
  75% {
    width: 2%;
  }
  100% {
    width: 100%;
  }
}

@keyframes blinking {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #4fc2ae;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 400px) {
  * {
    font-size: 34%;
  }

  footer {
    padding: 0;
  }
}

@media (max-width: 350px) {
  * {
    font-size: 35%;
  }

  footer {
    padding: 0;
  }
}

@media (max-width: 300px) {
  * {
    font-size: 30%;
  }

  footer {
    padding: 0;
  }
}

@media (min-width: 1024px) {
  * {
    font-size: 62.5%;
  }

  header > div section {
    padding: 0px 15rem;
    color: #737373;
  }

  main > section {
    padding: 17rem 17rem 0 17rem;
  }

  footer div#icons-container {
    max-width: 50vw;
  }

  footer div#icons-container * {
    max-height: 80px;
    height: 100%;
  }

  footer h2.center-title {
    width: 50vw;
  }
}

@media (min-width: 1024px) and (max-height: 800px) {
  * {
    font-size: 50%;
  }
}
