/*!
 * Home Css
 * Version - 1.1.1
 * Copyright (c) 2023 Fondation AKOU <contact@fondationakou.org> and 2A Consulting
*/

/* ** Section home */
#home h1 {
    font-size: 60px !important;
}

#homee:before {
    background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 50%), radial-gradient(100% 100% at 0% 100%, #000000 0%, rgba(0, 0, 0, 0) 120%);
    position: absolute;
    content: '';
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#home {
    /* background-image: url(https://img.freepik.com/photos-gratuite/gros-plan-femmes-se-tenant-main_23-2148959236.jpg?w=1270&t=st=1701866490~exp=1701867090~hmac=156694d39ff180e8c0901248a36b140c37804404a133dae73501ce87a40c48de) !important;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh !important;
    height: 90vh;
    position: relative; */
}

.about {
    background-color: #E4EBF0 !important;
}


.card-box {
    background-color: var(--tertiary) !important;
}

/* Articles news */

.articles {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
}

@media (min-width: 30em) {
    .articles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 60em) {
    .articles {
        grid-template-columns: repeat(2, 1fr);
        /* grid-template-columns: repeat(4, 1fr); */
    }
}

.articles .card {
    background: white;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all 0.1s ease-in;
}

.articles .card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

.articles .card article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.articles .card h3 {
    font-size: 20px;
    margin: 0;
    color: #333;
    font-weight: 600 !important;
}

.articles .card p {
    flex: 1;
    line-height: 1.4;
    font-size: 15px;
    margin-top: 5px;
}

.articles .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2em 0 0 0;
}

.articles .card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
}

@media (min-width: 60em) {
    .articles .item-1 {
        grid-column: 1/span 2;
    }

    .articles .item-1 h3 {
        font-size: 24px;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    h1 {
        font-size: 45px !important;
    }
}