* {
  padding: 0px;
  margin: 0px;
}
body {
  font-family: Montserrat, sans-serif;
  color: #d4d3d1;
}

ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

a {
  color: #3cf;
  text-decoration: none;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  overflow: hidden;
}
.top-border,
.bottom-border,
.left-border,
.right-border {
  position: absolute;
  background: #a32f2f;
  transition: 0.3s ease-in-out;
  z-index: 1;
}

/* Top and Bottom */
.top-border,
.bottom-border {
  width: 100%;
  height: 50%;
}

.top-border {
  top: 0;
}

.bottom-border {
  bottom: 0;
}

/* Left and Right */
.left-border,
.right-border {
  width: 50%;
  height: 100%;
}

.left-border {
  left: 0;
  top: 0;
}

.right-border {
  right: 0;
  top: 0;
}

/* Slide-up effect (vertical) */
#preloader.slide-up .top-border {
  transform: translateY(calc(-100% + 10px));
}

#preloader.slide-up .bottom-border {
  transform: translateY(calc(100% - 10px));
}

/* Slide-side effect (horizontal) */
#preloader.slide-up .left-border {
  transform: translateX(calc(-100% + 10px));
}

#preloader.slide-up .right-border {
  transform: translateX(calc(100% - 10px));
}

#container3D {
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#container3D::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.5;
}

.bg-primary{
  background: #a32f2f;
}
.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section h2 {
  line-height: normal;
  text-align: center;
  font-size: 50px;
  text-align: center;
  max-width: 500px;
}

.section h2 strong {
  color: #a32f2f;
}

.section h2:after {
  content: "";
  display: block;
  width: 100px;
  height: 5px;
  background: #a32f2f;
  margin: 30px auto 0 auto;
}

.section p {
  max-width: 500px;
  line-height: 25px;
}

button {
  padding: 20px 40px;
  background: #a32f2f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.footer {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.scroll-down {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #d4d3d1;
}

.scroll-down small {
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 2px;
}
.scroll-down svg {
  animation: scroll-wave 2s ease-in-out infinite;
}

.main-menu {
  float: right;
  padding-right: 60px;
}

.main-menu li:first-child {
  margin-left: 0px;
}
.main-menu li {
  display: inline-block;
  line-height: 79px;
  margin-left: 15px;
  position: relative;
}

.main-menu li a {
  padding: 10px 15px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.5s;
}

.hero-section h1 {
  font-size: 58px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 800;
  color: #d4d3d1;
  text-align: center;
}

.hero-section h1 strong {
  color: #a32f2f;
}

.hero-section p {
  font-weight: 500;
  margin-top: 0px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  color: #d4d3d1;
  letter-spacing: 1px;
  text-align: center;
}

.wave-text span {
  display: inline-block;
  padding: 0;
  gap: 0;
  animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
  color: #a32f2f;
  animation-delay: 0s;
}
.wave-text span:nth-child(2) {
  color: #a32f2f;
  animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
  color: #a32f2f;
  animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
  animation-delay: 0.6s;
}
.wave-text span:nth-child(5) {
  animation-delay: 0.8s;
}
.wave-text span:nth-child(6) {
  animation-delay: 1s;
}
.wave-text span:nth-child(7) {
  animation-delay: 1.2s;
}
.wave-text span:nth-child(8) {
  animation-delay: 1.4s;
}

.mb-3 {
  margin-bottom: 30px;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes scroll-wave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
