
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Upewnia się, że padding i border są wliczane w szerokość/wysokość elementu */
}

a{
    text-decoration: none;
    color: #fff;
}

@font-face {
 font-family: 'Cocogoose';
 src: url('../content/fonts/cocogoose.ttf'); /* IE9 Compat Modes */
 src: url('../content/fonts/cocogoose.ttf.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../content/fonts/cocogoose.ttf') format('woff'), /* Modern Browsers */
 url('../content/fonts/cocogoose.ttf') format('truetype'), /* Safari, Android, iOS */
 url('../content/fonts/cocogoose.ttf') format('svg'); /* Legacy iOS */
}


@font-face {
 font-family: 'Kenyan';
 src: url('../content/fonts/Kenyan.otf'); /* IE9 Compat Modes */
 src: url('../content/fonts/Kenyan.otf.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
 url('../content/fonts/Kenyan.otf') format('woff'), /* Modern Browsers */
 url('../content/fonts/Kenyan.otf') format('truetype'), /* Safari, Android, iOS */
 url('../content/fonts/Kenyan.otf') format('svg'); /* Legacy iOS */
}

body {
    margin: 0;
    padding: 0;
    background-color: #313131;
}

#header {
    width: 100%;
    height: 80px;
    background-color: #886c6c;
}


.navbar {
    position: relative;
    font-size: 18px;
    background-image: linear-gradient(260deg, #202020 0%, #1d1d1d 100%);
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
  }
  
  #main-nav {
    list-style-type: none;
    display: none;
    flex-direction: column;
    font-family: Oswald;
    text-transform: uppercase;
  }
  
  #main-nav li {
    text-align: center;
    margin: 15px auto;
  }
  
  .nav-links,
  #logo {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
  }
  
  #logo:hover,
  .nav-links:hover {
    color: rgb(133, 69, 235);
  }
  
img {
    max-width: 100%;
    height: auto;
    display: block;
}



.responsive-logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 0 40px;
}
.logo-container{
    padding: 10px 10px 25px 10px;
    text-align: center;
}
  
  #navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3em;
  }
  
  #navbar-toggle:hover {
    color: rgba(255, 255, 255, 1);

  }
#discordbutton {
    /* Ustawienie płynnego przejścia dla transformacji */
    transition: transform 0.3s ease-in-out;
    
    /* Początkowy stan: skala 1 (normalny rozmiar), obrót 0 stopni */
    transform: scale(1) rotate(0deg); /* Połączone transformacje, spacją */
}

#discordbutton img {
    width: 45px;
}

#discordbutton:hover {
    /* Stan po najechaniu: skala 1.5 (powiększenie), obrót 360 stopni */
    transform: scale(1.5) rotate(360deg); /* Połączone transformacje, spacją */
}







  /* BANNER */

  #baner-container {
    margin: 40px auto 0px auto;
    width: 75%;
    border-radius: 0px 0px 10px 10px;
    font-family: Oswald;
    color: white;

    
  }

  #connectserver {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #connectserver a {
    color: white;
    background-color: rgb(115, 41, 233);
    font-family: Oswald;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    transition: transform 0.2s ease-in-out;
    transform: scale(1); /* Połączone transformacje, spacją */
  }

  #connectserver a:hover{
    transform: scale(1.3);

  }

    #connectserver2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #connectserver2 a {
    color: white;
    background-color: rgb(115, 41, 233);
    font-family: Oswald;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    transition: transform 0.2s ease-in-out;
    transform: scale(1); /* Połączone transformacje, spacją */
  }

  #connectserver2 a:hover{
    transform: scale(1.3);

  }

  #banerimg{
    background-image: url('../content/baner.png');
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0px 0px 10px 10px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 1);
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 1);
  }

  .main-container{
width: 50%;
    max-width: 600px;;
    padding: 20px;
  }

  .content-wrapper{
    text-align: left;
  }

  .content-wrapper p {
    margin: 5px 0;
    line-height: 1.4;
    font-size: 20px;
  }

 #servername {
    font-size: 1.3em;
 }


#tiles_container {
    display: flex;
    width: 90%;
    margin: auto;
    margin-top: 50px; /* Zostawiasz to globalnie, pamiętaj o korekcie na mobile */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
    min-height: 300px;
}

#tiles_container div {
    min-height: 150px;
    width: 30%;
    color: white;
}

.tile {
    background-color: #1d1d1d;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.tile:hover{ 
    background-color: rgb(95, 35, 190);
}

.tile h1 {
    font-family: Kenyan;
    letter-spacing: 2px;
    padding: 25px;
    display: flex; /* Zmień h1 na flexbox container */
    justify-content: space-between; /* Rozmieść elementy na końcach kontenera */
    align-items: center; /* Wyśrodkuj elementy w pionie */
}

.tile h2 {
    margin-top: 20px;
    padding: 20px 30px 20px 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 1em;
    line-height: 1.3em;
    /* Usuń display: none; stąd, jeśli było */
}

.tile a{
 transition: font-size 0.3s ease-in-out;
 font-size: 1em;
}

.tile a:hover{
      font-size: 1.05em; /* Zwiększ rozmiar czcionki o 20% */
}

.tile a:hover .tile {
    background-color: aqua;
}

.tile:hover .arrow-icon:hover { /* Opcjonalnie: animacja strzałki przy najechaniu na kafelek */
     transform: rotate(0deg); 
     transition: transform 0.3s ease;
}

.tile-description {
    /* USUNIĘTO display: none; stąd! */
    margin-top: 20px;
    padding: 20px 30px 20px 30px; /* Dodaj padding, aby tekst nie przylegał */
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    font-size: 1em; /* Domyślny rozmiar dla desktopu */
    line-height: 1.3em;
    display: block; /* Upewniamy się, że domyślnie jest widoczny */
}

.arrow-icon {
    width: 16px; /* Domyślny rozmiar na desktopie */
    height: 16px;
    background-image: url('../content/arrow.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease; /* Dodaj transition globalnie */
    /* Na desktopie strzałka może być zawsze skierowana w górę, bo treść jest widoczna */
    /* Lub możesz ją ukryć, jeśli na desktopie nie ma sensu klikać by pokazać/ukryć */
    display: none; /* KLUCZOWE: Domyślnie ukryj strzałkę na desktopie, bo h2 jest widoczne */
}




/************************************************************************************************
******************************************** FOOTER *********************************************
************************************************************************************************/



#main-footer {
    background-color: #222; /* Ciemne tło */
    color: #bbb; /* Jasny tekst */
    padding: 40px 20px; /* Padding dla przestrzeni */
    font-family: Oswald, sans-serif;
    line-height: 1.6;
    margin-top: 50px; /* Odstęp od poprzedniej sekcji */
}

#main-footer a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-footer a:hover {
    color: rgb(133, 69, 235); /* Kolor podświetlenia linków w stopce */
}

.footer-content {
    display: flex;
    flex-wrap: wrap; /* Pozwala na zawijanie sekcji na mniejszych ekranach */
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1; /* Równa szerokość dla sekcji */
    min-width: 250px; /* Minimalna szerokość, aby nie były za małe */
    margin: 20px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 1px solid #444; /* Linia pod nagłówkiem */
    padding-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section .socials a {
    font-size: 1.8em;
    margin-right: 15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9em;
    color: #888;
}

.footer-bottom p {
    margin-top: 5px;
}

/************************************************************************************************
*************************************** PRIVACY AND POLICY **************************************
************************************************************************************************/
.main-privacy {
  max-width: 900px;
  margin: 100px auto;
  padding: 40px;
  background-color: #1d1d1d;
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  font-family: Arial, Helvetica, sans-serif;
}

.main-privacy ul li {
  margin-left: 30px;
}

.main-privacy ul li:first-of-type{
  margin-top: 15px;
}

.main-privacy ul li:last-of-type {
  margin-bottom: 15px;
}

.main-privacy a {
  font-family: Oswald;
  text-transform: uppercase;
}

.main-privacy a:hover{
  color:rgb(132, 91, 197);
}

#viptitle {
    font-size: 1.5em;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-family: Oswald;
    color: rgb(133, 69, 235);
}

#vipdesc1 {
    font-family: Oswald;
    font-size: 1.2em;
    text-align: center;
}

#vipdesc2 {
    font-family: Oswald;
    font-size: 1.2em;
    text-align: center;
}



/************************************************************************************************
*************************************** MOBILE and ANIMATIONS ***********************************
************************************************************************************************/






 @keyframes myAnim {
	0% {
		transform: scale(1);
        transition-duration: 500ms;
	}

	100% {
		transform: scale(2);
        transition-duration: 500ms;
	}
}

  @media (max-width: 1080px) {
   .responsive-logo {
        max-width: 230px; /* Logo będzie nieco mniejsze na małych ekranach */
        
    }

    .navbar li {
        font-size: 2.5em;
    }

    #baner-container {
        width: 100%;
        margin: auto;
        margin-top: 30px;
    }

    .main-container{
        width: 100%;
    }

    #connectserver {
        display: none;
    }

    #discordbutton img {
    width: 80px;
}
#tiles_container div{
        width: 95%;
        min-height: 0; /* Zezwól na dynamiczną wysokość */
}

#tiles_container {
        flex-direction: column;
        justify-content: center;
        align-content: center;
        width: 100%;
}

.tile{
    margin-top: 10px;
}

 .tile:hover {
        background-color: #1d1d1d; /* Upewnia się, że nawet jeśli hover "utknie", kolor będzie bazowy */
    }

.file:first-of-type{
    margin-top: 0;
}

    .tile h1 {
       font-size: 3em;
        cursor: pointer; /* Zaznacz, że jest klikalny na mobilu */
        text-align: left;
    }

.tile-description {
        display: none; /* KLUCZOWE: Ukryj h2 domyślnie tylko na mobilu */
        font-size: 1.5em; /* Zwiększony rozmiar czcionki dla mobilu */
    }

    .arrow-icon { /* Styl dla klasy strzałki */
        width: 30px; /* Większy rozmiar na mobilu */
        height: 30px;
        display: block; /* KLUCZOWE: Pokaż strzałkę tylko na mobilu */
    }

        .tile.active .arrow-icon {
 transform: rotate(180deg); /* Obróć strzałkę w dół */
        transition: transform 0.3s ease;
    }

    /* Jeśli nie masz strzałki na desktopie, upewnij się, że .arrow-icon ma display: none; globalnie */
    /* A dopiero w @media (max-width: 1080px) nadaj mu display: block; lub inline-block; */
    /* Ale zakladam, ze ma byc zawsze widoczna */

        .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .footer-section h3 {
        border-bottom: none; /* Usuń linię na mobilu dla lepszej estetyki */
        padding-bottom: 0;
    }

    #viptitle {
        font-size: 2em;
    }

    #vipdesc1, #vipdesc2 {
        font-size: 1.6em;
    }

    #vipdesc1 {
        line-height: 2;
    }

    #vipdesc2 {
        margin-top: 30px;
    }

    #connectserver2 a{
        font-size: 1.6em;
    }
}


 .tile.active {
        background-color: rgb(70, 25, 140); /* Ciemniejszy odcień fioletu, gdy kafelek jest aktywny */
    }

     .tile.active .tile-description {
        display: block; /* Pokaż opis, gdy kafelek ma klasę active */
    }



    .tile-description.active {
        display: block; /* Lub display: flex; w zależności od potrzeb layoutu */
          font-size: 1.3em;
    }

          #arrow {
      width: 16px;
      height: 16px;
      background-image: url('../content/arrow.png');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      text-align: right;
    }



  @media screen and (min-width: 1081px) {
  
    .navbar {
      display: flex;
      justify-content: space-around;
      padding-bottom: 0;
      align-items: center;
    }

  
  
    #main-nav {
      display: flex !important;
      margin-right: 30px;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
    }
  
    #main-nav li {
      margin: 0;
    }


    .nav-links {
      margin-left: 40px;
    }
  
    #logo {
      margin-top: 0;
    }
  
    #navbar-toggle {
      display: none;
    }
  
  } 