@charset "utf-8";
/* CSS Document */

/*default body*/

body{
	font-family: Arial, "sans-serif";
	background-color: #D3D3D3;
}

/*header elements*/

	 #logo {
      display: flex;
      align-items: center;
    }

    #logo img {
      height: 40px;
      margin-right: 10px;
    }

	   #menu a {
      text-decoration: none;
      color: grey;
      font-size: 16px;
      margin: 0 10px;
      padding: 10px 20px;
      background-color: white;
      border-radius: 20px;
      transition: background-color 0.5s ease;
    }

    #menu a:hover {
      background-color: #D3D3D3;
      color: black;
    }

    #menu a.active {
      background-color: grey;
    }
	
	.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;    
  height: 100%;           
}

button {
  background-color: grey;
  width: 200px;
  height: 50px;
  font-size: 25px;
  border-radius: 25px;
  text-align: center;
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: darkviolet;
  transform: scale(1.1); /* Adds hover effect */
}
	 #search-bar{
      flex: 1;
      display: flex;
      justify-content: flex-start;
      margin-right: 20px;
    }
	
	#search-bar input {
      width: 100%;
      max-width: 300px;
      padding: 8px 12px;
      border-radius: 20px;
      border: 1px solid #ccc;
      outline: none;
    }
	
	#navbar{
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: white;
      padding: 10px 20px;
    }

 .icons {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-right:20px;
    }

    .icons img {
      height: 28px;
      cursor: pointer;
    }

    .icons img:hover {
      opacity: 0.8; 
    }

/*Footer Elements*/

      footer{
        height:450px;
        padding-left:115px;
        padding-top:100px;
        font-size:50px;
        line-height:20px;
      }
      


      figcaption{
      font-size:12px;
      color: black;
      }

 .social-media {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }
   
    .social-media img {
      cursor: pointer;
      transition: transform 0.3s ease;
    }
   
    .social-media img:hover {
      transform: scale(1.1);
    }



.wrapperform{
	bacground-color: white;
}

/*scrolling image gallery*/

 h1{
      text-align:center;
      position:center;
      text-decoration:bold;
      font-size:50px;
      }

    .gallery-container {
      width: 100%;
      overflow: hidden;
      text-align: center;
      border: 2px solid #ccc;
      border-radius: 10px;
      background: #fff;
      height:680px;
      padding-top:40px;
      padding-bottom:40px;
    }


    .gallery {
      display: flex;
      animation: scroll 90s linear infinite;
    }


    .gallery img {
      width: 500px;
      height: 730px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }


    .gallery img:hover {
      transform: scale(1.1);
     
    }


    .gallery-container:hover .gallery{
      animation-play-state: paused;
    }
     
    @keyframes scroll {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-100%);
      }
    }


 /*Gamelibrary Elements*/

  .gamelibrary-container {
	  background-color: #121212;
      max-width: 1750px;
      margin: auto;
      padding: 20px;
	  color: white;
  }

  .section {
      margin-bottom: 40px;
  }

  .section h2 {
      font-size: 24px;
      margin-bottom: 20px;
  }

  .grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 25px;
  }

  .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: filter 0.3s ease;
  }

  .card-content {
      margin-top: 10px;
      padding: 0; 
      text-align: left; 
      width: 100%; 
  }

  .card h3, .card p, .card .price {
      margin-left: 0; 
  }

  .card h3 {
      font-size: 16px;
      margin: 10px 0 5px;
  }

  .card p {
      font-size: 14px;
      color: #bbb;
      margin: 0;
  }

  .card .price {
      font-size: 16px;
      margin-top: 10px;
  }

  .card {
      background-color: #121212;
      border-radius: 10px;
      overflow: hidden;
      text-align: left;
      transition: transform 0.1s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative; 
  }

  .badge-1 {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #121212;
      color: magenta;
      padding: 5px 10px;
      border-radius: 10px;
      font-size: 12px;
      
  }
  
  .badge-2 {
      position: absolute;
      top: 10px;
      right: 10px;
      background: #121212;
      color: cyan;
      padding: 5px 10px;
      border-radius: 10px;
      font-size: 12px;
      
  }

  
  .card .plus-icon {
  display: none; 
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 50px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
		
  .card:hover .plus-icon {
  display: block;
  opacity: 1;
}
