body {
  height: 100vh;
}

.split-container {
  display: flex;
  height: 100vh;
  margin-top: 0;
}

.split-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex 0.5s ease;
}

h1 {
  margin-bottom: 0;
  font-size: 3rem;
}

.split-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.split-section:hover .split-background {
  transform: scale(1.1);
}

.split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.split-section:hover .split-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.split-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 80%;
}

.section-bar {
  background: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--teamgreen);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.section-link {
  text-decoration: none;
  color: var(--teamgreen);
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.section-link:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
  }

  #first-section {
    margin-top: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  #first-section .split-background {
    height: calc(100% + 62px);
    top: -62px;
  }
}
