body {
    background-image: url('../img/header/back.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    flex-grow: 1;
}

.title-row {
    background-image: url('../img/matches/title.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 10px 0; /* Üst ve alt boşluk 10px */
    margin: 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 15px 15px 0 0;
}

.title-row-content {
    margin-left: 10px; /* Sadece içerik sola 15px kaydırılır */
}


.match-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-radius: 10px;
}

.match {
    color: white;
    padding: 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid #222;
    background-size: cover;
    margin: 0;
    border-radius: 0;
    cursor: pointer;
}

.match:last-child {
    border-radius: 0 0 10px 10px;
}

.match:nth-child(4n-3), .match:nth-child(4n-2) {
    background-image: url('../img/matches/str1.png');
}

.match:nth-child(4n-1), .match:nth-child(4n) {
    background-image: url('../img/matches/str2.png');
}

.match .time {
    color: red;
    font-weight: bold;
    flex: 1;
    text-align: left;
}


.match .team1, .match .team2 {
    flex: 3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match .rc1, .match .rc2 {
    display: inline-block;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 14px; /* Yazı boyutu */
}

.red-card-box {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 11px; /* Kart kutusu genişliği */
    height: 11px; /* Kart kutusu yüksekliği */
    background-color: red; /* Kırmızı kart arka plan rengi */
    color: white; /* Kart sayısı beyaz renkte */
    font-size: 8px;
    border-radius: 2px; /* Kart kutusu köşelerini yuvarla */
    font-weight: bold;
}

/* Eğer kart sayısı yoksa (boşsa) arka planı ve rengi kaldır */
.red-card-box:empty {
    background-color: transparent; /* Arka plan yok */
    border: 1px solid transparent; /* Kartın yerini korumak için görünmez kenarlık */
}


.match .score {
    flex: 1;
    text-align: center;
    color: red;
    font-weight: bold;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 10px auto;
}

.loading-text {
    text-align: center;
    color: white;
    font-size: 18px;
}

@media (max-width: 768px) {
    .content {
        margin: 0;
        max-width: 100%;
    }
    .title-row {
        margin: 0;
        width: 100%; /* Mobilde tam genişlik */
    }
    .match {
        font-size: 12px;
        margin: 0;
    }
    .match .star-icon i {
        font-size: 14px;
    }
}
.match.status-special .time, .match.status-special .score {
    color: white;
}

#soundToggleBtn {
    background-color: transparent; /* Arka planı tamamen kaldırır */
    border: none; /* Kenarlığı kaldırır */
    outline: none; /* Tıklama sonrasında çıkan kenarlığı kaldırır */
    cursor: pointer; /* İmleci düğme üzerine geldiğinde işaret eder */
}

#soundIcon {
    color: white; /* İkonun rengini beyaz yapar */
    font-size: 20px; /* İkonun boyutunu belirler (ihtiyaca göre değiştirilebilir) */
}
div.star-icon > i.fas.fa-star,
div.star-icon > i.fas.fa-star-half-alt {
    color: green;
}

