/* Reset some basic elements */
body, h1, h2, h3, h4, h5, h6, p, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/* Set very dark theme background and text colors */
body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #0e0e0e; /* Darker background */
    border-bottom: 2px solid #ff6347;
    animation: fadeIn 1s ease-in-out;
    position: sticky;
    left: 0%;
    top: 0%;
    z-index: 10;
}

/* Logo styling */
.logo {
    font-size: 24px;
    font-weight: bold;
    animation: logoBounce 2s infinite;
}

/* Navigation menu styling */
.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #ffffff;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff6347;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.nav-menu a:hover::before {
    visibility: visible;
    width: 100%;
}

.nav-menu a:hover {
    color: #ff6347;
}

/* Sign-in buttons styling */
.signin-btns {
    display: flex;
    gap: 20px;
}

.signin-btn, .signup-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.signin-btn {
    background-color: #444;
    color: #fff;
}

.signin-btn:hover {
    background-color: #555;
    transform: scale(1.1);
}

.signup-btn {
    background-color: #ff6347;
    color: #fff;
}

.signup-btn:hover {
    background-color: #ff4500;
    transform: scale(1.1);
}

/* Hero section styling */
#hero {
    height: 100vh;
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: center;
    background-image: url('game.jpg'); /* Replace with your hero background image */
    background-size: cover;
    background-position: center;
    text-align: left; /* Align text to the left */
    position: relative;
    padding-left: 8rem /* Left padding for hero section */
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
    letter-spacing: 2px;
}

#hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: slideIn 1s ease-out;
}

.hero-btn {
    padding: 12px 30px;
    border: 2px solid #ff6347;
    border-radius: 5px;
    color: #ff6347;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.hero-btn:hover {
    background-color: #ff6347;
    color: #ffffff;
}

/* About section styling */
#about {
    padding: 10px 20px;
    background-color: #000000; /* Very dark background */
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px; /* Add padding for better readability */
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    padding-left: 50px; /* Adjust spacing between image and text */
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff; /* White text */
    margin-bottom: 20px;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes logoBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Game cards section styling */
#game_cards h2 {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
}
#game_cards {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    background-color: #0a0a0a;
}
.game-cards {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap; 
    background-color: #0a0a0a;
}

/* Game card styling */
.game-card {
    width: 300px;
    height: 400px;
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    border: 2px solid rgb(0, 240, 240);
}

.game-card:hover {
    box-shadow: 0px 8px 20px rgba(36, 255, 240, 0.46), 0px -8px 20px rgba(36, 255, 240, 0.477);
    transform: scale(1.01);
}

/* Game card image styling */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}

.game-card:hover::before {
    opacity: 0.7;
}

/* Game info styling */
.game-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: left;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.game-card:hover .game-info {
    opacity: 1;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.game-info p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.play-btn {
    background-color: #ff6347;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.play-btn:hover {
    background-color: #ff4500;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
}

#contact {
    padding: 50px 0;
    background-color: #000000; /* Very dark background */
    text-align: center;
}

.contact-content {
    margin: 0 auto;
    padding: 0 20px; /* Add padding for better readability */
}

.contact-heading {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.contact-details {
    max-width: 300px; /* Adjust as needed */
    text-align: left;
}

.contact-details h3 {
    font-size: 24px;
    color: #ff6347;
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Form styling */
form {
    max-width: 400px; /* Adjust form width */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
}

.submit-btn {
    padding: 12px 30px;
    border: 2px solid #ff6347;
    border-radius: 5px;
    color: #ff6347;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    align-self: flex-end;
}

.submit-btn:hover {
    background-color: #ff6347;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.7);
}



/* Footer styling */
footer {
    background-color: #1b1b1b;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6347;
}

html{
    scroll-behavior: smooth;
}