@font-face {
  font-family: 'Quasimoda';
  src: url('fonts/Quasimoda-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'American Typewriter';
  src: url('fonts/AmericanTypewriterStd-Med.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  background-image: url('runwayskiln-background3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  padding: 1rem;
  line-height: 2.1rem;
}

/* Keyframes for fade-in */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Centered box styling */
/* Apply the animation to the centered box */
.center-box {
  width: 40%;
  max-width: 800px;
  min-width: 300px;
  padding: 4rem;
  border: 2px solid #272525;
  box-shadow: 0px 0px 30px 0px rgba(2, 2, 2, 1.00);
  background-color: rgba(255, 255, 255, 1.00);
  text-align: center;
  
  /* Animation styles */
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Logo */
.logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Typography */
h1 {
  color: #272525;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  font-family: 'Quasimoda', sans-serif;
  font-weight: 500;
}

p {
  color: #483138;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-family: 'American Typewriter', serif;
  font-weight: 500;
}

a {
  color: #483138;
  text-decoration: underline;
}

/* Button */
.hours-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #483138;
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Quasimoda', sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.menu-button {
	padding: 0.25rem 1rem;
}

.hours-button:hover {
  background-color: #3b3b3b;
}

.arrow-icon {
  width: 1em;
  height: 1em;
  fill: white;
  transition: transform 0.3s ease;
}

.hours-button:hover .arrow-icon {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .center-box {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .center-box {
    width: 80%;
    padding: 1.6rem;
  }
  
  .logo {
	  width: 50%;
	}

  h1 {
    font-size: 2rem;
  }

  .hours-button {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .center-box {
    width: 95%;
    padding: 2rem 1.6rem;
  }

  .logo {
	  width: 50%;
	}

  h1 {
    font-size: 1.7rem;
  }

  p {
    font-size: 0.85rem;
  }

}
