html {
    scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
}

body {
    height: 100%;
    width: 100%;
    font-family:Segoe UI;
    background-color: #111;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 100%;
}

body.fade-out {
  opacity: 0%;
}

*::grammar-error {
  color: rgb(0, 81, 255)
}

*::selection {
  color: rgb(0, 81, 255);
}

ul {
    color: white;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    overflow: hidden;
}

li {
    float: left;
}

li a {
    display: block;
    padding: 28px 16px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

li a:hover {
    background-color: rgb(26, 8, 182);
}

section {
    scroll-margin-top: 75px;
}

.home {
    min-height: auto;
    height: 650px;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.home .h1-home, .h2-home, .home-sub, .home-btn {
    margin-left: 170px;
    margin-top: -15px;
    transform: translateY(-80px) ;
}

.home-sub {
    font-size: 18px;
    margin-top: -10px;
    margin-bottom: 30px;
    color: #ccc;
}

.home-btn {
    text-align: center;
    background-color: #0066ff;
    color: white;
    border: 5px #0066ff solid;
    font-size: 25px;
    padding: 10px;
    height: 65px;
    width: 300px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.5s ease;
}

.home-btn:hover {
    background-color: #0049c9;
    border: 5px #0049c9 solid;
}

.bots {
    color: white;
    text-align: center;
    height: 650px;
    width: auto;
}

.features {
    height: 650px;
    background-color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.features .title {
  color: black;
}

.team {
    height: auto;
    color: white;
    text-align: center;
}

.contact {
    text-align: center;
    height: auto;
    color: white;
    text-align: center;
    margin: 30px;
    padding: 40px 0px;
    font-weight: bold;

}

.contact a {
    color: white;
}

footer {
    padding:10px;
    margin-top: 20px;
    width: 100%;
    background-color: blue;
    opacity: 75%;
    text-align: center;
}

a {
    text-decoration: none;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.home h1 {
    font-size: 57px;
    color: rgb(0, 81, 255);;
    margin-bottom: 20px;
    margin-top: 10px;
}

.bot-btn {
    height: 50px;
    width: 150px;
    background-color: #0066ff;
    font-size: 15px;
    border: 5px #0066ff solid;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    margin: 20px;
    cursor: pointer;
    transition: all 0.5 ease;
}

.bot-btn:hover {
    transform: scale(1.05);
    background-color: #0049c9;
    border: 5px #0049c9 solid;
}

.botbox {
    padding: 40px;
    background-color: #333;
    color: white;
    height: 260px;
    width: 270px;
    margin: 25px;
    border: #222 solid 15px;
    border-radius: 5px;
    transition: all 0.5s ease;
}

.botbox:hover {
    transform: scale(1.10);
    border: blue solid 15px;

}

.card {
    padding: 20px;
    background-color: #222;
    color: var(--blue-light);
    height: 150px;
    width: 300px;
    margin: 20px;
    border-radius: 15px;
    transition: all 0.2s ease;
    font-size: 20px;
}

.card h2 {
  color: var(--blue-light);
}

.card .desc {
  color:white;
}

.card:hover {
    transform: scale(1.10);
    background-color: #0066ff;
    cursor: pointer;
}

.ownerbox {
    padding: 20px;
    background-color: #222;
    color: crimson;
    height: 255px;
    width: 325px;
    margin: 20px;
    border: 15px solid #333;
    border-radius: 5px;
}

.teambox {
    padding: 20px;
    background-color: #222;
    color: crimson;
    height: 255px;
    width: 300px;
    margin: 20px;
    border: 15px solid #333;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

.max-width {
    max-width: 1300px;
    margin: auto;
    padding: 0 15px;
}

.navbar {
    height: 75px;
    margin-bottom: 10px;
    background-color: transparent;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;

}

.navbar .logo a {
  margin-left: 50px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
}

.navbar .logo a span {
  color: blue;
  transition: all 0.3s ease;
  font-weight: bold;
}

.navbar.scrolled {
    background-color: blue;
    transition: all 0.3s;
}

.navbar.scrolled .logo a span {
    color: white;
}

.a-team {
    color: blue;
}

img {
    height: 100px;
    width: 100px;
    border-radius: 60px;
}

.title {
    margin-top: 30px;
    font-size: 40px;
    font-weight: bold;
}

:root {
  --blue: blue;
  --blue-dark: #003399;
  --blue-cyan: #3399ff;
  --white: #ffffff;
  --blue-light: #0066ff;
}

.desc {
    font-size: 20px;
    margin-bottom: 5px;
}

.about-button {
    height: 40px;
    width: 125px;
    background-color: transparent;
    border: 2px solid #0066ff;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    color:crimson;
    transition: all 0.5s ease;
}

.about-button:hover {
    background-color: #0066ff;
    transform: scale(1.05);
    color:rgb(246, 250, 9)
}

.team img {
    border: 5px solid crimson;
}

.contact a {
    font-size: 30px;
}

.logo-dsc {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  font-size: 50px;
  color: #0066ff; 
  margin-top: 40px;
  transition: all 0.6s ease;
}

.logo-dsc:hover {
  color: #7289da;
}

.logo-inst {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  font-size: 50px;
  color: #0066ff; 
  margin-top: 40px;
  transition: all 0.6s ease;
}

.logo-inst:hover {
  color: rgba(228, 40, 165, 0.932);
}

.logo-yt {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  font-size: 50px;
  color: #0066ff; 
  margin-top: 40px;
  transition: all 0.6s ease;
}

.logo-yt:hover {
  color: rgba(231, 40, 33, 0.986);
}

.main-p-btn {
    height: 50px;
    width: 125px;
    background-color: #0066ff;
    border: 2px solid #0066ff;
    cursor: pointer;
}

footer a {
    color: crimson;
    font-weight: 600;
}

footer a:hover {
  color: #fff;

}

h1 {
    color: white;
    text-align: center;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -999;
}

.botbox h3 {
    color: crimson;
}

@media screen and (max-width: 480px) {
  .home .h1-home,
  .h2-home,
  .home-sub,
  .home-btn {
    margin-left: 0px !important;
    text-align: center;
  }
  .home {
    height: auto;
    align-items: center;
  }
  .home .h1-home, .h2-home, .home-sub, .home-btn {
  transform: translateY(0px);
  margin-top: -10px;
  }
  .home-btn {
    display: none;
  }
  .bots {
    height: 80%;
  }
  .features {
    height: 80%;
  }
  .team {
    height: 80%;
  }
  .contact {
    height: 80%;
  }
  .container {
    flex-direction: column !important;
    align-items: center !important;
  }

  ul {
    flex-direction: column !important;
    width: 100% !important;
  }

  li {
    float: none !important;
    width: 100% !important;
  }

  li a {
    padding: 15px 0 !important;
    font-size: 18px !important;
  }

  .botbox,
  .card,
  .ownerbox,
  .teambox {
    width: 80% !important;
    margin: 15px 0 !important;
    height: auto !important;
    padding: 20px !important;
  }

  .home-btn,
  .bot-btn,
  .about-button {
    width: 90% !important;
    font-size: 18px !important;
  }

  .navbar .logo a {
    margin-left: 0 !important;
    font-size: 28px !important;
  }

  .burger {
    display: flex !important;
  }

  .navbar ul {
    display: none !important;
    flex-direction: column !important;
    background-color: blue !important;
    position: absolute !important;
    top: 75px !important;
    left: 0 !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 1000 !important;
  }

  .navbar ul.active {
    display: flex !important;
  }

  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Ogólne ustawienia ul i li na desktop */
ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  margin-left: 20px;
}

li:first-child {
  margin-left: 0;
}

li a {
  display: block;
  padding: 28px 16px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

li a:hover {
  background-color: rgb(26, 8, 182);
}

/* Burger ukryty na desktopie */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px;
  z-index: 1001;
}

.burger .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* Animacje burgera kiedy jest aktywny */
.burger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger.active .bar:nth-child(2) {
  opacity: 0;
}
.burger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}


@media screen and (max-width: 768px) {
  
  .burger {
    display: flex;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    background-color: #0066ff;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  /* Menu w kolumnie, gdy aktywne */
  #nav-links.active {
    display: flex;
  }

  li {
    margin: 0;
  }

  li a {
    padding: 15px 0;
    text-align: center;
    font-size: 18px;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 20px;
}

.social-icons a {
  font-size: 50px;
  color: #0066ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: crimson;
  cursor: pointer;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 75px;
  }
}

.aboutme {
  height: 750px;
}

.aboutme a{
  color: #0066ff;
}

.aboutme h1 span {
  color: blue
}

.abt-box {
  position: relative;
  padding: 0px;
  margin: 10px;
  color: white;
  border: 6px solid #222;
  border-radius: 10px;
  align-items: center;
  text-align: center;
  height: 450px;
  width: 400px;
  box-shadow: 0 0 15px #0066ff;
  font-family: 'Poppins', sans-serif;
  z-index: 1;
  overflow: hidden;
}

.abt-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  background-image: url("./photos/Maly22.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100%; width: 100%;
  opacity: 0.4;
  z-index: -1;
}

.abt-box h2 {
  color: #0066ff;
}

.abt-box img {
    border: 4px solid #007bff;
    border-radius: 20px;
    width: 180px;
    height: auto;
    margin: 20px 0;
    box-shadow: 0 0 15px rgba(4, 117, 238, 0.699);
}

.abt-box h3 {
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.texts {
  color: white;
  transition: all 0.6s ease-in-out;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

.texts:hover {
  cursor: pointer;
}

.texts button {
  font-size: 16px;
  height: 40px;
  width: 150px;
  background-color: transparent;
  color: white;
  border: 3px solid #0049c9;
  box-shadow: 0 0 15px #0066ff;
  transition: all 0.5s ease;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
}

.texts button:hover {
  background-color: #0049c9;
  cursor: pointer;
}

section {
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 600px) {
  .abt-box {
    padding: 20px;
    margin: 20px;
    width: 75%;
    height: 70%;
  }

  .abt-box img {
    width: 120px;
  }

}

.ranking {
  text-align: center;
  height: 2100px;
}

.ranking .max-width {
  max-width: 1450px;
  margin: auto;
  padding: 0px 15px;
}

.steam {
  text-align: center;
  height: auto;
}

.error404 {
  font-size: 180px;
  padding-top: 0px;
  text-align: center;
  color: #0066ff;
  max-height: 120px;
}

.error {
  font-weight: 500;
  font-size: 40px;
  color: white;
  text-align: center;
}

.error-btn {
  font-size: 20px;
  padding: 5px;
  margin: 15px;
  height: 60px;
  width: 200px;
  background-color: #0049c9;
  border: 0px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
  color: white;
  font-weight: 600;
}

.error-btn:hover {
  cursor: pointer;
  background-color: #0066ff;
}

.steam-profile {
  padding: 10px;
  margin: auto;
  background-color: #222;
  color: white;
  width: 50%;
  height: 400px;
}

.steam-card a button{
  background-color: transparent;
  border: 2px solid #0049c9;
  height: 50px;
  padding: 0px;
  width: 150px;
  color: white;
  transition: all 0.3 ease;
}

.steam-card a:hover {
  transform: scale(1.03);
  background-color: #0049c9;
  color: white;
}

.steam-card img {
  border-radius: 0px;
}

.steam-card h3 {
  color: white;
}

@media (max-width: 600px) {
  .aboutme {
    height: 550px;
  }
}

.table {
  height: 1575px;
  width: auto;
  background-color: #222;
  border: 8px solid #222;
}

.tier {
  display: flex;
  align-items: center;
  background-color: #333;
  margin: 18px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 15px #00000070;
}

.tier-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 10px;
  color: #fff;
}

.tier-label img {
  border-radius: 5px;
}

.games {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  background-color: #222;
  width: 100%;
}

.game-card {
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 115px;
  cursor: pointer;
}

.game-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 15px rgba(4, 117, 238, 0.699);
}

.game-card img {
  width: 100%;
  height: 130px;
  display: block;
  border-radius: 10px;
}

.game-info {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  color: white;
}

.table h3  {
  color: white
}

.table h3 a {
  color: #0066ff;
}

.tier-label-NG {
  color: crimson;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.h3-gamecards {
  color: white;
}

.h3-gamecards a {
  color: #0066ff;
}

@media (max-width: 600px) {
  .tier {
    width: 90%;
    height: 80px;
  }

  .tier-label {
      width: 8%;
      height: auto;
  }

  .games {
    width: auto;
    height: 100%;
  }

  .game-card {
    width: 15%;
    height: 60px;
  }
  
  .tier-label-NG {
    font-size: 16px;
  }

  .ranking {
    width: 100%;
    height: auto;
  }

  .game-info{
    opacity: 0;
  }
}

.aboutme h1, h2 {
  padding-top: 10px;
  color: white;
  text-align: center;
}

@media (max-width: 600px) {
  .error404 {
    font-size: 110px;
    max-height: 220px;
  }

  .error {
    font-size: 36px;
  }

  .board {
    justify-content: center;
    align-items: center;
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

.board {
  margin-top: 40px;
  background-color: #222;
  height: 460px;
  width: 1350px;
  border-radius: 9px;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.863)
}

.box {
  height: 430px;
  width: 300px;
  background-color: #333;
  margin: 10px;
  color: white;
  text-align: center;
  border-radius: 5px;
  transition: all 0.5s ease;
  box-shadow: 0 0 15px #111;
}

.box:hover {
  transform: scale(1.06);
}

.box .content {
  color: white;
  text-align: center;
  opacity: 8%;
  transition: all 0.3s ease;
}

.box .content:hover {
  opacity: 80%;
}

.box .content span {
  color:#007bff;
}

.aboutme h1 {
  font-size: 40px;
}

@media screen and (max-width: 600px) {

  .board {
    height: auto;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.750)
  }

  .box {
    height: auto;
    min-height: 300px;
    width: 290px;
    min-width: 290px;
    margin: 8px;
  }

  .box .content {
    opacity: 80%;
  }

  .aboutme h1 {
    font-size: 30px;
  }

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  gap: 10px;
  padding: 8px;
  }

  .ranking {
    display: none;
  }

}

.scroll-container {
  display: flex;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  gap: 10px;
  padding: 10px;
  scrollbar-width: none; 
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.box img {
  border-radius: 12px;
  width: 50%;
  height: 220px;
}

@media (max-width: 600px) {
  
.box img {
  border-radius: 12px;
  width: 100px;
  height: 70px;
  min-height: 70px;
  }
}

.box .content a {
  color: #0066ff;
  opacity: 100%;
}