/* 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/pilote-student/background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

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

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

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

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

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

footer div p {
    color: #A4101C;
}

.width {
    padding: 80px 12px;
}

h1 {
    color: #A4101C;
}

p > span {
    color: #A4101C;
}

/* Introduction du projet */

.introduction-section {
    background-image: url('../images/pilote-student/cloud-two.webp');
    background-position: right -10% top 5%;
    background-size: 400px auto;
    background-repeat: no-repeat;
}

.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: 90%;
}

/* Wireframe */

.wireframe-section {
    background-image: url('../images/pilote-student/cloud-three.webp');
    background-position: left 0% top 0%;
    background-size: 400px auto;
    background-repeat: no-repeat;
}

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

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

/* Moodboard */

.moodboard-section {
    background-image: url('../images/pilote-student/cloud-two.webp');
    background-position: left -20% top 59%;
    background-size: 400px auto;
    background-repeat: no-repeat;
}

.moodboard > div:first-of-type {
    display: grid;
    align-items: center;
    grid-template-columns: 8fr 4fr;
    gap: 24px;
}

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

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

/* Piste graphique */

.piste-section {
    background-image: url('../images/pilote-student/aircraft.webp');
    background-position: right -23% bottom 20%;
    background-size: 300px auto;
    background-repeat: no-repeat;
}

.piste > div:first-of-type {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 24px;
}

.piste > div:first-of-type > img:first-of-type {
    grid-column: span 2;
}

.piste > div:first-of-type > div {
    grid-column: span 8;
}

.piste > div:first-of-type > img:last-of-type {
    grid-column: span 2;
}

.description > div > h2 {
    text-align: center;
}

.description > div > p {
    text-align: center;
}

/* UI Kit */

.ui-kit-section {
    background-image: url('../images/pilote-student/cloud-three.webp');
    background-position: left -12% bottom 0%;
    background-size: 400px auto;
    background-repeat: no-repeat;
}

.ui-kit > div {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    gap: 24px;
}

.ui-kit > img {
    padding-bottom: 24px;
}

.ui-kit div img:first-of-type {
    grid-column: span 3;
}

.ui-kit div div {
    grid-column: span 6;
}

.ui-kit div div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ui-kit div div div {
    padding-bottom: 24px;
}

.ui-kit div div div h2 {
    text-align: center;
}

.ui-kit div div div p {
    text-align: center;
}

.ui-kit div img:last-of-type {
    grid-column: span 3;
}

/* Maquette graphique */

.maquette-section {
    background-image: 
        url('../images/pilote-student/cloud-two.webp'),
        url('../images/pilote-student/car.webp');

    background-position: 
        right -15% top 30%,
        left -3% bottom 30%;

    background-size: 
        400px auto,
        200px auto;

    background-repeat: 
        no-repeat,
        no-repeat;
}

.maquette > div:first-of-type {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 24px;
}

.maquette > div:first-of-type > img:first-of-type {
    grid-column: span 2;
}

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

.maquette > div:first-of-type > img:last-of-type {
    grid-column: span 2;
}

/* Section - Voir plus de projet */

.other-project-section {
    background-image: url('../images/pilote-student/cloud-three.webp');
    background-position: right 3% top 0%;
    background-size: 400px auto;
    background-repeat: no-repeat;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .ui-kit > div {
        align-items: start;
    }
}

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

    .introduction,
    .wireframe > div:first-of-type,
    .moodboard > div:first-of-type,
    .piste > div:first-of-type,
    .ui-kit > div,
    .maquette > div:first-of-type {
        grid-template-columns: 1fr;
    }

    .wireframe > div:first-of-type,
    .wireframe > div:first-of-type,
    .ui-kit div div div {
        padding-bottom: 40px;
    }
}

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

    .introduction-section,
    .wireframe-section,
    .moodboard-section,
    .piste-section,
    .ui-kit-section,
    .maquette-section,
    .other-project-section {
        background-image: none;
    }
}

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

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

    .moodboard div > div:first-of-type {
        padding-bottom: 40px;
    }
}