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

body {
  background-image: url(./backgrounds/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

html,
body {
  min-height: 100vh;
  width: 100%;
  font-size: 15px;
}

.header {
  background: rgb(20, 29, 32);
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  max-width: 1920px;
  margin: 0 auto;
  margin-bottom: 7px;
}

.header h3 {
  font-size: 5rem;
  color: rgb(41, 59, 59);
  /* text-shadow: 1px -1px 10px aliceblue; */
  letter-spacing: 10px;
  animation: blink 250ms linear 2, blink2 250ms linear 1;
  animation-delay: 1.5s, 2.5s;
  animation-fill-mode: forwards;
}

.hr {
  background: rgb(41, 59, 59);
  height: 6px;
  /* box-shadow: 1px -1px 3px 1px rgb(214, 210, 211), 3px -5px 10px rgb(190,49,77); */
  width: 100%;
  animation: blink3 250ms linear 2;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__inner > div {
  width: 14%;
}

.hr_inner {
  margin: 25px 0;
  animation: blink3 500ms linear 2;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}

.main-section {
  display: flex;
  justify-content: space-between;
  max-width: 1920px;
  margin: 0 auto;
}

.main {
  background: rgb(20, 29, 32, 0.5);
  width: 69.9%;
}

.nav {
  width: 29.9%;
}

.footer {
  background: rgb(20, 29, 32);
  line-height: 30px;
  font-size: 1rem;
  text-align: center;
  margin-top: 5px;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  animation: blink4 1s forwards;
  animation-delay: 3.2s;
}

.inner__main {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.title {
  font-size: 2.5rem;
  padding: 10px 25px;
  color: rgb(41, 59, 59);
  letter-spacing: 10px;
  animation: blink4 1s linear;
  animation-delay: 1.7s;
  animation-fill-mode: forwards;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  outline: 1px solid;
  outline-offset: -3px;
}

.links {
  width: 96%;
  margin: 0 auto;
  padding-bottom: 15px;
  position: inherit;
}

.link {
  font-size: 2rem;
  letter-spacing: 10px;
  background: rgb(41, 59, 59);
  width: 18%;
  margin: 10px;
  border-radius: 2px;
  text-align: center;
  border-radius: 2px;
  padding: 1rem 0;
  animation: blink5 1s linear forwards;
  animation-delay: 2.3s;
}

.finish {
  animation: finish 1s forwards;
  animation-delay: 2s;
}

.inner__nav {
  background: rgb(20, 29, 32, 0.5);
  margin-left: 5px;
  display: flex;
  flex-direction: column;
}

.button {
  font-size: 2rem;
  background: rgb(41, 59, 59);
  width: 98%;
  /* max-height: 80px; */
  margin: 0 auto;
  padding: 1rem 0;
  margin-bottom: 2px;
  border-radius: 2px;
  text-align: center;
  animation: blink5 1s linear forwards;
  animation-delay: 2.4s;
}

.inner__nav:last-child {
  padding-bottom: 15px;
}

@font-face {
  font-family: "RadioSpace";
  src: url("./fonts/RadioSpaceCondensed-Rapo.otf") format("truetype");
}

@keyframes blink {
  0% {
    color: rgb(21, 31, 31);
  }
  21% {
    color: rgb(171, 248, 248);
  }
  51% {
    color: rgb(21, 31, 31);
  }
  61% {
    color: rgb(21, 31, 31);
  }
  100% {
    color: rgb(171, 248, 248);
    text-shadow: 1px -1px 10px aliceblue;
  }
}

@keyframes blink2 {
  0% {
    color: rgb(21, 31, 31);
  }
  21% {
    color: rgb(171, 248, 248);
  }
  51% {
    color: rgb(21, 31, 31);
  }
  100% {
    color: rgb(171, 248, 248);
    text-shadow: 1px -1px 10px aliceblue;
  }
}

@keyframes blink3 {
  0% {
    background: rgb(247, 191, 210);
  }
  51% {
    background: rgb(21, 31, 31);
  }
  100% {
    background: rgb(214, 210, 211);
    box-shadow: 1px -1px 3px 1px rgb(214, 210, 211),
      3px -5px 10px rgb(190, 49, 77);
  }
}

@keyframes blink4 {
  0% {
    color: rgb(41, 59, 59);
  }
  100% {
    color: rgb(247, 249, 245);
    text-shadow: 1px -1px 5px rgb(238, 106, 65);
  }
}

@keyframes blink5 {
  0% {
    color: rgb(41, 59, 59);
  }
  100% {
    color: rgb(247, 249, 245);
    text-shadow: 1px -1px 5px rgb(226, 221, 219);
    background-color: rgb(182, 218, 221, 0.1);
  }
}

@keyframes finish {
  0% {
    color: rgb(41, 59, 59);
  }
  100% {
    color: rgb(252, 206, 220);
    text-shadow: 1px -1px 5px rgb(226, 221, 219);
    background-color: rgba(182, 218, 221, 0.3);
  }
}

@media screen and (max-width: 1500px) {
  .link {
    width: 22%;
  }
}

@media screen and (max-width: 1200px) {
  .header h3 {
    font-size: 4rem;
  }
  .link {
    width: 22%;
  }
}

@media screen and (max-width: 1024px) {
  .header h3 {
    font-size: 3.5rem;
  }
  .link {
    width: 47%;
    margin: 1px auto;
    /* padding: 0; */
  }
}

@media screen and (max-width: 860px) {
  .main {
    height: 100%;
    margin-bottom: 20px;
  }
  .inner__nav {
    height: 100%;
  }
  .header h3 {
    font-size: 2rem;
  }
  .main-section {
    display: flex;
    flex-direction: column-reverse;
  }
  .main {
    width: 100%;
  }
  .nav {
    width: 100%;
  }
  .inner__nav {
    margin-left: 0;
  }
}

@media screen and (max-width: 450px) {
  .header__inner div {
    display: none;
  }
  .header h3 {
    font-size: 0.9rem;
    margin: 10px auto;
  }
  .main-section {
    display: flex;
    flex-wrap: wrap-reverse;
  }
  .link {
    width: 99%;
    margin: 1px auto;
  }
  .nav {
    width: 100%;
  }
  .button {
    width: 95%;
  }
  .main {
    width: 100%;
  }
  .inner__nav {
    margin: 0;
  }
  .title {
    font-size: 1.5rem;
    margin: 0 auto;
  }
  .links:last-child {
    padding-bottom: 100px;
  }
  .main .title {
    font-size: 1.4rem;
  }
  body {
    background-repeat: repeat;
  }
}
