#cardmatch{
    width:90%;
    background: #fff;
    margin: auto;
    border-radius: 8px;
}
#headercard {
    margin-top: 8px;
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url(images/cardbackground.webp);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

#headercard .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    z-index: 1;
}

#headercard h1 {
    position: relative;
    z-index: 2;
    display: block;
}
#matchinfo{
    max-width: 1000px;
    margin: auto;
    background-color:#fff;
    padding: 4px;
}
#video {
    margin-top: 12px;
    background: #34303d;
    width: 100%;
    border-radius: 8px;
    padding: 8px;
}
/* share button's style */

/* تصميم أزرار المشاركة */
.social-share {
    display: flex;
    gap: 4px;
    margin-bottom: 7px;
    background: #f3eeff;
    padding: 7px;
    border-radius: 6px;
    margin-top: 15px;
    justify-content: center;
}

.social-button {
    display: flex;
    align-items: center;
    padding: 6px 97px;
    background-color: #8c52ff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.social-button:hover {
    background-color: #714cbd;
}

.social-button i {
    margin-right: 8px;
}

/* تخصيص الأزرار حسب الشبكة الاجتماعية */
.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #00acee;
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

@media screen and (max-width: 1120px){
    .social-button {
        padding: 6px 60px;
    }
}
@media screen and (max-width: 800px){
    .social-button {
        padding: 6px 20px;
    }
}
@media screen and (max-width: 450px){
    .social-button {
        padding: 6px 10px;
    }
    #headercard h1{
        font-size: 16px;
    }
}
iframe {
    width: 100%;
    height: 500px;
    border: none;
    margin-bottom: 20px;
  }
  .server-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px;
}
  .server-buttons button {
    padding: 10px;
    background-color: #8c52ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  .server-buttons button:hover {
    background-color: #615285;
  }