jatek-gep / css / ablak / cssjatek.css
cssjatek.css
Raw
.kartya {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
    
    
  }
  
  .kartya-i {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    
    border-radius: 10px;
    
  }
  
  .kartya:hover .kartya-i {
    transition: 1s;
    transform: rotateY(180deg);
  }
  
  .kartya-elol, .kartya-hatul {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .kartya-elol {
    background-color: black;
    color: red;
    box-shadow: 0 0 10px #660000, 
    0 0 40px #660000,
    0 0 80px black;
    width: 100%;
    height: 100%;
  }
  
  .kartya-hatul {
    background-color: #333;
    color: #ff4141;
   
    transform: rotateY(180deg);
    background-image: url(../../php/kep.php?id=5);
    background-repeat: no-repeat;
    background-size: contain;

    width: 100%;
    height: 100%;

    box-shadow: 0 0 10px red, 
    0 0 40px red,
    0 0 80px red;
  }

  .kartya-elol img{
    width:100%;
    height:100%;
    
    
  }





  .neon_button{
    top:10%;
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #842525;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 90%;
    overflow: hidden;
    transition: 0.2s;
    background-color: #222;
    box-shadow: 0 0 10px black, 
    0 0 40px black;
}

.neon_button:hover{
    color: #ffc041;;
    background: #f32121;
    box-shadow: 0 0 10px #f32121, 
    0 0 40px #f32121,
    0 0 80px #f32121;
    
}

.nb_activ, .neon_button:active{
    color: #842525;
    background: #f32121;
    box-shadow: 0 0 10px #f32121, 
    0 0 40px #f32121,
    0 0 80px #f32121;
    
    color: #fff;
}

.kartya-elol p{
    display: inline-block;
    width: 95%;
    height: 10%;
    color: #ffc041;
    background-color: rgba(102, 0, 0,0.9);
    position:relative;
    bottom: 50px;
    border-radius: 10px;
}

.kartya-hatul a{
    margin-top: 10px;
   
    
}


.play_button
{
    
    
    padding: 25px 50px;
    color: #ffc041;
    
    font-size: 150%;
    
    background-color: rgba(102, 0, 0,1);
    border-radius: 15px;
    
}



.jatekok_list{
    
    position: absolute;
    left:0;
    padding: 5% 0;
    width: 100%;
    display: flex;
   
    overflow: hidden;
    margin-top: 15%;
}


.jatekok_list .list{
  display: flex;
  animation: list_animate 40s linear infinite;
  animation-delay: -40s;
}

.jatekok_list .list:nth-child(2){
  animation: list_animate2 40s linear infinite;
  animation-delay: -20s;
}

.jatekok_list:hover .list,
.jatekok_list:hover .list:nth-child(2){
  animation-play-state: paused;
}

@keyframes list_animate {
  0%{
    transform: translateX(100%);
  }
  100%{
    transform: translateX(-100%);
  }
}

@keyframes list_animate2 {
  0%{
    transform: translateX(0%);
  }
  100%{
    transform: translateX(-200%);
  }
}



.jatekok_list .list .kartya
{
    margin: 0 25px;
    max-width: 300px;
    border: 10px solid transparent;
    transition: 0.25s;
}

.jatekok_list:hover .list .kartya{
  opacity: 0.05;
  filter: blur(5px);
}

.jatekok_list:hover .list .kartya:hover{
  opacity: 1;
  filter: blur(0px);
 
  
}

body
{
  overflow-X: hidden;
  background-color: black;
  
}

@media only screen  and (max-height:500px) {
 
  .kartya {
    
    width: 200px;
    height: 200px;
   
  }

  .play_button
  {
    padding: 12px 25px;
    font-size: 100%;

  }

  .neon_button{
    padding: 7px 15px;
    font-size: 60%;
  }

  .jatekok_list{
    margin-top: 7%;
  }

 }