:root {
  --primario: #01b1ec;
  --secundario: #616161;
  --escuro: #1a2b63;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f4f5;
  font-family: "Mulish", sans-serif;
}
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 84px;
  padding: 20px;
  overflow: hidden;
}

.sec-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.sec-1 h1 {
  width: 390px;
}

.sec-1 ~ h1 img {
  width: 390px;
}

.sec-1 h2 {
  position: relative;
  font-weight: 900;
  font-size: 64px;
  color: var(--primario);
  width: fit-content;
  text-align: center;
}

.sec-1 h2 img {
  position: absolute;
  bottom: 0;
  right: 0;
}

.sec-1 small {
  font-size: 18px;
  font-weight: 400;
}

.sec-2 img {
  width: 600px;
}

.main-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.main-404 div:nth-child(1) {
  display: flex;
  align-items: center;
}

.main-404 div:nth-child(1) span {
  font-size: 300px;
  font-weight: bolder;
  color: var(--escuro);
}

.main-404 div:nth-child(1) img {
  max-width: 300px;
  align-self: flex-end;
}

.main-404 div:nth-child(2) h1 {
  font-weight: normal;
  color: var(--escuro);
  position: relative;
}

.main-404 div:nth-child(2) h1 span {
  color: var(--primario);
  font-weight: 500;
}

.main-404 div:nth-child(2) h1 img {
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 225px;
}

@media screen and (min-width: 440px) and (max-width: 1240px) {
  .main-container {
    flex-direction: column;
  }

  .sec-1 h1 {
    text-align: center;
  }

  .sec-1 h1 img {
    width: 260px;
  }

  .sec-1 h2 {
    font-size: 48px;
    text-align: center;
    width: 260px;
  }

  .sec-1 h2 img {
    right: 0px;
    width: 260px;
  }

  .sec-2 img {
    max-width: 260px;
  }

  .sec-1 small {
    text-align: center;
  }

  .main-404 div:nth-child(1) span {
    font-size: 200px;
  }

  .main-404 div:nth-child(1) img {
    max-width: 200px;
  }
}

@media screen and (min-width: 280px) and (max-width: 439px) {
  .main-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
  }

  .sec-1 h1 {
    width: fit-content;
  }

  .sec-1 h1 img {
    width: 240px;
  }

  .sec-1 h2 {
    font-size: 24px;
    text-align: center;
  }

  .sec-1 h2 img {
    width: 130px;
  }

  .sec-1 small {
    text-align: center;
  }
  .sec-2 img {
    width: 220px;
  }

  .main-404 div:nth-child(1) span {
    font-size: 100px;
  }

  .main-404 div:nth-child(1) img {
    max-width: 100px;
  }

  .main-404 div:nth-child(2) h1 {
    font-size: 24px;
  }

  .main-404 div:nth-child(2) h1 img {
    max-width: 165px;
  }
}

@media screen and (min-height: 480px) and (max-height: 600px) {
  .main-container {
    gap: 30px;
  }
}

@media screen and (min-height: 0px) and (max-height: 479px) {
  .sec-2 img {
    display: none;
  }
}

/*Animation Loader*/
.loader-elipse {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.loader-elipse div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #01b1ec;
  animation-timing-function: cubic-bezier(0.86, 0, 0.37, 0.99);
}
.loader-elipse div:nth-child(1) {
  left: 8px;
  animation: loader-elipse1 0.6s infinite;
}
.loader-elipse div:nth-child(2) {
  left: 8px;
  animation: loader-elipse2 0.6s infinite;
}
.loader-elipse div:nth-child(3) {
  left: 32px;
  animation: loader-elipse2 0.6s infinite;
}
.loader-elipse div:nth-child(4) {
  left: 56px;
  animation: loader-elipse3 0.6s infinite;
}
@keyframes loader-elipse1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes loader-elipse2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
@keyframes loader-elipse3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

