@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
*{
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
}
:root{
  --clr: #222327;
}
#indexbody{
    overflow-x: hidden;
    overflow-y: scroll;
}
#gbody{
    overflow-x: hidden;
    overflow-y: scroll;
}
body{
    overflow:hidden;
  background-color: #222327;
 }
html, body {
    scroll-behavior: smooth;
}
:root {
  --shadow-color: #FF9E9E;
  --shadow-color-light: white;
}
 /* -------------------------------MENU------------------------------------- */
.menu{ 
  width: 100%;
  height: 150px;
  position: absolute;
    top: -15px; 
   right: -15px;
  
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: transparent;
  border-radius: 10px;

}
.menu ul{
  display: flex;
  width: 600px;

}
.menu ul li{
  position: relative;
  list-style: none;
  width: 100px;
  height: 70px;

}
.menu ul li a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  font-weight: 500;
}
.menu ul li a .ikony{
  position: relative;
  display: block;
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
  color: white;

}
.menu ul li:hover a .ikony{
  transform: translateY(-35px);
}
.menu ul li a .napis{
  position: absolute;
  color: white;
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(20px);
  z-index: 1000;
}
.menu ul li:hover a .napis{
opacity: 1;
transform: translateY(10px);
}
.menu ul li.active a .ikony{
  transform: translateY(-35px);
}
.menu ul li.active a .napis{
  opacity: 1;
  transform: translateY(10px);
  }
/* -------------------------------ANIMACJE------------------------------------- */
.glow {
  font-size: 80px;
  color: #fff;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }
  
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}
@-webkit-keyframes glow2 {
    from {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #2708b3, 0 0 20px #2430e0, 0 0 25px #1c40b8, 0 0 30px #3249b1, 0 0 35px #1020ad;
    }
    
    to {
      text-shadow: 0 0 10px #fff, 0 0 15px #4d9aff, 0 0 20px #4d7cff, 0 0 25px #594dff, 0 0 30px #4d9aff, 0 0 35px #4d77ff, 0 0 40px #594dff;
    }
  }
  @keyframes neon {
  0% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
    0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
    0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
  }
  50% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
    0 0 5px var(--shadow-color-light), 0 0 15px var(--shadow-color-light), 0 0 25px var(--shadow-color-light),
    0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 60px var(--shadow-color), 0 0 80px var(--shadow-color), 0 0 110px var(--shadow-color), 0 0 210px var(--shadow-color);
  }
  100% {
    text-shadow: -1px -1px 1px var(--shadow-color-light), -1px 1px 1px var(--shadow-color-light), 1px -1px 1px var(--shadow-color-light), 1px 1px 1px var(--shadow-color-light),
    0 0 3px var(--shadow-color-light), 0 0 10px var(--shadow-color-light), 0 0 20px var(--shadow-color-light),
    0 0 30px var(--shadow-color), 0 0 40px var(--shadow-color), 0 0 50px var(--shadow-color), 0 0 70px var(--shadow-color), 0 0 100px var(--shadow-color), 0 0 200px var(--shadow-color);
  }
}
 /* -------------------------------STRONA GLOWNA------------------------------------- */
 .container{
   position: relative;
   top: 20px;
   left: 21.5%;
   background-color: transparent;
   width: 1100px;
   height: 500px;
   z-index: 0;
    display: flex;
    justify-content: space-between;
 }
h1{
animation: neon 1s infinite linear;
}

 .container2{
    position: relative;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(gryt.jpg);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  z-index: 0;
  
}

 .tytul{
   text-align: center;
   font-size: 80px;
   z-index: 1;
   position: relative;
   color: white;
   top: 0;
   left: -10px;
 }
 .container .card{
    position: relative;
    cursor: pointer;
}

.container .card .face{
    width: 350px;
    height: 200px;
    transition: 0.5s;
}

.container .card .face.face1{
    position: relative;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
}

.container .card:hover .face.face1{
    background: #ff0057;
    transform: translateY(0);
}

.container .card .face.face1 .content{
    opacity: 0.2;
    transition: 0.5s;
}

.container .card:hover .face.face1 .content{
    opacity: 1;
}

.container .card .face.face1 .content img{
    max-width: 100px;
}

.container .card .face.face1 .content h2{
    margin: 10px 0 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
}

.container .card .face.face2{
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transform: translateY(-100px);
}

.container .card:hover .face.face2{
    transform: translateY(0);
}

.container .card .face.face2 .content p{
    margin: 0;
    padding: 0;
    color: black;
    font-size: 20px;
}

.container .card .face.face2 .content a{
    margin: 15px 0 0;
    display:  inline-block;
    text-decoration: none;
    font-weight: 900;
    color: #333;
    padding: 5px;
    border: 1px solid #333;
}

.container .card .face.face2 .content a:hover{
    background: #333;
    color: #fff;
}
.checked {
    color: rgb(221, 221, 23);
  }
  /* --------------------------------KONTAKT------------------------------------ */
 .napisz{
    text-align: center;
    position: absolute;
    top: 25%;
    right: 200px;  
    background-color: transparent;
    color: white;
    width: 350px;
    height: auto;
    transform: rotate(25deg);
 }
 .napisz a:link{
     color: white;
    
 }
 .napisz a{
    position: relative;
    top: -240px;
    font-size: 20px;
   text-decoration: none;
   color: red;
 }
 .napisz h2{
     position: relative;
     top: 230px;
    
 }
 .napisz a:hover {
  color: #fff;
  text-align: center;
  animation: glow 1s ease-in-out infinite alternate;
}

  

  /* -------------------------------ZADANIA------------------------------------- */
 .zcontainer{
    position: relative;
    top: 0%;
    
    background-color: transparent;
    width: 800px;
    height: 500px;
    z-index: 1;
    
  }
.zad{
    background-color: cornflowerblue;
    border: 2px solid black;
    border-radius: 10px;
    width: 350px;
    height: auto;
min-height: 350px;

}
.html{
    top: 0;
    float: right;
    font-size: 40px;
}
.zad h2{
      font-size: 40px;
      text-align: center;
  }
 /* -------------------------------BUTTONY------------------------------------- */
.wrapper{
    position: relative;
    top: 50px;
    left: 242px;
    transform: translate(-50%, -50%);
  }
  
  .wrapper a{
    display: block;
    width: 200px;
    height: auto;
    line-height: 40px;
    font-size: 18px;
    font-family: sans-serif;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    transition: all .35s;
padding: 10px;
  }
  
  a span{
    position: relative;
    z-index: 2;
  }
  
  .wrapper a:after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #ff003b;
    transition: all .35s;

  }
  
  
  a:hover{
    color: #fff;
  }
  
  a:hover:after{
    width: 100%;
  }
   /* -------------------------------KOLEDZY------------------------------------- */
  #kol{
    font-size: 1.2vw;
    text-align: center;
    position: absolute;
    top: 20%;
    right: 40vw;  
    background-color: rgb(148, 24, 148);
    border: 2px solid black;
    border-radius: 10px;
    width: 350px;
    height: auto;
    opacity: 0.9;
}
.kol{
    list-style: none;
    position: relative;
    left: 35px;
    font-weight: 400;
    font-size: 30px;
    
     
}
.kolstyl{
    color: rgb(0, 0, 0);
    text-decoration: none;
    position: relative;
    right: 2vw;
}
.kol:hover .kolstyl:hover{
    font-size: 40px;
    font-weight: 600;
    transition: 0.3s;
    color: #fff;
    text-align: center;
    animation: glow2 1s ease-in-out infinite alternate;
}
#kol h2{
    font-size: 35px;
    font-weight:900;
}
/* -------------------------STRZALKA------------------------------ */
@-webkit-keyframes downarrow {
    0% { -webkit-transform: translateY(0); opacity: 0.4 }
    100% { -webkit-transform: translateY(0.4em); opacity: 0.9 }
  }

  .arrow {
    border-color:transparent;
    border-style:solid;
    border-width:0 2em;
    display:block;
    height:0;
    margin:10em auto;
    opacity:0.4;
    text-indent:-9999px;
    transform-origin: 50% 50%;
    width:0;
    
  }

  .down {
    -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
    border-top:2em solid #00b6f1;
  }
  .napisz .arrow {
      position: relative;
    top: -130px;
    font-size: 15px;
  }

/* -------------------------------ZDJECIA----------------------------------- */

  #a:active{
      display: none;
  }
  #b:active{
      visibility: hidden;
  }
  #c:hover{
      position: relative;
  }	
  .gcontainer{
      height: auto;
      position: relative;
      top: 100px;
  }

.aska{
     transform: rotate(-35deg);
  z-index: -1;

  top: -10px;


}
.aspi{
    transform: rotate(-10deg);
    z-index: 1;
    position: relative;
    left: -130px;
top: -20px;

}
.aski{
    transform: rotate(15deg);
    z-index: 0;
 position: relative;
    left: -220px;


}
.askt{
    transform: rotate(35deg);
z-index: -2;
top: 30px;
   position: relative;
    left: -340px;
  
}
.asdiv{
   position: relative;
   left: 300px;
  display: flex;
  flex-wrap: wrap; 
  width: 1000px;
  z-index: 1;
    height: auto;
}
.zdjeciagal{
    position: relative;
   left: 180px;
  display: flex;
  flex-wrap: wrap; 
  width: 1000px;
  z-index: 1;
    height: auto;
    padding: 5px;
}
/* ---------------------------GRY------------------------------ */
.gamescontainer{
width:1500px;
height: auto;
position: absolute;
top: 700px;
display: flex;
flex-wrap: wrap; 
}


.gra1{
font-size: 1.2vw;
    text-align: center;
 
   
   
    width: 350px;
    height: auto;
    opacity: 0.9;
    position: relative;
    top: -270px;
    left: -50px;
    
}
.gra2{
    font-size: 1.2vw;
    text-align: center;
    
    
    
    width: 350px;
    height: auto;
    opacity: 0.9;
    position: relative;
    left: 150px;
    top: -223px;
}
.gra3{
    font-size: 1.2vw;
    text-align: center;
    
    
    
    width: 350px;
    height: auto;
    opacity: 0.9;
    position: relative;
    left: 350px;
    top: -223px;
}
.gamescontainer h1{
    font-size: 60px;
    color: white;
    text-align: center;
    position: relative;
    top: -500px;
}
.gamescontainer h2{
    font-size: 40px;
    color: white;
    text-align: center;
    position: relative;
    top: -100px;
    left: 50px;
}


/* -----------------------------------------RAMKI Z GRAMI--------------------------------------------- */
.gra1 .gra1ob{
    visibility: hidden;
    position: relative;
    top:-1000px;
    transition: 0.5s;
    width: 500px;
    height: 500px;
}
.gra1:hover .gra1ob{
    width: 500px;
    height: 500px;
    background-color: gray;
    opacity: 0.3;
    visibility: visible;
    opacity: 0.8;
    position: relative;
    top: -505px;
    transition: 0.5s;
    cursor:default;
    font-size: 30px;
}
  

.gra1:hover img{
    opacity: 0.7;
    cursor:default;
}

.gra1:hover h2{
    cursor:default;
}


.gra2 .gra2ob{
    visibility: hidden;
    position: relative;
    top: -1000px;
    transition: 0.5s;
    width: 500px;
    height: 500px;
}
.gra2:hover .gra2ob{
    width: 500px;
    height: 500px;
    background-color: gray;
    opacity: 0.3;
    visibility: visible;
    opacity: 0.8;
    position: relative;
    top: -505px;
    transition: 0.5s;
    cursor:default;
    font-size: 30px;

    
    
    
}
  

.gra2:hover img{
    opacity: 0.7;
    cursor:default;
}

.gra2:hover h2{
    cursor:default;
}

.gra3 .gra3ob{
    visibility: hidden;
    position: relative;
    top: -1000px;
    transition: 0.5s;
    width: 500px;
    height: 500px;
}
.gra3:hover .gra3ob{
    width: 500px;
    height: 500px;
    background-color: gray;
    opacity: 0.3;
    visibility: visible;
    opacity: 0.8;
    position: relative;
    top: -505px;
    transition: 0.5s;
    cursor:default;
    font-size: 30px;

    
}
  

.gra3:hover img{
    opacity: 0.7;
    cursor:default;
}

.gra3:hover h2{
    cursor:default;
}