* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  height: 100vh;
  flex-direction: row;
}

.left, .right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .content {
    position: relative;
    z-index: 2;
    text-align: center;

    h1 {
      font-size: 64px;
      margin-bottom: 20px;
    }
  }
}

.left {
  background: url('suguru.webp') no-repeat center center;
  background-size: cover;
}

.right {
  background: url('ricochet.webp') no-repeat center center;
  background-size: cover;
}

.button {
  padding: 15px 30px;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: rgba(0, 0, 0, 0.9);
  }

  &:disabled {
    background-color: grey;
    color: lightgrey;
    cursor: not-allowed;
    border-color: grey;
    pointer-events: none;
  }
}

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

  .left, .right {
    flex: none;
    width: 100%;
    height: 50vh;
  }

  .left .content h1,
  .right .content h1 {
    font-size: 48px;
  }
}
