:root { 
    --main-color: #040506;
    --second-color: #ffffff;
}

body {
    background: var(--main-color) url('./img/fd-ecran.jpg') no-repeat;
    color: var(--second-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Helvetica, sans-serif;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

main {
    margin-top: 70px;
    display: flex;
    align-items: center;
    width: 100%;
}

footer {
    background-color: var(--second-color);
    color: var(--main-color);
    width: 100%;
    display: flex;
    justify-content: center;
}

footer p {
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 10px 0;
}

h2 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1.7rem;
}

.aside {
    width: 10%;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
    margin: 0 50px;
}

.main-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo img {
    width: 40%;
    height: auto;
}

.about-us > div {
    width: 95%;
}

.about-us > div > p {
    margin-top: 0;
}

.our-filiales{
    margin-bottom: 5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.content-grid div {
    background-color: var(--second-color);
    padding:  40px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.content-grid div img {
    width: 100%;
    height: auto;
}

button {
    padding: 10px 15px;
    border: 1.5px solid var(--main-color);
    border-radius: 5px;
    background-color: transparent;
}

button:hover {
    background-color: var(--main-color);
    color: var(--second-color);
    transition: 0.2s ease-in-out;
}

.about-us {margin: 2rem 10rem;}
@media (max-width: 600px){
	.about-us {margin: 0rem;}
    .aside {
        width: 8%;
    }

    .main-content {
        width: 84%;
        margin: 0 15px;
    }

    main {
        margin-top: 25px;
    }

    h2{
        font-size: 1.4rem;
    }

    .logo img{
        width: 80%;
    }

    .about-us > div {
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .content-grid div {
        padding: 20px;
    }

    .content-grid div img {
        width: 85%;
    }


}