/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fffb00;
    background-image: url('images/logo.png'); /* Replace with your image path */
    background-size: cover; /* Makes the image cover the entire viewport */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the background fixed during scrolling */
    color: #333;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

/* Grid Styling */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: scale(1.05);
}

/* Image Styling */
.team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 5px solid #ff6347;
}

/* Name Styling */
.team-name {
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    background-color: #22ac00;
    color: white;
    border-radius: 0 0 10px 10px;
}

/* Responsive Styling */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .team-name {
        font-size: 1.1rem;
    }
}
/* Back Button Styling */
.back-button {
    padding: 10px 20px;
    background-color: #ff6347;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    display: inline-block;
}

.back-button:hover {
    background-color: #e5533f;
}

.back-button:focus {
    outline: none;
}
