@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Anton-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'anton';
  src: url(./login/font/Anton.ttf);
}

header {
  font-family: 'MyCustomFont';
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 1s ease-out forwards;
}

@keyframes bg-slide-1 {

  0%,
  33% {
    background-image: url('./img/2024-Formula1-Ferrari-SF-24-009-1080.jpg');
  }

  34%,
  66% {
    background-image: url('./img/2024-Formula1-Ferrari-SF-24-011-1080.jpg');
  }

  67%,
  100% {
    background-image: url('./img/2024-Formula1-Ferrari-SF-24-005-1080.jpg');
  }
}

@keyframes bg-slide-2 {

  0%,
  33% {
    background-image: url('./img/1972-Ferrari-Dino-246-GTS-001-1080w.jpg');
  }

  34%,
  66% {
    background-image: url('./img/1972-Ferrari-Dino-246-GTS-007-1080w.jpg');
  }

  67%,
  100% {
    background-image: url('./img/1964-Ferrari-250-GTO-012-1080.jpg');
  }
}

@keyframes bg-slide-3 {

  0%,
  33% {
    background-image: url('./img/2021-Novitec-Ferrari-F8-Tributo-N-Largo-005-1080.jpg');
  }

  34%,
  66% {
    background-image: url('./img/2015-Ferrari-FXX-K-012-1080.jpg');
  }

  67%,
  100% {
    background-image: url('./img/2015-Ferrari-FXX-K-009-1080.jpg');
  }
}

.bg-animate-1 {
  animation: bg-slide-1 15s ease-in-out infinite;
  background-size: cover;
  background-position: center;
}

.bg-animate-2 {
  animation: bg-slide-2 15s ease-in-out infinite;
  background-size: cover;
  background-position: center;
}

.bg-animate-3 {
  animation: bg-slide-3 15s ease-in-out infinite;
  background-size: cover;
  background-position: center;
}

.aa {
  display: block;
  width: 100px;
  height: 50px;
  margin: 20px auto;
  background: #333;
  color: white;
  border-radius: 20px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'anton';
  text-transform: capitalize;
}

.aa:hover {
  background: #555;
}

.mmm {
  display: block;
  width: 100px;
  height: 50px;
  margin: 20px auto;
  background: #333;
  color: white;
  border-radius: 20px;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  text-decoration: none;
  transition: 0.3s;
  font-family: 'anton';
  text-transform: capitalize;
}

.mmm:hover {
  background: #555;
}

/* Hide horizontal scrollbar */
.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* prevent horizontal overflow on whole page */
}