:root { 
    --main-color: #F5F5F5;
    --second-color: #040506;
    --white-color: #FFFFFF;
}

body {
    background: var(--main-color) url('./img/fd-ecran-prod.png') no-repeat right top;
    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;
    overflow: hidden;
}

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

footer {
    background-color: var(--white-color);
    color: var(--second-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
}

footer p {
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0;
}

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

.aside {
    width: 10%;
    position: relative;
    margin: 0;
    padding: 0;
}

.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: 50%;
    height: auto;
}

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

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

.about-us {margin: 2rem 3rem;}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-text a {
    text-align: left;
}

.content-image {
    display: flex;
    justify-content: center;
}


.content-image img {
    width: 65%;
    height: max-content;
}

@media (max-width: 992px) and (min-width: 600px){
    .content-image img {
        width: 45%;
        height: auto;
    }
}

@media (max-width: 992px){
	.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%;
    }

    .content-text a {
        text-align: left;
    }

    .content-image {
        justify-content: left;
    }

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

}