
td{
    text-align: center;
}


.player-card {
    background-color: #f2f2f2;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 10px #bebebe, -1px -1px 10px #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 10px #bebebe, 
                -5px -5px 10px #ffffff;
}
.player-info {
    flex: 1;
    padding-left: 20px;

}

.player-header{
    flex: 1;
    display: flex;
    align-items: center;
    margin: 3px;
}
.player-details{
    flex: 1;
    align-items: center;
}
.player-name {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    align-items: center;
}
.player-country-flag {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}
.player-country {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;

}
.player-stats {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 10px;
}
.stat-item {
/*     background-image:url("https://img.freepik.com/free-vector/dark-wavy-colors-background_23-2148403785.jpg"); */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 1px 3px 1px #035152;
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: scale(1.05);
    box-shadow: -1px -1px 2px #035152;
}
.stat-label {
    font-size: 18px;
    color: #035152;
}
.stat-value {
    color: #035152;
    font-size: 17px;
    font-weight: bold;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}
.player-image {
    width: 200px;
    height: 200px;
    border-radius: 7%;
      margin: inherit;
    object-fit: cover;
    box-shadow: 1px 1px 1px #bebebe, -1px -1px 1px #ffffff;
}

#teamsPlayedFor {
    padding: 12px;
    margin: 20px 0;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 1px 1px 1px #bebebe, -1px -1px 1px #ffffff;
}


@media only screen and (max-width: 1200px) {
  .player-name {
    font-size: 28px; /* Adjusted for desktop */
  }
  .player-image {
  width: 150px;
  height: 150px;
  }
  .player-country {
  font-size: 20px;
  }
  
  
  
  .stat-label {
    font-size: 17px;
}
.stat-value {
    font-size: 17px;
}

}

.team-logo {
  width: 30px;
  height: 30px;
}


table {
            font-weight:bold;
            width: 100%;
            border-collapse: collapse;
            margin-top: 0px;
            background-size: 100%;
            border-radius: 10px;
            overflow: hidden;
        }

        th, td {
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        th {
            background-color: #e0e0e0;
            color: #000;
            font-weight: bold;
        }

        tr:nth-child(even) {
            background-size: 100%;
        }
        
        tr:nth-child(odd) {
            background-size: 100%;
        }
