body {
  margin: 0;

  font-family: "Segoe UI", system-ui, sans-serif;

  background: linear-gradient(to right, #667eea, #09152d);

  display: flex;
  flex-direction: column;
  height: 100vh;
  color: white;
}

a {
  color: #000;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: #fff;
}

.header li {
  float: left;
}

.header li a {
  display: block;
  padding: 20px 30px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
  border: none;
  color: #fff;
}

.header li a:hover,
.header .menu-btn:hover {
  color: #000;
}

.header .logo {
  display: block;
  float: left;
  font-size: 1.5em;
  padding: 10px 20px;
  text-decoration: none;
  color: white;

  font-weight: 600;
}

/* Menu */
.header .menu {
  clear: none;
  float: right;
  max-height: none;
  color: white;
  background: none;
  font-size: 1.2em;
}

/* Menu Icon */
.header .menu-icon {
  display: none;
  cursor: pointer;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: white;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: white;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* Menu Button */
.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* Hero Section */
.hero {
  color: white;
  padding: 100px 20px 60px;
  text-align: center;
  margin-top: 80px; /* offset for fixed header */
  transition: margin-top 0.3s ease-out;
}

.hero-content h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 50px;
  font-weight: 400;
  line-height: 28px;
}

.cta-button {
  background-color: white;
  color: #000;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #f4f4f4;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;

  z-index: 10;
}

/* Small Screens Only */
@media (max-width: 47.99em) {
  .header {
    position: relative;
  }

  .header .menu {
    position: relative;
    width: 100%;
    background-color: white;
    color: black;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }

  .header .menu-btn:checked ~ .menu {
    max-height: 500px; /* Large enough to show all items */
  }

  .header li {
    float: none;
    width: 100%;
  }

  .header li a {
    display: block;
    width: 100%;
    padding: 20px;
    color: black;
  }

  .header li a:hover {
    background-color: #eee;
  }

  .header .menu-icon {
    display: inline-block;
  }

  .hero-content h1 {
    font-size: 1.5em;
    color: #fff;
  }
}
