.slogan {
  position: absolute;
  display: flex;
  height: auto;
  margin: 0;
  flex-direction: column;
  flex-flow: row-reverse;
  align-items: right;     
  width: 45%;
  max-width: 100%;
  /* top: 30%; */
  left: 0;
  z-index: 2;
  /* background-color: blueviolet; */
}


.anim-slogan {
  position: relative;
  margin-top: 2rem;
  gap: 10px;
}

@keyframes slogan-sequence {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  8% {
    opacity: 1;
    transform: translateY(0);
  }
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  33%, 100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}


.slogan-one, .slogan-two, .slogan-three, .slogan-four {
  opacity: 0;
  width: 100%;
  position: absolute;
  text-align: center;  
}

.slogan-two {
  animation: slogan-sequence 6s ease-in-out infinite;
  animation-delay: 0s;
}

.slogan-three {
  animation: slogan-sequence 6s ease-in-out infinite;
  animation-delay: 2s;
}

.slogan-four {
  animation: slogan-sequence 6s ease-in-out infinite;
  animation-delay: 4s;
}

.slogan h1 {
  margin: 0;
  text-align: center;  /* This is already centered */
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1rem, 3vw, 3.5rem); 
  font-weight: 500;
  color: #0cffe0;
}

.slogan-two h1, 
.slogan-three h1, 
.slogan-four h1 {
  text-align: center;  
}


section.loading {
  background-color: #c6680a;
  width: 100vw; 
  height: 100dvh; 
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  justify-content: center; 
  align-items: center; 
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.logos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
}

@keyframes rotating-rings {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  display: grid;
  place-items: center;
  pointer-events: none; 
}

.logos > img {
  position: absolute;
  width: 85%;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

  
.logos > :nth-child(6) {
  position: absolute;
  width: 120%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
}
.logos > :nth-child(1) {
  animation: rotating-rings 60s linear infinite;
}
.logos > :nth-child(2) {
  animation: rotating-rings 30s linear infinite;
}
.logos > :nth-child(3) {
  animation: rotating-rings 20s linear infinite;
}
.logos > :nth-child(4) {
  animation: rotating-rings 15s linear infinite;
}
.logos > :nth-child(5) {
  animation: rotating-rings 6s linear infinite;
}


.loading-text {
      position: fixed;
  font-family: 'Noto Sans', sans-serif;
      font-size: 3rem;
      font-weight: 600;
      color: #640d0d;
      letter-spacing: 0.04em;
      /* background-color: tomato; */

      text-align: center;
      bottom: clamp(1rem, 15%, 25rem);
      left: 50%;
      transform: translateX(-50%);
      margin-top: 0;  
    }
    
    .loading-text .dots {
      display: inline-block;
      animation: dotAnimation 1.5s infinite;
    }
    
    @keyframes dotAnimation {
      0% { opacity: 0; }
      33% { opacity: 1; }
      66% { opacity: 1; }
      100% { opacity: 0; }
    }


@media (max-width: 1024px) {

  .slogan {
    width: 100%;
    display: flex;
    flex-direction: column;   
    justify-content: center;   
    top: 20%;
    align-items: center;     
    position: absolute;
    /* background-color: black; */
  }

  .slogan h1 {
    font-size: clamp(1rem, 8vw, 3.5rem); 
  }

  .hero-logo {
    width: clamp(200px, 70%, 500px);
    display: block;            
    position: absolute;          
    left: 50%;                 
    transform: translate(-50%, 10%);  
  }

  .anim-slogan {
    position: relative;
    margin-top: 2rem;
    gap: 10px;
    background-color: brown;
    width: 100%;          
    text-align: right;  
    display: flex;
    justify-content: center; 
    padding-top: 150px;
  }

.slogan-one, .slogan-two, .slogan-three, .slogan-four {
  position: fixed;
  bottom: clamp(1rem, 15%, 25rem);
  text-align: center;  
  width: auto;                 
}
  
.logos {
  width: 60%;
  height: auto;
}

.loading-text {
  position: fixed;
  text-align: center;
  bottom: clamp(1rem, 15%, 25rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.5rem, 8vw, 3rem);
  margin-top: 0;       
}

}