/*
==================================================

GLOBAL

==================================================
*/

.row {
    margin-left: 0;
    margin-right: 0;
}

/*
==================================================

INTRO

==================================================
*/

@media (min-width: 480px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    .partIntro div {
        padding: 0 6rem;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
    .partIntro div {
        padding: 0 10rem;
    }
}

@media (min-width: 1400px) {
    .partIntro div {
        padding: 0 14rem;
    }
}

/*
==================================================

NEWS EXAMPLES

==================================================
*/

.newsExemple {
    margin: 4rem 0 8rem;
}

.newsExemple h3 {
    font-size: 1.6rem;
    font-family: 'Jost-black', sans-serif;
    color: #1D1D1D;
    line-height: 120%;
}

.newsExemple .newsExampleType {
    font-size: 1.4rem;
    font-family: 'Jost-regular', sans-serif;
    color: #808080;
    line-height: 150%;
    margin: 2rem 0 0;
}

.newsExemple img {
    width: 100%;
    margin: 2rem 0;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.advantages {
    margin-top: 4rem;
}
.advantages p img {
    width: 1.5rem;
    margin: 0;
    /* background: #fffef1; */
    background: #fff7f4;
    border-radius: 100%;
}

@media (min-width: 480px) {
    .newsExemple img {
        width: 70%;
    }
}

@media (min-width: 576px) {}

@media (min-width: 768px) {

    .newsExemple img {
        width: 90%;
        margin: 2rem 0;
        left: unset;
        transform: unset;
    }

    .newsExemple:nth-child(even) img {
        float: right;
    }

    .newsExemple:nth-child(odd) img {
        float: left;
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
    .newsExemple img {
        width: 76%;
    }
}

@media (min-width: 1400px) {}

/*
==================================================

TUTO : HOW IT WORKS

==================================================
*/

.steps:nth-last-of-type(-n+1) {
    margin-bottom: 0;
}
.steps > div:nth-last-of-type(-n+1) {
    position: relative;
}
.steps#step3 > div:nth-of-type(2){
    height: 20rem;
}
.steps img {
    width: 80%;
}
.steps img#sketchNewsAddPhoto {
    width: 94%;
}
.steps img#sketchNewsForm {
    width: 116%;
}
.steps img#sketchNewsStat {
    width: 130%;
    position: absolute;
    left: -3rem;
    top: 2rem;
}
.steps img#sendButton {
    width: 84%;
    position: absolute;
    bottom: -4rem;
    left: 50%;
    transform: translateX(-50%);
    animation-name: zoomOutIn;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes zoomOutIn {
    from {
        width: 84%;
    }
    to {
        width: 94%;
    }
}
.steps img#notif {
    width: 34%;
    position: absolute;
    top: -2.5rem;
    right: 1rem;
    transform: rotate(20deg);
    animation-name: rotateLeftRight;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
@keyframes rotateLeftRight {
    from {
        transform: rotate(20deg);
    }
    16% {
        transform: rotate(-20deg);
    }
    32% {
        transform: rotate(20deg);
    }
    48% {
        transform: rotate(-20deg);
    }
    64% {
        transform: rotate(20deg);
    }
    to {
        transform: rotate(20deg);
    }
}

@media (max-width: 360px) {}

@media (min-width: 480px) {
    .steps img {
        width: 66%;
    }
    .steps img#sendButton {
        width: 70%;
    }
    @keyframes zoomOutIn {
        from {
            width: 70%;
        }
        to {
            width: 80%;
        }
    }
    .steps img#notif {
        width: 32%;
        top: -3.3rem;
        right: 3rem;
    }
}

@media (min-width: 576px) {
    .steps#step3 > div:nth-of-type(2){
        height: 28rem;
    }

    .steps img {
        width: 50%;
    }
    .steps img#sendButton {
        width: 64%;
    }
    @keyframes zoomOutIn {
        from {
            width: 64%;
        }
        to {
            width: 74%;
        }
    }
    .steps img#notif {
        width: 28%;
        right: 5.5rem;
    }
}

@media (min-width: 768px) {
    .steps {
        margin-bottom: 14rem;
    }
    .steps img {
        width: 76%;
    }
    .steps img#sendButton {
        width: 80%;
    }
    @keyframes zoomOutIn {
        from {
            width: 80%;
        }
        to {
            width: 90%;
        }
    }
    .steps img#notif {
        width: 38%;
        right: 1rem;
        top: -1.8rem;
    }
}

@media (min-width: 992px) {
    .steps img {
        width: 80%;
    }
    .steps img#sendButton {
        width: 72%;
    }
    @keyframes zoomOutIn {
        from {
            width: 72%;
        }
        to {
            width: 82%;
        }
    }
    .steps img#notif {
        width: 42%;
        right: 1rem;
        top: -2rem;
    }

    .steps img#sketchNewsStat {
        top: 4rem;
    }
}

@media (min-width: 1200px) {
    .steps img {
        width: 76%;
    }

    .steps img#sendButton {
        width: 74%;
        animation-name: zoomOutIn;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }
    @keyframes zoomOutIn {
        from {
            width: 74%;
        }
        to {
            width: 84%;
        }
    }
}

@media (min-width: 1400px) {
    .steps img {
        width: 70%;
    }
    .steps img#notif {
        width: 40%;
        right: 1rem;
        top: -2rem;
    }
}

