html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #1a1a1a;
}

.slider-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
}

.slider {
  width: 120px;
  height: 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  border-radius: 0;
  opacity: 1;
  transition: none;
  z-index: 1;
}

.logo.slide-in-right {
  animation: slideInRight 0.22s cubic-bezier(.4,2,.3,1) both;
  z-index: 2;
}
.logo.slide-in-left {
  animation: slideInLeft 0.22s cubic-bezier(.4,2,.3,1) both;
  z-index: 2;
}
.logo.slide-out-right {
  animation: slideOutRight 0.22s cubic-bezier(.4,2,.3,1) both;
  z-index: 1;
}
.logo.slide-out-left {
  animation: slideOutLeft 0.22s cubic-bezier(.4,2,.3,1) both;
  z-index: 1;
}

@keyframes slideInRight {
  from { transform: translate(100%, -50%); opacity: 0.6; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translate(-200%, -50%); opacity: 0.6; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes slideOutRight {
  from { transform: translate(-50%, -50%); opacity: 1; }
  to   { transform: translate(-200%, -50%); opacity: 0.4; }
}
@keyframes slideOutLeft {
  from { transform: translate(-50%, -50%); opacity: 1; }
  to   { transform: translate(100%, -50%); opacity: 0.4; }
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 1.2rem auto 0 auto;
  padding: 0;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #888;
  background: transparent;
  opacity: 0.7;
  transition:
    background 0.3s cubic-bezier(.4,2,.3,1),
    border-color 0.3s cubic-bezier(.4,2,.3,1),
    opacity 0.3s cubic-bezier(.4,2,.3,1),
    box-shadow 0.3s cubic-bezier(.4,2,.3,1);
  box-sizing: border-box;
  cursor: pointer;
}

.slider-dot.active {
  background: #fff;
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 2px #fff2;
}

.slider-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s;
}
.slider-arrow:hover {
  background: rgba(255,255,255,0.06);
}
.slider-arrow svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: #fff;
  transition: stroke 0.2s;
}
.slider-arrow:active svg {
  stroke: #1da1f2;
}

/* website made by myself (@nostalgique on discord). please do not credit it as your own. */
