body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 10;
  background: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, transparent 50%);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: white;
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: black;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: #4169E1;
}

.home-icon {
  display: none;
}

.home-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

main {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.image-panel {
  flex: 1;
  background-image: url('images/fiona-training-background-half-100.webp');
  background-size: cover;
  background-position: top;
  height: 100%;
}

.text-panel {
  flex: 1;
  background: radial-gradient(ellipse 100% 100% at 50% 100%, #333333, #000000);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 6rem 2rem 2rem;
  box-sizing: border-box;
}

h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.training-content {
  width: 90%;
}

h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

ul {
  margin: 0;
  padding-left: 1.5rem;
}

@media screen and (max-width: 1028px) and (min-width: 768px) {
  header {
    padding: 1rem 2rem;
  }

  .home-icon {
    display: block;
    color: black;
  }

  .nav-list {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem 2rem;
    box-sizing: border-box;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    width: auto;
    text-align: right;
  }

  .nav-link {
    padding: 0.5rem 0;
  }

}

@media screen and (max-width: 768px) {
  header {
    background: rgba(0, 0, 0, 1);
  }

  main {
    flex-direction: column;
    overflow-y: auto;
  }

  .image-panel {
    display: none;
  }

  header {
    padding: 1rem 2rem;
  }

  .nav-list {
    display: none;
  }

  .text-panel {
    flex: 1;
    overflow-y: auto;
    padding-top: 80px;
  }

  .home-icon {
    display: block;
    color: white;
  }
}