@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap');

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

body{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    min-height: 100vh;
    background: #f4d04e;
}

h2{
    margin: 24px 0;
}

h1 a{
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0px;
    text-decoration: none;
    color: #111111;
    transition: 0.2s ease;
    font-weight: bolder;
}

h1 a:hover {
    color: #f4d04e;
}

p{
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0px;
    color: #111111;
}

/* Card style */

.bloc-card{
    position: relative;
    max-width: 384px;
    width: 90%;
    padding: 25px;
    background: #fff;
    border: 2px solid #111111;
    border-radius: 20px;
    box-shadow: 6px 6px 0 #111111;
}

/* illustration image style */
.bloc-card .card-image{
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

/* Card description */
.bloc-card  .card-description{
    margin: 24px 0;
}

.bloc-card .card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s ease;
}

.bloc-card:hover .card-image img{
    transform: scale(1.1);
}

.btn-action{
    padding: 8px 10px;
    background: #f4d04e;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    color: #111111;
    border-radius: 4px;
    transition: 0.2s ease;
}

.btn-action:hover{
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}

.bloc-card .card-description p{
    line-height: 150%;
    margin-top: 12px;
}

.bloc-card .card-description .lang-descript{
    color: #6b6b6b;
    line-height: 150%;
}


/* Avatar style */
.bloc-card .profil-bloc{
    display: flex;
    align-items: center;
    gap: 8px;
}

.bloc-card .profil-bloc p{
    font-weight: bold;
}

/* Responsive mode */

@media screen and (max-width: 430px) {
    .attribution{
        text-align: center;
        max-width: 90%;
        margin: 24px auto 0 auto;
    }
}

@media screen and (max-width: 375px) {
    .bloc-card{
        width: 90%;
        padding: 24px;
    }

    .bloc-card .card-description{
        margin: 24px 0;
    }

    h1 a{
        font-size: 20px;
        line-height: 100%;
    }
}

@media screen and (max-width: 327px) {
    h1 a{
        font-size: 19px;
    }
}