body{
  background-image: url(banner.png);
  background-attachment: fixed;
}

.main{
  height: fit-content;
  text-align: center;
  padding: 50px;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  display:grid;
  grid-template-columns: 1fr 0.5fr; 
  max-height: 350px; 
  padding-right:0px;
  
  .game-container{
  	display: grid;
    justify-content: right;
  }
  
  @media (max-width: 850px) { 
    max-height: fit-content;
    padding: 30px;
    grid-template-columns: 1fr; 
    
    .game-container{
      display: none;
    }
  } 
  
  .texts{
    align-content: center;
    margin-top: -50px;
    justify-items: center;
    
    @media (max-width: 850px) { 
      margin-top: 0;
    }
  }
  
  .logos-banner{
    justify-items: right;
    margin-right: -30px;
    margin-top: 30px;
  }
  
  .game{
    height: 450px;
    text-align: right;
    margin-top: -50px;
  }
  
  .game-mobile{
    display: none;
    
    @media (max-width: 850px) { 
      display: block;
      margin-bottom: -30px;
      height: 140px;
    }
  }
  
  h1{
    color: var(--color-blue);
    font-size: 50px;
    font-weight: normal;
    background-color: var(--color-black);
    width: fit-content;
    
    @media (max-width: 768px) {
       font-size: 40px;
    }
  }
  
  h2{
    color: var(--color-yellow);
    font-weight: normal;
    font-size: 25px;
    background-color: var(--color-black);
    width: fit-content;
    
    @media (max-width: 768px) {
       font-size: 20px;
    }
  }
}

.content{
  height: fit-content;
  text-align: center;
  padding: 50px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  @media (max-width: 768px) { 
    padding: 25px;
  }
  
  @media (min-width: 1500px) { 
    max-width: 1500px;
    margin: 0 auto;
  }
  
  div.section {
    height: 15vh;
  }
  
  div.section3 {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
  }

  .horizontal > section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    justify-content: center;
    //width: 100%;
    flex-shrink: 0;
    
     @media (max-width: 500px) { 
      width: 100%;
    }
  }
  
  .comic-img {
    height: 440px;
    width: auto;
    
    @media (max-width: 500px) { 
      width: 325px;
      height: auto;
    }
    
    @media (min-width: 501px) and (max-width: 1090px) { 
      width: 400px;
      height: auto;
    }
  }
  
  .margin-img{
    margin-right:8px;
    
     @media (max-width: 1090px) { 
        margin-right:4px;
     }
  }
  
  .story{
    text-align: justify;
    margin: 50px 40px 50px 40px;
    
    p{
      color: var(--color-blue-clear);
      background-color: var(--color-black);
    }
    
    @media (max-width: 768px){
      margin: 20px 0px 20px 0px;
    }
  }
  
  .cards{
    display:grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px;
    justify-items: center; 
    cursor: pointer;
    
    @media (max-width: 768px) { 
      grid-template-columns: 1fr; 
      gap: 50px;
    }
    
    @media (min-width: 769px) and (max-width: 1200px) { 
      gap: 0;
    }
  }
  
  .card {
    width: 350px;
    height: 450px;
    perspective: 1000px;
      
    @media (max-width: 768px) { 
      width: 325px;
      height: 425px;
    }
    
    @media (min-width: 769px) and (max-width: 900px) { 
      width: 200px;
      height: 300px;
    }
    
    @media (min-width: 901px) and (max-width: 1099px) { 
      width: 250px;
      height: 350px;
    }
    
    @media (min-width: 1100px) and (max-width: 1200px) { 
      width: 300px;
      height: 400px;
    }
  }

  .card-inner1, .card-inner2, .card-inner3 {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
  }
  
  .card-text{
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 25px;
	margin: 0;
  }

  .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    top: 0;
    left: 0;
  }

  .face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  
   .front {
    transform: rotateY(0deg);
    z-index: 2;
  }

  .back {
    img{
      width: auto;
      height: 100%;
    }
    transform: rotateY(180deg);
  }
  
  .cards,
  .cards * {
  	-webkit-tap-highlight-color: transparent; 
  	-webkit-touch-callout: none;           
  	user-select: none;                       
  }

  .card {
   	cursor: pointer;
  	outline: none;
  	touch-action: manipulation;
  }
}