﻿/* Reset some default browser styles for consistency */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Set the body to occupy at least the full viewport height */
}

/* Header styles */
header {
    background: linear-gradient(to bottom, #996799, #5c2d5c);
    padding: 40px 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 15px 15px;
}

    header h1 {
        font-size: 48px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    .grid-container {
        display: grid;
      }
    .thunder {
        font-family: "Squeler", sans-serif;
        font-size: 48px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
/* Add a new style for the card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(6, 2fr); /* Adjust the number of columns based on the number of cards per suit */
    grid-gap: 10px; /* Add some spacing between cards */
    margin: 20px auto;
}


/* Add a new style for the card grid */
.thunder-grid {
    display: grid;
    grid-template-columns: repeat(5, 2fr); /* Adjust the number of columns based on the number of cards per suit */
    grid-gap: 10px; /* Add some spacing between cards */
    margin: 20px auto;
}
.player{
    width: 240px;
    height: 150px;
    background-size: cover;
    border-radius: 10px;
    opacity: 0.9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add styles for each suit */
.card {
    width: 200px;
    height: 200px;
    background-size: cover;
    border-radius: 10px;
    opacity: 0.9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.spades {
    background-image: url('../images/spades.png');
}

.diamonds {
    background-image: url('../images/diamonds.png');
}

.clubs {
    background-image: url('../images/clubs.png');
}

.hearts {
    background-image: url('../images/hearts.png');
}
/* Navigation styles */
nav {
    background-color: #5c2d5c;
    padding: 10px;
    text-align: center;
}

    nav ul {
        list-style: none;
    }

    nav li {
        display: inline-block;
        margin-right: 20px;
    }

    nav a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
    }

        nav a:hover {
            text-decoration: underline;
        }

/* Main content styles */
.container {
    flex: 1; /* Let the container take up the remaining vertical space */
    margin: 0 5% 0 5%;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 15px;
}

    .container h2 {
        font-size: 32px;
        color: #000000;
        margin-bottom: 15px;
    }

    .container p {
        font-size: 18px;
        line-height: 1.8;
    }

/* Grid layout for buttons */
.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Creates 3 equally sized columns */
    grid-gap: 20px; /* Add some spacing between the buttons */
}

.grid-button {
    background: linear-gradient(to bottom, #3498db, #2980b9);
    color: #fff;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

    .grid-button:hover {
        background: linear-gradient(to bottom, #2980b9, #2471a3);
        transform: scale(1.05);
    }

/* Footer styles */
footer {
    background: linear-gradient(to bottom, #996799, #5c2d5c);
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    margin-top: auto; /* Push the footer to the bottom of the screen */
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 36px;
    }

    nav li {
        display: block;
        margin-bottom: 10px;
    }
    /* Adjust the grid layout for smaller screens */
    .grid {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
    }
    


}
