@charset "UTF-8";

:root {
  --background-dark: #333333;
  --text-light: #f6f7f8;
  --accent-orange: #ff6b00;
  --accent-yellow: #ffb400;
  --asphalt-gray: #2e2e2e;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-dark);
  color: var(--text-light);
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--asphalt-gray);
  z-index: 1000;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 48px;
  color: var(--accent-orange);
  margin: 0;
}

h2 {
  font-size: 25px;
  color: var(--accent-orange);
  margin: 0;
}


.barricade {
  border: none;
  height: 30px;
  background-image: repeating-linear-gradient(
    45deg,
    yellow,
    yellow 10px,
    black 10px,
    black 20px
  );
  border-radius: 2px;
  margin: 20px auto;
  width: 90%;
}

main {
  margin-top: 421px; /* offset for fixed header */
  padding: 0 20px;
  text-align: center;
}

.section {
  margin-bottom: 60px;
}

.btncont {
  margin-bottom: 20px;
}

.h2btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--asphalt-gray);
  color: var(--accent-yellow);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 1.6em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  width: 320px;
  text-align: center;
}

.h2btn:hover {
  background-color: var(--accent-yellow);
  color: var(--asphalt-gray);
  transform: translateY(-3px);
}

.content-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  overflow: hidden;
  transition: all 0.4s ease;
}

.list {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  list-style-type: disc;
  padding-left: 25px;
  text-align: left;
  color: var(--text-light);
  width: 300px;
  margin: 0;
}

.list.show {
  max-height: 600px;
  opacity: 1;
}

.list li {
  margin: 8px 0;
  font-size: 1.1em;
}

.toggle-img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
  visibility: hidden;
}

.toggle-img.show {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

@media (max-width: 768px) {
  .content-row {
    flex-direction: column;
    align-items: center;
  }

  .list,
  .toggle-img {
    width: 90%;
  }

  .h2btn {
    width: 90%;
  }

  h1 {
    font-size: 36px;
  }
}

.footer {
  color: var(--accent-orange);
  text-align: center;
  font-size: 0.9em;
}


/*Font choices: Oswald, Anton, Impact, or maybe Bebas Neue.*/

/*Color scheme: #f8f4e3 off-white for the background or 1e1e1e dark asphalty color*/

/*Heavy headings, clean body could use Montserrat or Open Sans?*/