html{
  scroll-behavior: smooth;
}

h1{
  text-align: center;
}

/* preloader CSS */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: auto;
  animation: rotation 2s infinite linear;
  transition: all 0.9s ease-in-out;
}

@keyframes rotation {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(359deg);
  }
}

.preloader .bg {
  width: 5%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader .bg .expand {
  position: relative;
  top: 0;
  left: 0;
  width: 250vmax;
  height: 250vmax;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgb(6, 11, 21);
  transition: transform 0.7s ease-in-out, opacity 1.2s ease-in-out;
}

.back-home{
  border: 2px solid black;
  position: absolute;
  top: 25px;
  left: 25px;
}

.back-top{
  border: 2px solid black;
  position: fixed;
  bottom: 100px;
  right: -20px;
  transition: all 0.1s ease-in-out;
}

.scroll{
  right: 25px;
  display: block;
}

.back-home a,
.back-top a{
  text-decoration: none;
  color: black;
}
