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

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

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

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

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

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

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

footer div p {
    color: #B46300;
}

h1 {
    color: #B46300;
}

p > span {
    color: #B46300;
}

/* Introduction du projet */

.introduction-section {
    background-image: 
        url('../images/karate-sheep/cloud-two.webp'),
        url('../images/karate-sheep/cloud-one.webp');

    background-position: 
        right -20% top 15%,
        left -15% top 70%;

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

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

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

.introduction > div {
    grid-column: span 1;
}

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

.intro-text{
    padding: 0px 25% 56px 0px;
}

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

.image-full-height img:first-of-type {
    width: 100%;
    height: auto;
    padding-left: 20%;
    z-index: 100;
}

.wanda {
    position: absolute;
    right: 0%;
    top: -207px;
}

/* Section Wireframe */ 

.wireframe-section {
    background-image: url('../images/karate-sheep/cloud-one.webp');
    background-position: right 45% top 0%;
    background-size: 350px auto;
    background-repeat: no-repeat;
}

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

.wolf {
    width: 350px;
    height: auto;
}

/* Section UI Kit */

.ui-kit-section {
    background-image: url('../images/karate-sheep/cloud-one.webp');
    background-position: right -7% top 58%;
    background-size: 250px auto;
    background-repeat: no-repeat;
}

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

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

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

.ui-kit > 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 Maquettes */

.maquette-section {
    background-image: url('../images/karate-sheep/cloud-two.webp');
    background-position: left 5% top 35%;
    background-size: 250px auto;
    background-repeat: no-repeat;
}

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

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

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

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

.trico {
    width: 220px;
    height: auto;
    position: absolute;
    right: -5%;
    top: -175px;
}

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

/* RESPONSIVE */

@media (max-width: 960px) {
    .image-full-height img {
        padding-left: 10%;
    }

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

    .introduction-section {
        background-position:
        right -45% top 15%,
        left 2% top 70%;
    }
    
    .ui-kit-section {
        background-image: none;
    }
} 

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

    .div-none-mobile {
        display: none;
    }

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

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

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

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

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

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

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

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

    .maquette > div:last-of-type > div:last-of-type > img:first-of-type {
        padding-bottom: 40px;
}
    
    .intro-text {
        padding: 0px 0px 40px 0px;
    }
}