/* hero */

/* section#hero {
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--black);
    position: relative;
    background-color: var(--white);
} */

/* #hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
} */

.text-wrapper {
    /* background-color: var(--black-opacity); */
    padding: 10px;
    display: inline-block;
    color: var(--white);
    position: relative;
    top: -250px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 8px;
    width: 80%;
}

.text-wrapper h1 {
    font-size: 30px
}

.text-wrapper p {
    font-size: 22px;
}

.card-news {
    display: flex;
    max-height: 300px;
    width: 100%;
    border: 1px solid var(--white);
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0px 30px 0px;
    color: var(--white);
    background-color: var(--black-opacity);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    ;
}

.card-news:hover {
    cursor: pointer;
    scale: 1.02;
}

.card-news-image-container {
    flex: 1;
    position: relative;
}

.card-news-text-container {
    flex: 1;
    padding: 20px;
}

.card-news-text-container h2 {
    padding-bottom: 1rem;
}

.card-news-image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    width: calc(50% - 10px);
    /* height: 500px; */
    margin-bottom: 20px;
    transition: all 0.2s ease-in-out;
}

.card:hover {
    cursor: pointer;
    scale: 1.02;
}

.card-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 5px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%) saturate(150%);
}

.card-title {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 27px;
    font-weight: bold;
    text-align: center;
    color: var(--white);
}

.floating-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-blue-opacity);
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.brand-container-x {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: baseline; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    padding-top: 5rem;
}

.brand-card-x {
    /* margin: 10px;
    width: calc(20% - 40px); Subtract the margin value from the total percentage */

    width: 7%;
    height: auto;
    cursor: pointer;
}

/* Set image style */
.brand-card-x img {
    width: 100%;
    height: auto;
}

.brand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    overflow-x: auto;
    width: 100%;
}

.brand-container img {
    height: 70px;
    max-width: 100%;
    max-height: 100%;
    margin: 40px;
}

.rss-feed-container {
    background-color: var(--black-opacity);
    height: 50rem;
    border-radius: 8px;
}

.fix-top {
    position: relative;
    top: -100px;
}

.tabs {
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.tabs button {
    background-color: #ddd;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tabs button:hover {
    background-color: #ccc;
}

.tabs button.active {
    background-color: #ccc;
}

.tabcontent {
    animation: fadeIn 1s;
    display: none;
    padding: 6px 12px;
    /* border: 1px solid #ccc; */
    border-top: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* responsive */

@media (max-width: 992px) {

    .text-wrapper {
        top: -100px;
        width: 70%;
    }

    .text-wrapper h1 {
        font-size: 19px;
    }

    .text-wrapper p {
        font-size: 17px;
    }

    .brand-container {
        height: 200px;
    }

    .brand-container img {
        height: 50px;
        margin: 30px;
    }

    .brand-card-x {
        width: 15%;
    }

    .brand-card-x img {
        width: 70%;
    }
}

@media (max-width: 576px) {

    .text-wrapper {
        top: -50px;
        width: 100%;
    }

    .text-wrapper h1 {
        font-size: 17px;
    }

    .text-wrapper p {
        font-size: 15px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
    }

    .card-news {
        display: flex;
        max-height: 130px;
    }

    .card-news-text-container {
        flex: 1;
        padding: 10px;
        overflow-y: auto;
    }

    .card-news-text-container h2 {
        font-size: 15px;
    }

    .card-news-text-container p {
        font-size: 13px;
    }

    .floating-button {
        bottom: 10px;
        padding: 5px 10px;
    }

    .brand-container {
        height: 100px;
    }

    .brand-container img {
        height: 40px;
        margin: 20px;
    }

    .fix-top {
        position: relative;
        top: -30px;
    }

    .brand-card-x {
        width: 15%;
    }

    .brand-card-x img {
        width: 100%;
    }


}