/* ===============
   Content Section
=============== */

.content-section {
    display: flex;
    justify-content: space-between;
    width: 1170px;
    margin: 150px auto;
}

.image {
    width: 350px;
    height: 350px;
    margin: 109px;
}

.text-container {
    grid-row: 1 / 1;
    grid-column: 2 / -1;
    width: 570px;
    height: 565px;
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 20px 40px 0 rgba(13, 18, 39, 0.3);
    padding: 70px;
}

.text-container h1 {
    font-size: 48px;
    font-weight: 400;
    color: #24282a;
    margin-bottom: 28px;
}

.text-container p {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.2;
    letter-spacing: 1px;
}

.fsc-logo {
    margin-left: 35px;
    margin-top: 30px;
    width: 70px;
}

.button.button--cart {
    display: flex;
    width: 169px;
    justify-self: center;
    justify-content: center;
    border: none;
}

.pagination {
    justify-self: center;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    color: #92d5f6;
}

.fa-circle {
    width: 20px;
    height: 20px;
}

/* SLIDER GALLERY */

/* grid rules for both gallery and maps */

.inner_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -width: 350px;
    justify-self: center;
}

.slider-container {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template: 1fr / 1fr;
    width: 570px;
    height: 565px;
    background-color: #ffe9e9;
    border-radius: 5px;
}

.slider {
    grid-area: 1/1/2/-1;
    align-self: center;
    justify-self: center;
}

.arrows {
    display: flex;
    justify-content: space-between;
    grid-area: 1/1/2/-1;
    order: 3;
}

#next,
#back {
    font-size: 2.5em;
    margin: 0.5em;
    cursor: pointer;
    color: #92d5f6;
}

#next {
    justify-self: end;
}

#back {
    justify-self: start;
}

.slide {
    display: none;
}

.slide--active {
    display: block;
    order: 2;
}

.h2 {
    width: 1170px;
    margin: 0 auto 150px;
    text-align: center;
    font-size: 48px;
}

.fairtraide .content-section {
    width: 890px;
}

p.service-title {
    font-family: Rubik, "open sans";
    font-size: 20px;
    font-weight: 400;
    color: #979797;
}

.services-container-title h2 {
    font-family: Rubik, "open sans";
    font-size: 48px;
    font-weight: 300;
    line-height: 56px;
}

.services-container h3 {
    font-family: Rubik, "open sans";
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 11px;
}

.extra-padding {
    padding-top: 40px;
}

.gif {
    margin-top: 139px;
}

.services-container {
    width: 600px;
}

.service {
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 5px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #f9c4d2;
}

.percentage {
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
}

/* Media Queries TABLET */

@media screen and (max-width: 768px) {
    body,
    main,
    header,
    footer {
        max-width: 768px;
    }

    .content-section {
        display: block;
        align-items: center;
        width: 768px;
    }

    .pagination {
        margin-bottom: 50px;
    }

    .text-container {
        margin: 0 auto;
    }

    .gif {
        display: none;
    }

    .h2 {
        font-size: 34px;
        width: 500px;
        margin: 0 auto;
        padding-left: 10px;
    }

    .content-section {
        margin-top: 40px;
    }

    .services-container {
        padding-left: 150px;
    }
}

/* Media Queries MOBIL */

@media screen and (max-width: 360px) {
    body,
    main,
    header,
    footer {
        max-width: 360px;
    }

    .content-section {
        width: 360px;
    }

    .slider-container {
        margin: 10px;
        width: 340px;
        padding: 10px 10px;
    }

    .arrows {
        display: none;
    }

    .pagination {
        margin-bottom: 50px;
    }

    .text-container {
        margin: 10px;
        width: 340px;
        padding: 20px 10px;
        box-shadow: none;
    }

    h1.heading_product {
        margin-bottom: 40px;
        font-size: 34px;
    }

    h2 {
        margin-left: 20px;
        margin-bottom: 0;
    }

    .gif {
        display: none;
    }

    .fairtraide .h2 {
        width: 360px;
        margin: 10px 0 0;
    }

    .inner_grid {
        width: 360px;
    }

    .fairtraide {
        width: 360px;
        margin-left: 8px;
    }

    .fairtraide .content-section {
        width: 360px;
    }

    .services-container {
        width: 340px;
        margin-left: 5px;
        padding: 0;
        display: block;
    }

    .button.button--cart {
        margin-top: 120px;
    }
}
