@import url('/style/nav.css');
@import url('/style/footer.css');
@import url('/style/comingSoon.css');

/* Container for both carousel items */
.carousel-container {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* First carousel (3/4 width) */
.carousel-item-large {
    flex: 3;
    margin-right: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* Second carousel (1/4 width) */
.carousel-item-small {
    flex: 1.5;
    margin-left: 10px;
    border-radius: 8px;
    overflow: hidden;
}

/* Carousel image styling */
.carousel-inner img {
    border-radius: 8px;
    object-fit: cover;
    height: 100%;
}

/* Add subtle hover effect to carousel */
.carousel-item-large:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

#For-You {
    width: 25%;
}

.title {
    width: 99.5%;
    text-align: center;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #cccccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    font-size: 25px;
    /* font: italic small-caps 700 25px cursive; */
}

#countdown {
    text-align: center;
    background-color: #5c308f;
    color: white;
    padding: 50px 20px;
    margin: 20px 0;
    width: 100%;
}

.Participating-Teams img {
    width: 100%;
}

#Participating a,
#live-scores a {
    pointer-events: none;
}

.Week-Fixtures,
.Participating-Teams,
#standings {
    display: grid;
    background-color: white;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px;
}

.Week-Fixtures .score {
    font-size: 2rem;
    margin: 10px 0;
    color: #0056b3;
}

.Week-Fixtures img {
    width: 100%;
}

.match,
.team,
.title-2 {
    border: 2px solid #eeeeee;
    padding: 2px;
}

iframe {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
}

.highlights {
    padding: 20px;
    text-align: center;
}

.highlight-video {
    margin-top: 20px;
}

/* Standings Section */
#standings {
    display: grid;
    justify-content: center;
    align-items: center;
}

.containeer {
    background: #f5f4f6;
    justify-content: center;
    align-items: center;
    padding: 100px 0px;
}

.content-container {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
}

.game-name {
    margin-left: 30px;
    font-size: 20px;
}

.score-image1,
.score-image2,
.score-image3,
.ass-image1,
.ass-image2,
.ass-image3 {
    width: 70px;
    height: 70px;
    margin: 10px 0 0 10px;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
}

.card {
    height: 95px;
    background: white;
    margin-top: 10px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    overflow: hidden;
    transition: 0.3s;
}

.rating {
    transition: 0.5s;
    width: 180%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Images Part */
.score-image1 {
    background-image: url('/structure-image/Statistics/score/Sohib-Mohamed.png');
}

.score-image2 {
    background-image: url('/structure-image/Statistics/score/Ahmed-Ibrahim.png');
}

.score-image3 {
    background-image: url('/structure-image/Statistics/score/Khaled-Mohamed.png');
}

.ass-image2 {
    background-image: url('/structure-image/Statistics/assist/Omar-Mohamed.png');
}

.ass-image3 {
    background-image: url('/structure-image/Statistics/assist/Ahmed-Elsayed.png');
}

.ass-image1 {
    background-image: url('/structure-image/Statistics/assist/Martin-Emad.png');
}

#standings {
    gap: 20px;
    margin: 20px;
}

.list-container:hover .card {
    filter: blur(5px);
    opacity: 0.5;
    width: 95%;
}

.list-container .card:hover {
    transform: scale(1.1);
    filter: blur(0px);
    opacity: 1;
}

/* Change image part */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.team-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    margin: 0;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    transition: background 0.3s ease;
}

.team-title:hover {
    background: rgba(0, 0, 0, 0.8);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.boxx:hover {
    font-weight: bold;
}

.separete {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.separete img {
    width: 60px;
}

/* don't take in your mind */

@media only screen and (min-width:300px) {

    .Participating-Teams {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px;
    }

    #team {
        grid-column-start: 0;
        grid-column-end: span 2;
    }

    .Week-Fixtures {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px;
    }

    .match h3 {
        font-size: 1.15rem;
    }

    .score h5 {
        font-size: .85rem;
    }

    iframe {
        width: 100%;
        height: 250px;
    }

    /* Standings Section */

    #standings {
        grid-template-columns: 1fr;
    }

    #standing {
        grid-column-end: span 1;
    }

    .rating {
        transform: translate(100px, -100%);
    }

    .card:hover .rating {
        transform: translate(0px, -125%);
    }

    .separete {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}

@media only screen and (min-width:375px) {

    .Participating-Teams {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px;
        text-align: center;
    }

    #team {
        grid-column-start: 0;
        grid-column-end: span 2;
    }

    .Week-Fixtures {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px;
    }

    .match h3 {
        font-size: 1.15rem;
    }

    .score h5 {
        font-size: .85rem;
    }

    iframe {
        width: 100%;
        height: 270px;
    }

    /* Standings Section */

    #standings {
        grid-template-columns: 1fr;
    }

    #standing {
        grid-column-end: span 1;
    }

    .rating {
        transform: translate(100px, -100%);
    }

    .card:hover .rating {
        transform: translate(0px, -125%);
    }


}

@media only screen and (min-width:768px) {
    .Participating-Teams {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 20px;
    }

    #team {
        grid-column-start: 0;
        grid-column-end: span 3;
    }

    .Week-Fixtures {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 20px;
    }

    .match h3 {
        font-size: 1.25rem;
    }

    .score h5 {
        font-size: .75rem;
    }

    iframe {
        width: 560px;
        height: 315px;
    }

    /* Standings Section */
    #standings {
        grid-template-columns: repeat(2, 1fr);
    }

    #standing {
        grid-column-end: span 2;
    }

    .rating {
        transform: translate(100px, -100%);
    }

    .card:hover .rating {
        transform: translate(0px, -125%);
    }


}

@media only screen and (min-width:991px) {
    .carousel-container {
        height: 450px;
    }

    .carousel-item-small {
        flex: 1;
        height: 100%;
    }

    #png-1,
    #png-2,
    #png-3 {
        height: 490px;
    }

    #Right-Side {
        height: 450px;
    }

    /*  */

    #countdown h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    #countdown-timer {
        font-size: 3rem;
        font-weight: bold;
    }

    /*  */
    .Participating-Teams {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
        margin: 20px;
    }

    #team {
        grid-column-start: 0;
        grid-column-end: span 5;
    }

    /*  */

    .Week-Fixtures {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 20px;
        padding: 20px;
    }

    .match h3 {
        font-size: 2rem;
    }

    .score h5 {
        font-size: 1rem;
    }

    iframe {
        width: 560px;
        height: 315px;
    }

    /* Standings Section */
    #standings {
        grid-template-columns: repeat(2, 1fr);
    }

    #standing {
        grid-column-end: span 2;
    }

    .rating {
        transform: translate(100px, -100%);
    }

    .card:hover .rating {
        transform: translate(0px, -100%);
    }
}