@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap');
@import url("https://fonts.googleapis.com/css?family=Lato:100,300,400");
@import url("https://fonts.googleapis.com/css?family=Roboto:100");
*{
  margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
}
body{
background-color: #151320;
font-family: 'Poppins',sans-serif;
}
.cards{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
padding: 10px;
grid-gap: 40px;
  flex-wrap: wrap;
  justify-content: space-around;
}
.card{
background-color: #1c1b29;
border-radius: 20px;
box-shadow: 5px 5px 30px rgba(0,0,0,0.18);
transition:all 0.3s ease-in;
  flex-direction: column;
  opacity: 0;
  transform: translateY(25px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover{
  scale:1.03;
  box-shadow: 5px 5px 30px rgba(34,34,34,0.18);
}
.gamescard{
position: relative;
clip-path: polygon(0 0,100% 0, 100% 85%, 0 100%);
flex: 1;
}
.imgcard{
width: 100%;
display: block;
border-radius: 20px 20px 0 0;
}
.gamescard:after{
content: "";
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
border-radius: 20px 20px 0 0;
opacity: 0.7;
}
#details{
padding: 20px 10px;
display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;.
}
#details>h3{
color: #ffffff;
font-weight: 600;
font-size: 24px;
margin: 10px 0 15px 0;
text-shadow: 2px 2px 5px black;
font-family: "Rowdies", sans-serif;
text-align: center;
}
#details>.description{
color: #a0a0a0;
font-size: 15px;
line-height: 30px;
font-weight: 400;
}
.description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.show-more {
  color: blue;
  cursor: pointer;
  display: inline;
}

.full-description {
  display: none;
}
.buttons {
  display: block;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  filter:drop-shadow(0px 0px 17px #007BFF);
}
.hover {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background-color: transparent;
  padding:  40px 0px;
  width: 200px;
  margin: auto;
}
.btnmod {
  letter-spacing: 0.1em;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 45px;
  max-width: 160px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  border-radius: 5px;
}
.btnmod:hover {
  text-decoration: none;
}
.effect01 {
  color: white;
  border: 4px solid #007BFF;
  box-shadow:0px 0px 0px 1px #007BFF inset;
  background-color: #007BFF;
  overflow: hidden;
  position: relative;
  transition: all 0.5s ease-in-out;
  font-weight: bold;
}
.effect01:hover {
  border: 4px solid #02d7ff;
  color: white;
  background-color: #02d7ff;
  box-shadow:0px 0px 0px 4px #02d7ff inset;
  filter:drop-shadow(0px 0px 14px #02d7ff);
}

/*btnmod_text*/
.effect01 span {
  transition: all 0.2s ease-out;
  z-index: 2;
}
.effect01:hover span{
  letter-spacing: 0.13em;
  font-weight: bold;
}

/*highlight*/
.effect01:after {
  background: #007BFF;
  border: 0px solid #007BFF;
  content: "";
  height: 155px;
  left: -75px;
  opacity: .8;
  position: absolute;
  top: -50px;
  -webkit-transform: rotate(35deg);
  transform: rotate(35deg);
  width: 50px;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);/*easeOutCirc*/
  z-index: 1;
}
.effect01:hover:after {
  background: #02d7ff;
  border: 20px solid #02d7ff;
  opacity: 0;
  left: 120%;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
}
.youtube{
  color:white;
  text-shadow: 2px 2px 5px black;
}
.link{
  color:red;
  text-decoration:none;
  font-size:15px;
  transition: 0.5s ease;
  background: white;
  padding: 10px;
  border-radius: 7px;
  border: 2px solid black;
  line-height: 3;
  font-weight: bold;
  text-transform:uppercase;
}
.link:hover{
  text-shadow: 0 0 10px black;
  
}
.Dmods{
  color:white;
  text-shadow: 2px 2px 5px black;
}
@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .buttons{
      display: flex;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .cards {
        grid-template-columns: 1fr;
    }
}
.buttonsforbuttons{
  display: flex;
  justify-content: center;
  align-items: center;
}
