@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
* {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  transition: all 0.5s ease;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--text-color-lght);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.8px;
}

section {
  height: 100vh;
}

button {
  text-transform: capitalize;
  cursor: pointer;
  letter-spacing: -0.8px;
  border-radius: 10px;
  border: none;
  background-color: var(--text-color-drk);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 35px;
  transition: transform 80ms ease-in;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button.custom-cancel-button,
.custom-confirm-button {
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: bold !important;
  padding: 12px 45px !important;
  text-transform: uppercase !important;
  transition: transform 80ms ease-in !important;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  padding: 7px 12px;
  background-color: var(--text-color-drk);
  color: var(--text-color-lght);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease-out;
}

#scrollTopBtn.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

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

#loadingScreen h1 {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.swal2-container {
  z-index: 999999;
}

.swal2-popup {
  border-radius: 25px;
}

div:where(.swal2-icon) {
  position: relative;
  box-sizing: content-box;
  justify-content: center;
  width: 5em;
  height: 5em;
  margin: 0;
  border: none !important;
  border-color: transparent !important;
  font-family: inherit;
  line-height: 5em;
  cursor: default;
  user-select: none;
}

@keyframes swipeInFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes swipeOutToBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.swipe-in-from-bottom {
  animation: swipeInFromBottom 0.5s ease-out;
}

.swipe-out-to-bottom {
  animation: swipeOutToBottom 0.5s ease-out;
}

.loader {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hidden {
  display: none;
}
