/* Changement spécifique au projet */

body {
    margin: 0;
    font-family:'Lato', sans-serif;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../images/mesalia/background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo svg path {
  fill: #FFBB00;
  transition: fill 0.3s ease;
}

.burger span {
    background-color: #FFBB00;
}

.nav-links li:not(:nth-child(4)) a {
    color: #FFBB00;
}

.btn-tertiary {
    background-color: #FFBB00;
}

.btn-tertiary:hover,
.btn-tertiary:active {
    background-color: #997000;
}

footer {
    border-top: 2px solid #FFBB002e;
}

footer div p {
    color: #FFBB00;
}

.width {
    padding: 80px 12px;
}

h1 {
    color: #FFBB00;
}

p > span {
    color: #FFBB00;
}

/* Introduction du projet */

.introduction {
    display: grid;
    align-items: center;
    grid-template-columns: 7fr 5fr;
    gap: 24px;
}

.introduction > div > div:last-of-type > img:first-of-type {
    padding-bottom: 56px;
}

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

.image-full-height > img {
    width: 100%;
}

/* Design System */

.design-system > div:first-of-type {
    display: grid;
    align-items: center;
    grid-template-columns: 3fr 9fr;
    gap: 24px;
    padding-bottom: 56px;
}

.design-system div .image-full-height > img {
    height: 220px;
    width: auto;
}

/* Animation */

.animation > div:first-of-type {
    display: grid;
    align-items: center;
    grid-template-columns: 9fr 3fr;
    gap: 24px;
    padding-bottom: 56px;
}

.animation div .image-full-height > img {
    height: 220px;
    width: auto;
}

.grid-video {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.grid-video > video {
    border-radius: 12px;
}

/* Presentation */

.presentation > div:first-of-type {
    display: grid;
    align-items: center;
    grid-template-columns: 3fr 9fr;
    gap: 24px;
    padding-bottom: 56px;
}

.presentation div .image-full-height > img {
    height: 220px;
    width: auto;
}

/* Section Maquette */

.maquette {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
    gap: 24px;
}

.maquette div:first-of-type {
    grid-column: span 3;
}

.maquette div:last-of-type {
    grid-column: span 9;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.maquette div:last-of-type > div:first-of-type{
    padding: 40px 40px 80px 40px;
}

.maquette > div:last-of-type > div:last-of-type > img:first-of-type {
    padding-bottom: 56px;
}

/* Other section */

.other-project-section {
    background-image: none
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .image-full-height > img {
        width: 90%;
    }

    .maquette div:last-of-type > div:first-of-type {
        padding-bottom: 56px;
    }
}

@media (max-width: 720px) {
    .width {
        padding: 56px 12px;
    }
    
    .div-none-mobile {
        display: none;
    }

    .introduction,
    .design-system > div:first-of-type,
    .animation > div:first-of-type,
    .presentation > div:first-of-type,
    .maquette {
        grid-template-columns: 1fr;
    }

    .intro-text {
        padding: 0px;
    }
}

@media (max-width: 540px) {
    .width {
        padding: 40px 12px;
    }

    .design-system > div:first-of-type,
    .animation > div:first-of-type,
    .presentation > div:first-of-type,
    .maquette div:last-of-type > div:first-of-type,
    .maquette > div:last-of-type > div:last-of-type > img:first-of-type {
        padding-bottom: 40px;
    }
}

@media (max-width: 376px) {
    .width {
        padding: 24px 12px;
    }

    .intro-text {
        padding: 0px 0px 0px 0px;
    }

    .maquette div:last-of-type > div:first-of-type {
        padding: 0px 16px 40px 16px;
    }
}