:root {
  --bg-color: #ffffff;
  --text-color: #000000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
a {
  text-decoration: none;
  color: #fff;
  cursor: default;
}
::selection {
  background-color: hsl(122deg 100% 50% / 50%);
}
.emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "NotoColorEmoji",
    "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background-color: #8bc34a;
  border-radius: 9999px;
  height: 25%;
}
::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 9999px;
}
.loading-screen {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 9999;
}
.loader {
  border: 4px solid #eeeeee;
  border-radius: 50%;
  border-top: 4px solid #4caf50;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.content {
  display: none;
}
.homeWallpaper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  top: 0;
  transition: all 2.5s 0.5s;
}
.homeWallpaper > img {
  height: 100%;
  width: 100%;
  position: absolute;
  object-fit: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.5);
}
.homeTitle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(5px);
  transition: all 2.5s 0.5s;
  opacity: 1;
}
.homeTitle > h1 {
  font-size: 50px;
  font-family: cursive, sans-serif;
  background: -o-linear-gradient(top, #8bc34a 40%, #89ff00 60%);
  background: linear-gradient(180deg, #8bc34a 40%, #89ff00 60%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-align: center;
}
.wallsCategory {
  display: flex;
  align-items: center;
  overflow-x: auto;
}
.wallsCategoryLink {
  text-align: center;
  padding: 10px;
  background: none;
  margin: 5px;
  border-radius: 5px;
  color: #4caf50;
  font-size: 1rem;
}
.wallsCategoryLink.active {
  background-color: #4caf50;
  color: #fff;
}
.walls {
  width: 100%;
  height: 100%;
}
.wallsDownloadBtn {
  position: relative;
  background-color: #ddd;
  overflow: hidden;
  display: flex;
  border: none;
  border-radius: 5px;
  margin: 0 0 10px;
  justify-content: center;
  align-items: center;
}

.wallsDownloadBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation-name: loadingAnimation;
  animation-iteration-count: 5;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0ms;
}

@keyframes loadingAnimation {
  100% {
    left: 100%;
    right: 100%;
  }
}
.copyRights {
  text-align: center;
  line-height: 2;
}
@media all and (max-width: 384px) {
  .wallpapers {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin: 20px 5px;
    border-bottom: 1px solid #9e9e9e;
  }
  .column {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .wcm {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 10px 0px hsla(0, 0%, 0%, 0.3);
    z-index: 1;
  }
}
@media all and (min-width: 385px) and (max-width: 768px) {
  .wallpapers {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 20px 5px;
    border-bottom: 1px solid #9e9e9e;
  }
  .column {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 5px;
  }
  .wcm {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 10px 0px hsla(0, 0%, 0%, 0.3);
    z-index: 1;
  }
}
@media all and (min-width: 769px) {
  .wallpapers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    overflow: hidden;
    margin: 20px 5px;
    border-bottom: 1px solid #9e9e9e;
  }
  .column {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 5px;
  }
  .wcm {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 20px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 10px 0px hsla(0, 0%, 0%, 0.3);
    z-index: 1;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #181818;
    --text-color: #ffffff;
  }
  .wcm {
    background-color: #000000;
    box-shadow: 0px 1px 10px 0px hsl(0deg 0% 0%);
  }
  .loading-container {
    background-color: #181818;
  }
  .wallsCategoryLink {
    color: #fff;
  }
  .loading-screen {
    background-color: #181818;
  }
}
