@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root{
  --bcolor: #1A1A1A;
  --main-text: #d1d1d1;
  --accent: #8B3A28;
  --button-primary-color: #d1d1d1;
  --hover: #d1d1d1;
  --card-bcolor: #2D1F1B;
  --titles: #8B3A28; 
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Wideo jako tło */
#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  min-width: 100%;
  min-height: 100%;
}

.main{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--main-text);
  font-family: 'Zilla Slab', cursive;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
}

.discord-text {
  font-family: 'Zilla Slab', cursive;
  font-weight: medium;
  font-size: 18px;
  padding: 20px 32px;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--main-text);
  border: 3px solid var(--main-text);
  border-radius: 32px;
  text-decoration: none;
  transition: transform .15s, background-color .15s, color .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.discord-text:hover {
  text-shadow: 
    0 0 10px #b34747, 
    0 0 20px #ffb347;
    background-color: rgba(255,255,255,0.2);
    color: rgb(255,255,255)
}


@supports (-webkit-touch-callout: none) {
  #background-video {
    height: 100vh;
  }
}

@media (max-width: 768px) {
  .main {
    padding: 20px;
    row-gap: 20px;
    transform: translate(-50%, -50%);
    width: 100%;
    box-sizing: border-box;
  }

  .discord-text {
    font-size: 16px;       /* mniejsze niż 26px */
    padding: 16px 24px;    /* mniejsze paddingi */
    border-width: 3px;
    margin: 0 10px;
  }

  .logo img {
    max-width: 95vw;
    height: auto;
  }
}



.logo img {
  max-width: 40vw;
  height: auto;
}

