@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.container {
    max-width: 1320px;
    margin: 50px auto;
}

img {
    width: 100%;
    display: block;
}


.banner-container {
    background-color: #161616;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 65px;
    border: none;
    border-radius: 10px;
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 50px;

}


.banner-content .banner-header {
    font-size: 4.2rem;
    font-weight: 700;
}

.banner-content .banner-details {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 506px;
}

.btn-primary {
    padding: 12px 20px;
    background-color: #DD0000;
    color: white;
    border: none;
    transition: all 0.35s ease-in-out;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #740808;
}


.banner-image img {
    height: 100%;
    display: block;

}


/* main */

.main-container {
    display: flex;
    gap: 24px;
}


.left-main {
    display: flex;
    flex-direction: column;
    width: 25%;
    background-color: #161616;
    padding: 0 1.7rem 1.7rem 1.7rem;
    border: none;
    border-radius: 10px;
    block-size: fit-content;
}

.left-main .btn-main {
    margin-top: 1.7rem;
    border-radius: 8px;
}

.left-main .btn-white {
    background-color: white;
    color: #161616;
}




.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

}


.right-main .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid rgb(232, 232, 232);
    padding: 30px;
}

.right-main .card .card-img-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.flag-img {
    height: 100px;
    width: 100px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.card-date {
    font-size: 1.25rem;
    color: #4D4D4D;
}

.hide {
    display: none;
}


footer {
    background-color: #161616;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 130px 0;
}

.bottom-header {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
}

hr {
    width: 100%;
    height: 1px;
    background-color: white;
    color: white;
    margin: 50px 0;
}

.bootom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

}

.listitem {
    list-style: none;
}

.list-link {
    text-decoration: none;
    color: white;
    position: relative;
}



/* .list-link::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 1s;
}

.list-link:hover::after {
    width: 100%;
} */



@media screen and (max-width: 767.98px) {
    .banner-container {
        margin: 20px 20px;
    }

    .banner-content .banner-header {
        font-size: 2rem;
        padding-top: 20px;
    }

    .banner-content .banner-details {
        font-size: 0.7rem;
        margin-top: 8px;
        margin-bottom: 12px;
        max-width: 406px;
    }

    .banner-container,
    .main-container,
    .bootom-nav {
        flex-direction: column;
    }

    .left-main {
        width: 100%;
        background-color: transparent;
    }

    .cards-container {
        grid-template-columns: repeat(1, 1fr);
        place-items: center;
    }

}

@media screen and (min-width:768px) and (max-width:1175px) {

    .banner-container {
        margin: 20px 20px;
    }

    .banner-content .banner-header {
        font-size: 2.2rem;
    }

    .banner-content .banner-details {
        font-size: 0.7rem;
        margin-top: 8px;
        margin-bottom: 12px;
        max-width: 406px;
    }


    .left-main {
        flex-direction: row;
        width: 100%;
        background-color: transparent;
        justify-content: space-around;
    }

    .main-container {
        flex-direction: column;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        place-items: center;
    }
}