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

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

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

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

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

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

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

footer div p {
    color: #D7A300;
}

.width {
    padding: 80px 12px;
}

h1 {
    color: #D7A300;
}

p > span {
    color: #D7A300;
}

/* Introduction du projet */

.introduction-section {
    background-image: 
        url('../images/myoffice/deco-four.webp'),
        url('../images/myoffice/deco-five.webp');
    
    background-position: 
        right 15% top 5%,
        left 35% bottom 0%;
    
    background-size: 
        100px auto,
        100px auto;
    
    background-repeat: 
        no-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: 70%;
}

/* Section Wireframe */

.wireframe-section {
    background-image: url('../images/myoffice/deco-one.webp');
    background-position: left 1% top 65%;
    background-size: 100px auto;
    background-repeat: no-repeat;
}

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

.wireframe div:first-of-type {
    grid-column: span 4;
}

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

.wireframe div:last-of-type > div:first-of-type{
    padding: 40px 40px;
    height: 100%;
}

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

/* Moodboard */

.moodboard-section {
    background-image: url('../images/myoffice/deco-one.webp');
    background-position: right 35% bottom 0%;
    background-size: 100px auto;
    background-repeat: no-repeat;
}

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

.moodboard > div:first-of-type > img:first-of-type {
    grid-column: span 3;
}

.moodboard > div:first-of-type > div {
    grid-column: span 6;
}

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

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

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

/* Section Maquette */

.maquette-section {
    background-image: 
        url('../images/myoffice/deco-six.webp'),
        url('../images/myoffice/deco-two.webp'),
        url('../images/myoffice/deco-three.webp');
    
    background-position: 
        left 10% top 50%,
        right 40% bottom 0%,
        right 10% bottom 10%;
    
    background-size:
        80px auto,
        80px auto,
        80px auto;
   
    background-repeat: 
        no-repeat,
        no-repeat,
        no-repeat;
}

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

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

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

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

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

/* Other section */

.other-project-section {
    background-image: url('../images/myoffice/deco-four.webp');
    background-position: right 20% top 10%;
    background-size: 100px auto;
    background-repeat: no-repeat;
}

/* RESPONSIVE */

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

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

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

    .intro-text {
        padding: 0px;
    }

    .wireframe div:last-of-type > div:first-of-type {
        padding: 0px 56px 56px 56px;
    }

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

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

}

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

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

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

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

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