@import url('color.css');
@import url('reset.css');
@import url('./layout.css'); 
@import url('./type.css'); 
@import url('./loading.css'); 


body {
  font-family: 'Kepler Std', serif;
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #983623;
}

a:hover {
  color: #588797;
}


#top-button {
  position: fixed;
  bottom: 2rem; 
  right: 2rem; 
  width: 50px; 
  height: 50px;
  cursor: pointer;
  z-index: 1000;
  display: none; 
  opacity: 1; 
  transition: opacity 0.3s ease, transform 0.3s ease; 
}

#top-button img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
}

#top-button:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* footer */
.footer {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  background-color: white; 
  padding: 1rem 0; 
  width: 100%;
  padding-bottom: 0;
}

/* animation text */
.marquee-container {
  width: 100%;
  height: 3rem; 
  background-color: white; 
  overflow: hidden; 
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
}

.marquee-content {
  display: inline-block;
  white-space: nowrap; 
  font-size: 1.2rem;
  font-weight: bold;
  color: #A9A59A; 
  text-transform: uppercase; 
  animation: marquee 25s linear infinite; /* speed */
}

@keyframes marquee {
  0% {
    transform: translateX(0%); 
  }
  100% {
    transform: translateX(-100%); 
  }
}

/* footer text */
.footer-text-container {
  width: 100%;
  text-align: center;
  background-color: #A9A59A; 
  padding: 1rem 0;
}

.footer-text {
  padding: 1rem;
  font-size: 1rem;
  color: black; 
}

/* responsive design*/
/* tablet (~1024px) */
@media (max-width: 1024px) {
  .footer {
    flex-direction: column; 
    padding: 0.8rem 0; 
  }

  .marquee-container {
    height: 2.5rem; 
  }

  .marquee-content {
    font-size: 1.1rem; 
    animation: marquee 22s linear infinite; 
  }

  .footer-text-container {
    padding: 0.8rem 0; 
  }

  .footer-text {
    font-size: 0.9rem; 
    padding: 0.8rem;
  }
}

/* responsive design*/
/* mobile (~480px) */
@media (max-width: 480px) {
  .footer {
    flex-direction: column; 
    padding: 0.5rem 0; 
  }

  .marquee-container {
    height: 2rem; 
  }

  .marquee-content {
    font-size: 1rem; 
    animation: marquee 20s linear infinite; 
  }

  .footer-text-container {
    padding: 0.5rem 0; 
  }

  .footer-text {
    font-size: 0.8rem; 
    padding: 0.5rem; 
  }
}
