/* WelcomePage.css */

:root {
  --primary-color: #4caf50;
  --secondary-color: #ffffff;
  --text-color: #333333;
  --button-hover: #45a049;
}

@font-face {
  font-family: "ChakraPetch";
  src: url("../font/ChakraPetch-Medium.ttf");
  font-display: swap;
}

body {
  font-family: "ChakraPetch", sans-serif !important;
  margin: 0;
}

.welcome-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: url("/static/image/unnamed.jpg") no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

.welcome-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.welcome-box {
  position: relative;
  z-index: 2; /* Make sure the box is above the gradient */
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px 90px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.welcome-title {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.welcome-subtitle {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.welcome-button {
  padding: 12px 24px;
  font-size: 1rem;
  color: var(--secondary-color);
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.welcome-button:hover {
  background-color: var(--button-hover);
  transform: scale(1.05);
}
