/* Général */

.auto{
    width: 100%;
    height: auto;
}

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

.width {
    padding: 80px 12px;
}

h1 {
    font-family: 'DM Serif Display';
    font-size: 56px;
    font-weight: 400;
    color: #002AB4;
    padding-bottom: 32px;
}

h2{
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    text-transform: uppercase;
    color: #999999; 
    padding-bottom: 16px;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    color: #333333;
    padding-bottom: 12px;
}

p:last-of-type {
    padding-bottom: 0px;
}

p > span{
    font-weight: 900;
    color: #002AB4; 
}

footer > div > p {
    font-style: normal;
}

.padding {
    padding-bottom: 56px;
}

.position-relative,
.position-relative-one,
.position-relative-two,
.position-relative-three,
.position-relative-four,
.position-relative-five,
.position-relative-six {
    position: relative;
}

/* Introduction */

.intro-text{
    padding-right: 10%;
}

/* Section - Voir plus de projet */

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

.other-project h1 {
    text-align: center;
}

.other-project ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-project li {
    display: block;
    width: 100%;
    text-align: center;
}

.other-project li img {
    width: 100%;
    display: block;
}

/* RESPONSIVE */

/* Display none - Width 1320px */

.none-desktop {
    display: none;
}

@media (max-width: 960px) {
    .other-project-section {
        background-position: right -13% top 5%;
    }
}

@media (max-width: 720px) {
    h1 {
        font-size: 40px;
        text-align: center;
    }

    h2, p {
        font-size: 18px;
        text-align: center;
    }

    .other-project ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .none-desktop {
        display: flex;
    }

    .none-mobile {
        display: none;
    }

    .content {
        padding: 0px 56px;
    }

    .intro-text{
    padding-right: 0%;
    }
}

@media (max-width: 540px) {
    .content {
        padding: 0px 16px;
    }

    .other-project ul {
        grid-template-columns: 1fr;
    }

    .padding {
        padding-bottom: 40px;
    }
}

@media (max-width: 376px) {
    .padding {
    padding-bottom: 40px;
    }

    h1 {
        padding-bottom: 24px;
    }
}