/* home.css */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}


/* hero section */
.hero {
    position: relative;
    text-align: center;
    color: white;
    height: 400px;
    background: url('Images/Headers/Homepage.png')no-repeat center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 36px;
    margin: 0;
}

.hero h4 {
    font-size: 20px;
    margin: 10px 0;
}

.hero .button {
    padding: 10px 20px;
    background: linear-gradient(to right, rgb(255, 243, 192), rgb(255, 162, 225));
    border: none;
    text-decoration: none;
    color: black;
    font-weight: bold;
    border-radius: 5px;
}

h2 {
    color: black;
    text-align: center;
}

  /* welcome to roblox page */
  .roblox-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 50px;
    background: #ffffff; 
}

.roblox-text {
    flex: 1;
    padding-left:1%;
}

.roblox-image img {
    max-width: 400px;
    height: auto;
}
 
 /*tap games for you*/

/*button */
 .see-more-btn {
    text-align: left;
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(to right, rgb(255, 243, 192), rgb(255, 162, 225));
    border: none;
    color: black;
    cursor: pointer;
    border-radius: 5px;
}

  .row:after {
    content: "";
    display: table;
    clear: both;
  }


  /*title */
  .top-games-title {
    color: rgb(255, 255, 255);
    text-align: left;
    font-size: 24px;
    background: black;
    padding-left:4%;
}

/*game grid */
  .game-grid {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 20px;
    background: black;
}
h2{
    color: rgb(0, 0, 0);
    text-align: left;
    
}


.game-item {
 padding-top: 0%;
    padding: 20px;
    border-radius: 10px;
}

.game-item img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.game-item p {
    color: white;
    text-align: center;
    font-size: 17px;
}

/* footer */
footer {
    background: linear-gradient(to right, rgb(255, 243, 192), rgb(255, 162, 225));
    text-align: center;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero h4 {
        font-size: 16px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
