@import url('https://fonts.cdnfonts.com/css/deltha');

@font-face {
      font-family: 'Deltha';
    src: url('./fonts/Deltha.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    body,
    html {
      margin: 0;
      padding: 0;
      height: 100%;
      width: 100%;
      overflow: hidden;
      font-family: Futura, sans-serif;
      cursor: url(cursor.png), default;

    }

    /* Background video */
    .background-video {
      position: fixed;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      z-index: -1;
    }

    .content {
      position: relative;
      z-index: 1;
      color: white;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 20px;
      bottom: 10%;
    }

    .title h2 {
      font-family: 'Deltha', sans-serif;
      font-size: 48px;
      font-weight: 700;
      letter-spacing: 5px;
      -webkit-text-stroke: #108cc6 1.5px;
      color: #00e6ff;
      text-shadow: 0 0 10px #a8e9f3,
        0 0 20px #19e5f8,
        0 0 30px #e2eff0;
      margin-bottom: 50px;
    }

    /* === Carousel === */
    .carousel {
      width: 100%;
      max-width: 700px;
      height: 350px;
      margin: 0 auto 20px;
      position: relative;
      perspective: 1400px;
      overflow: hidden;
    }

    .carousel__track {
      width: 100%;
      height: 100%;
      position: relative;
      font-family:  "Palatino Linotype", "Palatino";
    }

    .carousel__slide {
      position: absolute;
      top: 0px;
      left: 50%;
      width: 80%;
      max-width: 1000px;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      border: 2px solid rgba(0, 230, 255, 0.7);
      border-radius: 20px;
      box-shadow: 0 0 20px rgba(0, 230, 255, 0.7);
      padding: 20px;
      color: #fff;
      transform: translateX(-50%) translateZ(-200px);
      opacity: 0;
      transition: all 0.6s ease;
      pointer-events: none;
      font-family:  "Palatino Linotype", "Palatino";
    }
    .carousel__slide p {
      margin-top: 30px;
      text-align: center;
    }

    .carousel__slide.active {
      transform: translateX(-50%) translateZ(0);
      opacity: 1;
      z-index: 5;
      pointer-events: auto;
    }

    .carousel__slide.prev {
      transform: translateX(-160%) translateZ(-150px) rotateY(15deg);
      opacity: 0.6;
      z-index: 4;
    }

    .carousel__slide.next {
      transform: translateX(60%) translateZ(-150px) rotateY(-15deg);
      opacity: 0.6;
      z-index: 5;
    }

    .carousel__slide h3 {
      font-family: 'Deltha', sans-serif;
      color: #00e6ff;
      margin-bottom: 10px;
    }

    .img {
      height: 100px;
      width: 100px;
    }



    /* Dots */
    .carousel__dots {
      text-align: center;
      margin-top: 10px;
    }

    .carousel__dots button {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.3);
      margin: 35px;
      cursor: pointer;
      transition: 0.3s;
    }

    .carousel__dots button.active {
      background: #00e6ff;
      transform: scale(1.2);
    }

    /* Prev / Next arrows */
    .carousel__btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 230, 255, 0.2);
      border: 2px solid #00e6ff;
      color: #00e6ff;
      font-size: 22px;
      font-weight: bold;
      padding: 10px 15px;
      border-radius: 60%;
      cursor:url(cursor.png), default;
      transition: 0.3s;
      z-index: 10;

    }

    .carousel__btn:hover {
      background: rgba(0, 230, 255, 0.4);
      transform: translateY(-50%) scale(1.1);
    }

    .carousel__btn.prev {
      left: 0px;

    }

    .carousel__btn.next {
      right: 0px;
    }

    /* Register button */
    .register button {
      font-family: Orbitron, sans-serif;
      padding: 14px 40px;
      font-size: 22px;
      font-weight: bold;
      letter-spacing: 3px;
      border: 2px solid rgba(0, 146, 230, 0.8);
      border-radius: 50px;
      color: ivory;
      background: rgba(0, 0, 0, 0.8);
      cursor:url(cursor.png), default;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 0 12px rgba(0, 146, 230, 0.8),
        0 0 30px rgba(0, 146, 230, 0.8) inset;
      width: 100%;
      max-width: 300px;
    }

    .register button:hover {
      background: rgba(0, 230, 230, 0.1);
      color: #f8fafd;
      box-shadow: 0 0 20px rgba(0, 146, 230, 0.8),
        0 0 40px rgba(0, 146, 230, 0.8) inset;
      transform: scale(1.1);
    }

    .back{
        position: relative;
         margin-top: 40px; 
        right: 40%;
    }
    
    .back button{
     font-family: Orbitron, sans-serif;
      padding: 18px 40px;
      font-size: 15px;
      font-weight: bold;
      letter-spacing: 3px;
      border: 2px solid rgba(0, 146, 230, 0.8);
      border-radius: 50px;
      color: ivory;
      background: rgba(0, 0, 0, 0.8);
      cursor:url(cursor.png), default;
      transition: all 0.3s ease-in-out;
      box-shadow: 0 0 12px rgba(0, 146, 230, 0.8),
        0 0 30px rgba(0, 146, 230, 0.8) inset;
      width: 100%;
      max-width: 290px;
   
     
    }
    .back button:hover {
      background: rgba(0, 230, 230, 0.1);
      color: #f8fafd;
      box-shadow: 0 0 20px rgba(0, 146, 230, 0.8),
        0 0 40px rgba(0, 146, 230, 0.8) inset;
      transform: scale(1.1);
    }

    @media (max-width: 575px) {
      .title h2 {
        font-size: 28px;
      }
      .carousel{
        overflow: scroll;
      }

      .carousel__slide {
        width: 90%;
        height: 500px;
        padding: 15px;
      }

      .carousel__slide p {
        margin: 20px;
        margin-top: 30px;
        text-align: center;
        padding-left: 5px;
        padding-right: 10px;
      }

      .carousel__btn {
        position: fixed;
        padding: 8px 12px;
        font-size: 18px;
        margin: 3px
      }
      .back{
        right: 20%;
      }
      .back button{
        font-size: 12px;
        padding: 10px 20px;
        max-width: 300px;
        margin-top: 10px;
      }
      .carousel__dots{
        display: none;
      }
    }
    