@import url("https://fonts.googleapis.com/css2?family=Ysabeau+Infant:wght@400;700&display=swap");
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #1f1e1e;
  font-family: "Ysabeau Infant", sans-serif;
  overflow: hidden;
}
p, h1 {
  background-color: #1f1e1e;
  border-radius: 25px;
  padding: 5px;
}
body::-webkit-scrollbar {
  width: 10px;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 15px;
  margin-left: 10px;
  z-index: 9999999;
}
body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255);
  box-shadow: 0 10px 40px -10px #fff;
  border-radius: 5px;
  margin-left: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
.noflex {
  display: block;
}
.hide {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin-left: 5%;
  margin-top: 10px;
  border-radius: 25px;
  height: 10%;
  background-color: transparent;
  position: fixed;
  top: 0;
  z-index: 1;
  user-select: none;
}
.logo {
  width: 10%;
  height: 90%;
  margin: 1%;
  border-radius: 10px;
  cursor: pointer;
}
.logoimg {
  width: 85px;
  height: 85px;
  border-radius: 10px;
}
.buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: auto;
  height: 100%;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}
.button {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  background-color: #e9e9e9;
  color: #1f1e1e;
  font-family: "Ysabeau Infant";
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.5s;
  margin: 15px;
}
.button:hover {
  background-color: #1f1e1e;
  color: #e9e9e9;
  border: 1px solid white;
  transform: scale(0.8);
}
.section {
  height: 100vh;
  text-align: center;
  display: grid;
  place-content: center;
  transition: background-color 1s;
  color: white;
  background-size: cover;
}
.section.home {
  background-color: transparent;
  background-image: url("../../media/index/home.png");
  border-bottom: 5px solid white;
}
.section.duck {
  background-color: transparent;
  background-image: url("../../media/index/duck.png");
  border-bottom: 5px solid white;
}
.section.kasm {
  background-color: transparent;
  background-image: url("../../media/index/kasm.png");
  border-bottom: 5px solid white;
}
.section.contact {
  background-color: transparent;
  background-image: url("../../media/index/about.png");
  /*border-bottom: 5px solid white;*/
}
.section.ads {
  background-color: transparent;
}
.section h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: white;
}
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.visible {
  opacity: 1;
  transform: translateY(0);
}
.lds-heart {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}
.lds-heart div {
  top: 32px;
  left: 32px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: #fff;
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lds-heart div:after,
.lds-heart div:before {
  content: " ";
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: #fff;
}
.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}
.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}
@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }
  5% {
    transform: scale(1.1);
  }
  39% {
    transform: scale(0.85);
  }
  45% {
    transform: scale(1);
  }
  60% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(0.9);
  }
}
.duckss {
  width: 50%;
  border-radius: 20px;
  border: 5px solid white;
  -webkit-box-shadow: 21px 21px 9px -1px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 21px 21px 9px -1px rgba(0, 0, 0, 0.75);
  box-shadow: 21px 21px 9px -1px rgba(0, 0, 0, 0.75);
}
.btn {
  margin: 10px;
  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 20px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.btn:focus {
  box-shadow: #d6d6e7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
}

.btn:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  transform: translateY(3px);
}

.btn:active {
  box-shadow: #d6d6e7 0 3px 7px inset;
  transform: translateY(2px);
}
a {
  text-decoration: none;
  color: white;
}

.loader {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader::before {
  content: "";
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(8px);
  position: absolute;
  width: 140px;
  height: 55px;
  z-index: 20;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.274);
  border-top: none;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.082);
  animation: anim2 2s infinite;
}

.loader div {
  background: rgb(228, 228, 228);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  z-index: -1;
  animation: anim 2s infinite linear;
  animation-delay: calc(-0.3s * var(--i));
  transform: translateY(5px);
  margin: 0.2em;
}

@keyframes anim {
  0%,
  100% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(-65px);
  }
}

@keyframes anim2 {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}
