/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Space Mono', monospace;
  overflow: hidden;
}

/* ========== BACKGROUND VIDEO FULLSCREEN ========== */
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.2;           /* subtelny podkład */
  pointer-events: none;   /* nie blokuje interakcji */
  transition: opacity 0.5s ease;
}

/* Podbij opacity przy hover na prawej połowie */
.half.right:hover ~ .bg-video,
.half.right:hover .bg-video {
  opacity: 0.2;
}

/* ========== LAYOUT ========== */
.container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.half {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

/* Kolory sekcji */
.left {
  background-color: #fff;
  color: #000;
}

.right {
  background-color: rgb(0,0,0,0.9);
  color: #fff;
}

/* ========== CONTENT ========== */
.content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.logo {
  width: 60px;
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #aaa;
}

.left p {
  color: #666;
}

/* ========== PILLOW-SHAPED BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;             /* max round for pigułka */
  border: 2px solid currentColor;
  background-color: transparent;
  color: currentColor;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 2;
}

.left .btn {
  /* czarny tekst na białym tle */
  color: #000;
  border-color: #000;
}
.left .btn:hover {
  background-color: #000;
  color: #fff;
}

.right .btn {
  /* biały tekst na czarnym tle */
  color: #fff;
  border-color: #fff;
}
.right .btn:hover {
  background-color: #fff;
  color: #000;
}

/* ========== RESPONSIVE UP TO 1080px ========== */
@media screen and (max-width: 1080px) {
  html, body {
    overflow: auto;
    height: auto;
  }
  .container {
    flex-direction: column;
  }
  .half {
    width: 100%;
    height: auto;          /* wysokość rośnie z zawartością */
    padding: 4rem 2rem;     /* więcej przestrzeni góra-dół */
  }
}

/* Dla ekranów ≤ 1280px (smartfon + tablet) przechodzimy do jednej kolumny */
@media screen and (max-width: 1280px) {
  html, body {
    overflow: auto;
    height: auto;
  }
  .container {
    flex-direction: column;
  }
  .half {
    width: 100%;
    height: auto;
    padding: 4rem 2rem;
  }
}

