/* Add this to the existing style.css */

/* Common styles for both desktop and mobile */
body {
    margin: 0;
    padding: 0;
    /*overflow: hidden;*/
    background: url('../img/background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: "brothers", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
}

.card-body {
    color: #a38d47;
}

..navbar {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    position: fixed;
    width: 100%;
    top: 0;
    text-align: center;
    z-index: 10; /* Increased z-index to ensure the navbar stays on top */
}

.navbar a {
    font-family: "brothers", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-decoration: none;
    padding: 15px;
    margin: 0 10px;
    font-size: 18px;
}

.navbar a:hover,
.navbar a.selected {
    color: #c6b358;
}

.navbar a.selected,
.navbar a.selected:hover {
    color: #c6b358;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.content img {
    max-width: 75%;
    max-height: 75%;
}

/* Players section styles */
.player-card {
            background-color: #000000;
            color: #ffffff;
            width: 350px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .player-photo {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-bottom: 2px solid #a38d47;
            position: relative;
        }

        .player-number {
            background-color: #a38d47;
            color: #ffffff;
            font-size: 50px;
            font-weight: bold;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: 10px; /* Keeps the number in place */
            left: 10px; /* Keeps the number in place */
            z-index: 1; /* Lower z-index to keep the player number behind the navbar */
        }

        .player-info {
            padding: 20px 10px;
            position: relative;
            z-index: 1;
        }

        .player-name {
            font-size: 20px;
            margin: 5px 0;
            color: #a38d47;
        }

        .player-position {
            font-size: 14px;
            margin: 0;
            color: #ffffff;
            font-style: italic;
        }


/* Media Query for Mobile Devices */
@media only screen and (max-width: 600px) {
    .navbar a {
        font-size: 16px; /* Adjust the font size for mobile devices */
    }
    
    .fc-list-event-time,
    .fc-event-time,
    .fc-event-location{
        color:#000000;
    }
    
    .fc .fc-toolbar-title {
        font-size: 1em;
        margin: 0px;
    }
    
    .content {
        width: 100%;
    }

    .player-card {
        width: 100%; /* Make player cards take full width on small screens */
        margin-bottom: 20px; /* Add spacing between player cards */
    }

    .player-photo {
        height: auto; /* Adjust the height for mobile */
    }

    .player-number {
        width: 60px;
        height: 60px;
        font-size: 30px; /* Scale down the number */
        top: 5px; /* Adjust positioning */
        left: 5px; /* Adjust positioning */
    }

    .player-name {
        font-size: 18px; /* Slightly smaller font size */
    }

    .player-position {
        font-size: 12px; /* Smaller font size for position */
    }
}


/* Calendar */
.fc .fc-toolbar-title, 
.fc .fc-daygrid-day-top, 
.fc .fc-daygrid-day,
.fc .fc-col-header-cell-cushion,
.fc .fc-list-empty-cushion{ 
    color: #a38d47; 
}
.fc .fc-daygrid-day-frame {
    background-color: #f9f9f9;
}

.fc .fc-daygrid-event .fc-event-title,
.fc-event-title, .fc-event-time 
.fc .fc-daygrid-day-number{
    color:#000000;
}

.fc .fc-view-harness {
    flex-grow: 1;
    position: relative;
    background-color: #ffffff;
}

.fc-event-title-container {
            display: flex;
            flex-direction: column;
            justify-content: space-between; /* Distributes content evenly within the square */
            align-items: center; /* Centers content horizontally */
            height: 100%; /* Ensures the content uses the full height of the event square */
            padding: 4px; /* Adds some padding for better spacing */
            overflow: hidden; /* Prevents overflow */
            white-space: normal; /* Allows text wrapping */
            text-overflow: ellipsis; /* Adds ellipsis for long text */
            font-size: 12px; /* Base font size */
            line-height: 1.2; /* Adjust line height for tighter spacing */
            text-align: center; /* Centers text inside the div */
        }

        .fc-event-title {
            font-size: 14px; /* Larger font size for title */
            font-weight: bold; /* Makes the title stand out */
            margin-bottom: 4px; /* Adds some spacing below the title */
        }

        .fc-event-time, .fc-event-location {
            font-size: 13px; /* Larger font size for time and location */
        }

        .fc-event-rsvp {
            margin-top: 6px; /* Adds margin above the RSVP button */
            font-size: 12px; /* Size for the RSVP button */
            padding: 2px 6px; /* Padding for the button */
        }