@font-face {
  font-family: myFont; /* set name */
  src: url(../font/ArimaMadurai-Black.ttf); /* url of the font */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  overflow: hidden;
  background: black;
}

/* === TOP NAVBAR === */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  color: white;
  display: flex;
  gap: 50px;
  padding: 10px;
  z-index: 20;
}

.topbar a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-family: myFont;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 5px;
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.topbar a:hover {
  /* text-shadow: 0 0 10px rgb(255, 0, 0); */
  background: rgba(255,0,0,0.3);
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 50px; /* space for navbar */
  overflow: hidden;
}

/* Slides */
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Images */
.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  background: black;

  user-select: none;
  -webkit-user-drag: none;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.left { left: 20px; }
.right { right: 20px; }

.arrow:hover {
  text-shadow: 0 0 15px rgb(255, 0, 0), 0 0 30px rgb(255, 0, 0);
}

.arrow:active {
  transform: translateY(-50%) scale(0.9);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  box-shadow: 0 0 10px white, 0 0 20px white;
}