a {
  color: inherit;
}
:root {
  scroll-behavior: auto;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

::selection {
  background-color: #eee;
  color: #206a84;
}

.loadingScreen {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

@keyframes square-animation {
  0% {
    left: 0;
    top: 0;
  }

  10.5% {
    left: 0;
    top: 0;
  }

  12.5% {
    left: 32px;
    top: 0;
  }

  23% {
    left: 32px;
    top: 0;
  }

  25% {
    left: 64px;
    top: 0;
  }

  35.5% {
    left: 64px;
    top: 0;
  }

  37.5% {
    left: 64px;
    top: 32px;
  }

  48% {
    left: 64px;
    top: 32px;
  }

  50% {
    left: 32px;
    top: 32px;
  }

  60.5% {
    left: 32px;
    top: 32px;
  }

  62.5% {
    left: 32px;
    top: 64px;
  }

  73% {
    left: 32px;
    top: 64px;
  }

  75% {
    left: 0;
    top: 64px;
  }

  85.5% {
    left: 0;
    top: 64px;
  }

  87.5% {
    left: 0;
    top: 32px;
  }

  98% {
    left: 0;
    top: 32px;
  }

  100% {
    left: 0;
    top: 0;
  }
}

.loader {
  position: relative;
  width: 96px;
  height: 96px;
  transform: rotate(45deg);
}

.loader-square {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  margin: 2px;
  border-radius: 0px;
  background: #206a84;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  animation: square-animation 10s ease-in-out infinite both;
}

.loader-square:nth-of-type(0) {
  animation-delay: 0s;
}

.loader-square:nth-of-type(1) {
  animation-delay: -1.4285714286s;
}

.loader-square:nth-of-type(2) {
  animation-delay: -2.8571428571s;
}

.loader-square:nth-of-type(3) {
  animation-delay: -4.2857142857s;
}

.loader-square:nth-of-type(4) {
  animation-delay: -5.7142857143s;
}

.loader-square:nth-of-type(5) {
  animation-delay: -7.1428571429s;
}

.loader-square:nth-of-type(6) {
  animation-delay: -8.5714285714s;
}

.loader-square:nth-of-type(7) {
  animation-delay: -10s;
}

aside {
  position: fixed;
  z-index: 9;
  color: #eee;
  left: 0;
  top: 0;
  bottom: 0;
  font-size: 25px;
  .sideBar {
    background-image: linear-gradient(135deg, #000, #206a84);
    height: 100%;
    width: 0;
    display: grid;
    overflow-x: hidden;
    li {
      padding: 20px;
      a {
        transition: 0.5s color;
      }
      a:hover {
        color: #000;
      }
    }
    i.closeIcon {
      justify-self: end;
      margin: 10px;
    }
    img {
      width: 60px;
      margin: 7px;
      height: 50px;
      cursor: pointer;
    }
  }
  i {
    cursor: pointer;
    font-size: 30px;
    transition: 0.5s color;
  }
  i:hover {
    color: #206a84;
  }
  i.openIcon {
    align-self: center;
    margin-left: 10px;
  }
}

#home {
  background: url("../img/background.jpg");
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  color: #eee;
  h1 {
    font-size: 6.25rem;
    font-weight: 700;
    text-shadow: 1px 1px 5px #206a84;
  }
  .typed-cursor {
    font-size: 90px;
  }
  p {
    font-size: 30px;
    font-weight: 500;
  }
}

#details #caption {
  color: #eee;
  h3 {
    background-color: #206a84;
    padding-block: 15px;
    margin: 0;
    cursor: pointer;
  }
  p {
    background-image: linear-gradient(135deg, #000, #206a84);
    margin: 0;
    padding: 15px;
    display: none;
  }
}

#details #caption p:nth-child(2) {
  display: block;
}

#btnUp {
  border-radius: 50%;
  color: #206a84;
  border: none;
  cursor: pointer;
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 99;
  display: none;
}

#details {
  background: url(../img/light_dot.jpg);
}

/**/

#duration {
  width: 100%;
  min-height: 70vh;
  background: url(../img/dark_dot.jpg);
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}
#duration .countSec {
  position: relative;
  z-index: 3;
}
#duration .countdown {
  width: 100%;
  height: 100%;
  background: rgba(235, 0, 255, 0.11);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(40px);
}

.countSec::before {
  content: "";
  width: 180px;
  height: 180px;
  background: #f41b75;
  border-radius: 5px;
  position: absolute;
  left: -50px;
  top: -50px;
  z-index: -1;
}
.countSec::after {
  content: "";
  width: 180px;
  height: 180px;
  background: #419aff;
  border-radius: 50%;
  position: absolute;
  right: -30px;
  bottom: -50px;
  z-index: -1;
}

.countdown .date {
  font-size: 80px;
}
.countdown span {
  font-size: 80px;
  width: 110px;
  text-align: center;
  padding-bottom: 30px;
}
#duration h2 {
  font-size: 3.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f41b75, #419aff);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#contact {
  background: url("../img/light_dot.jpg");
  color: #1f1f1f;
}
#contact h2 {
  font-size: 4.375rem;
  font-weight: 700;
}
#contact .socialIcons li {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  display: grid;
  place-items: center;
  margin-right: 20px;
  transition: 0.5s all;
  cursor: pointer;
  font-size: 20px;
}

#contact .socialIcons li:hover {
  color: #eee;
  background-color: #206a84;
}

#contact form textarea {
  height: 200px;
  resize: none;
}

#contact form .submit {
  background-color: #206a84;
  color: #eee;
  padding: 10px 20px;
  font-size: 18px;
}

#remaining-chars {
  font-size: 20px;
  color: #206a84;
}

@media screen and (max-width: 800px) {
  #duration .countSec {
    position: static;
  }
  .countSec::after,
  .container::before {
    width: 0;
  }
  html {
    font-size: 13px;
  }
}
@media screen and (max-width: 560px) {
  html {
    font-size: 11px;
  }
}
