 body {
	margin: 0;
    background-image: url('../assets/images/field2.jpg'); /* Replace with your image URL */
    background-size: cover; /* Makes sure the image covers the entire screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: flex;
    flex-direction: column; /* Stack title and player card vertically */
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
	font-family: 'Poppins', sans-serif;
}


/* For the container that holds the player card */
.card-container {
    
    flex-direction: column; /* Stack the title and player card vertically */
    justify-content: center; /* Centers the player card horizontally */
    align-items: center; /* Centers the player card vertically */
     /* Makes the container take the full height of the viewport */
    gap: 20px; /* Adds space between the title and the card */
}

.player-card {
    position: relative;
    width: 500px; 
    height: 707px;
    background: url('../assets/images/hero-24.avif') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 45px;
}

.team-logo {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 62px;
    left: 102px;
    background-size: cover;
}

.team {
    position: absolute;
    top: 160px;
    left: 118px;
    font-size: 25px;
    color: #f8b500;
    font-weight: 700;
	font-family: 'Poppins', sans-serif;
}

.shirt {
    position: absolute;
    top: 214px;
    left: 118px;
    font-size: 35px;
    color: #f8b500;
    font-weight: 700;
	font-family: 'Poppins', sans-serif;
}

.player-image {
    position: absolute;
    top: 36%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    overflow: hidden;
}

.player-image img {
    width: 95%;
    height: 95%;
    object-fit: cover;
	margin-top:-10px;
	margin-left:0px;
}

.ovr-rating-dash {
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: gold;
    margin: 0 auto;
    top: 200px;
	left: 114px;
	font-family: 'Poppins', sans-serif;
}

.player-name {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #f8b500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
	font-family: 'Poppins', sans-serif;
}

.player-stats {
    width: 75%;
    text-align: center;
    margin-top: 435px;
    font-size: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns per row */
    row-gap: 7px;  /* Increase row gap to separate rows */
    column-gap: 12px;  /* Increase column gap to separate columns */
    margin-left: 115px;
	font-family: 'Poppins', sans-serif;
}

.stat {
    display: flex;  /* Align items horizontally */
    justify-content: flex-start;  /* Align to the left (start of the container) */
    align-items: center;  /* Center vertically */
    color: #fff;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f8b500;
    margin-right: 10px; /* Add space between value and label */
}

.stat-label {
    font-size: 1.2rem;
    color: #fff;
}



.flagHU {
    width: 45px;
    height: 30px;
    position: absolute;
    top: 295px;
    left: 115px;
    background-image: url(https://flagcdn.com/w320/hu.png);
    background-size: cover;
    border: 1px solid #000;
	border-radius:6px;
}
.flagFR {
    width: 45px;
    height: 30px;
    position: absolute;
    top: 295px;
    left: 115px;
    background-image: url(https://flagcdn.com/w320/fr.png);
    background-size: cover;
    border: 1px solid #000;
	border-radius:6px;
}
.flagBR {
    width: 45px;
    height: 30px;
    position: absolute;
    top: 295px;
    left: 115px;
    background-image: url(https://flagcdn.com/w320/br.png);
    background-size: cover;
    border: 1px solid #000;
	border-radius:6px;
}
.flagGB {
    width: 45px;
    height: 30px;
    position: absolute;
    top: 295px;
    left: 115px;
    background-image: url(https://flagcdn.com/w320/gb.png);
    background-size: cover;
    border: 1px solid #000;
	border-radius:6px;
}
.flagRO {
    width: 45px;
    height: 30px;
    position: absolute;
    top: 295px;
    left: 115px;
    background-image: url(https://flagcdn.com/w320/ro.png);
    background-size: cover;
    border: 1px solid #000;
	border-radius:6px;
}
.footer-player {
    position: absolute;
    bottom: 75px;
    width: 100%;
    text-align: center;
	filter: invert(1) grayscale(100%) brightness(100%);
}
.logo {
    position: absolute;  /* or fixed, if you want it to stay visible when scrolling */
    top: 30px;
    left: 95px;
    width: 280px;  /* Adjust to the desired width */
    height: auto;  /* Keep the aspect ratio */
}
/* Hide the logo on phones and tablets */
.hide-on-mobile {
    display: block;
}

/* For devices with a width of 768px or smaller (tablets and phones) */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}
