.card-wrapper {
    display: flex;          /* Arrange children (cards) in a row */
    flex-wrap: wrap;        /* Allow cards to move to next line if screen is narrow */
    gap: 0px;              /* Adds space between the cards */
    justify-content: start; /* Aligns cards to the left */
    padding: 5px;
    background-image: url("../background/coast.jpg");
    /*min-height: 600px;*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 95%;
    margin-bottom: 20px;
    border-bottom: 0px solid #555;
    border-radius: 15px;
    margin-left: 20px;
    /* box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.5); */
    /*box-shadow: 5px 6px 6px rgba(0, 0, 0, 0.5);*/
    position: relative;
    font-family: Arial, sans-serif;

}

.pop-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(43, 52, 94, 0.8);
    font-size: 18pt;
    padding: 10px;
    border-radius: 10px;
    color: white;
    z-index: 1;
    width: 150px;
    text-align: center;
    box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.5);

}
.card-wrapper2 {
    display: block;          /* Arrange children (cards) in a row */
    /*flex-wrap: wrap;        /* Allow cards to move to next line if screen is narrow */
    gap: 0px;              /* Adds space between the cards */
    justify-content: start; /* Aligns cards to the left */
    padding: 5px;
    background-image: url("../background/coast.jpg");
    /*min-height: 600px;*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    width: 75%;
    margin-bottom: 20px;
    border-bottom: 0px solid #555;
    border-radius: 15px;
    margin-left: 20px;
    /* box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.5); */
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.3);

}

.id-card {
    display: flex; /* Aligns children side-by-side */
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);          /* optional, modern glass effect */
    -webkit-backdrop-filter: blur(6px);  /* Safari support */
   /* background-color: #fff; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 20px;
    overflow: hidden; /* Keeps border radius applied to the image */
    border: 1px solid #ddd;
    flex: 0 1 400px;
}

.photo-container {
    flex-basis: 35%; /* The photo takes up about 35% of the card width */
    padding: 10px;
    background-color: #f0f0f0;

}

.profile-pic {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; /* Optional: adds a slight curve to the photo */
}

.details-container {
    flex-basis: 65%; /* The details take the remaining 65% */
    padding: 15px 20px;
    /*background-color: rgba(255, 255, 255, 0.3);  */
    background-color: transparent;
}

/* Optional Styling for aesthetics */
.player-name {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

.role {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.stat-item strong {
    display: block;
    color: #444;
}

.stats {
    display: flex;
    justify-content: space-between;

}

.skill-box {
    font-family:
        Arial,
        sans serif;
    background-color: rgba(240, 240, 240, 1);
    /*width: 90vw;*/
    width: 90%;
    color: black;
    display: flex;
    flex-wrap: wrap;
    /*	flex-direction: row; */
    justify-content: flex-start;
    align-items: center;
    box-shadow: 5px 6px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    border-bottom: 0px solid #555;
    border-radius: 15px;
    padding: 5px 40px;
    min-width: 0;
    flex: none;
    justify-self: stretch;
}
