/* Root variables for color scheme */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #2980b9;
  --accent-color: #f39c12;
  --light-color: #ecf0f1;
  --dark-color: #34495e;
  --text-color: #333;
}

/* Base Styles */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: var(--light-color);
  color: var(--text-color);
}

header {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 20px;
  text-align: center;
  border-bottom: 3px solid var(--accent-color);
}

header nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

header nav a {
  padding: 10px 15px;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
}

header nav a:hover {
  background-color: var(--accent-color);
  color: #fff;
}

main {
  padding: 20px;
  text-align: center;
}

footer {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 20px;
  text-align: center;
  border-top: 5px solid var(--accent-color);
  font-size: 0.9rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

img:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

/* CEO Section */
.ceo-header {
  font-size: 2.4rem;
  margin: 15px 0;
  text-align: center;
  font-weight: 700;
}

.ceo-message {
  font-size: 1.8rem;
  margin: 15px 0;
  line-height: 1.6;
}

/* Countdown Timer */
#countdown {
  background: var(--secondary-color);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.5rem;
  margin: 20px auto;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Grid Layout for Images and Names */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for larger screens */
  column-gap: 15px;
  row-gap: 20px;
  justify-items: center;
}

.grid-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.grid-item p {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Buttons */
button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.2s;
}

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

button:active {
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dynamic Greeting */
#dynamicGreeting {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  header nav a {
    display: block;
    margin: 5px auto;
  }

  .ceo-header {
    font-size: 1.8rem;
  }

  .ceo-message,
  #countdown {
    font-size: 1.2rem;
  }

  .grid-container {
    grid-template-columns: 1fr; /* Single column layout for smaller screens */
  }

  .grid-item img {
    max-width: 90%; /* Adjust image size for mobile */
  }

  .grid-item p {
    font-size: 1rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 10px 5px;
  }
}

/* Responsive Styles for Extra Small Screens */
@media (max-width: 480px) {
  .ceo-header {
    font-size: 1.5rem;
  }

  .ceo-message {
    font-size: 0.9rem;
  }

  #countdown {
    font-size: 1rem;
  }

  footer {
    font-size: 0.7rem;
    padding: 5px;
  }
}

/* Profile Section */
.profile-list {
  display: flex;
  flex-direction: column; /* Arrange items vertically */
  align-items: center; /* Center items horizontally */
  gap: 30px; /* Add space between each profile */
}

.profile-item {
  text-align: center;
  width: 100%; /* Ensure it takes full width for alignment */
  max-width: 600px; /* Optional: Limit width to avoid very large profiles */
  margin: 0 auto;
}

.profile-image {
  width: 200px; /* Adjust the image size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.profile-text {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
}

/* Puzzle Section */
.puzzle-section {
  margin-top: 30px;
  text-align: center;
  background: var(--light-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.puzzle-word {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  word-wrap: break-word; /* Ensure long words wrap on smaller screens */
}

.puzzle-input {
  font-size: 1.2rem;
  padding: 10px;
  margin: 10px 0;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  width: 80%;
  max-width: 300px;
}

.puzzle-button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

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

.puzzle-result {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

/*Front page Animation*/
.countdown-section {
  animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% {
    transform: translateX(0) rotate(0);
  }
  25% {
    transform: translateX(-10px) rotate(-5deg);
  }
  75% {
    transform: translateX(10px) rotate(5deg);
  }
}

.countdown-message {
  animation: rainbow 5s linear infinite;
}

@keyframes rainbow {
  0% { color: red; }
  14% { color: orange; }
  28% { color: yellow; }
  42% { color: green; }
  57% { color: blue; }
  71% { color: indigo; }
  85% { color: violet; }
  100% { color: red; }
}

#countdown {
  animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
/*Front Page animation*/

/* Password Section */
.password-section {
  margin-top: 40px;
  text-align: center;
  background: var(--light-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.password-input {
  font-size: 1.2rem;
  padding: 10px;
  margin: 10px 0;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  width: 80%;
  max-width: 300px;
}

.password-result {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.puzzle-button {
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.2s;
}

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

/* Secret Mode Styles */
body.secret-mode {
  background-color: black;
  color: red;
}

body.secret-mode h1,
body.secret-mode p,
body.secret-mode a {
  color: red;
}

body.secret-mode input,
body.secret-mode button {
  color: black;
  background-color: red;
  border: 1px solid red;
}

/* Secret Mode Styles */
.secret-mode .secret-section {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
  border: 2px solid red;
  border-radius: 10px;
  background: black;
}

.secret-mode .secret-paragraph {
  color: red;
  font-size: 1.6rem;
  margin: 20px 0;
  line-height: 1.8;
}

.secret-mode .secret-image {
  max-width: 80%;
  height: auto;
  margin: 15px auto;
  border: 3px solid red;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.8);
}







  
  
  
  
  