main[data-barba-namespace="services"] {
    background: url(/assets/background/bg-4.png);
    background-attachment: fixed;

    .hero {
        margin: 0 auto;
        margin-top: calc(4rem + 30px);
        padding: 2rem;
        width: calc(100vw - 4rem);
        min-height: calc(100svh - (6rem + 30px));
        background-image: url(/assets/background/bg-3.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        display: grid;
        place-content: center;
        color: #FFF;
        font-family: "Sora";
        font-size: 50px;
        text-align: center;
        cursor: url("/assets/cursor/default-light.png"), default;

        span {
            background-size: 100% 15%;
            background-repeat: repeat-x;
            background-position: left 0% bottom 0%;
        }

        span:first-child {
            background-image: linear-gradient(179deg, #C5FF4A 0%, #C5FF4A 50%, transparent 54%, transparent 100%);
        }

        span:last-child {
            background-image: linear-gradient(181deg, #C5FF4A 0%, #C5FF4A 50%, transparent 54%, transparent 100%);
        }
    }

    .services {
        position: relative;
        padding: 130px 2rem;
        /* background: url(/assets/background/bg-4.png);
        background-attachment: fixed; */

        .top {
            margin: 0 auto;
            max-width: 1296px;

            p {
                font-family: "Sora";
                font-size: 30px;
            }
        }

        .bottom {
            margin: 0 auto;
            padding-top: 60px;
            max-width: 1296px;
        }
    }

    .format-container {
        position: relative;
        padding: 0 2rem 130px;

        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(to bottom, rgba(242, 242, 242, 0), #F2F2F2);
            pointer-events: none;
        }

        .services_box {
            margin: 0 auto;
            max-width: 1296px;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: start;
            -ms-flex-align: start;
            align-items: flex-start;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            gap: 30px;
        }

        .services_item {
            -ms-flex-preferred-size: calc(33.33333% - 30px);
            flex-basis: calc(33.33333% - 30px);
            overflow: hidden;
            cursor: url("/assets/cursor/default-light.png"), default;
        }

        .services-item_link {
            display: block;
            padding: 30px 20px;
            background-color: #121212;
            overflow: hidden;
            position: relative;
        }

        .services-item_link:hover {
            text-decoration: none;
        }

        .services-item_link:hover .services-item_bg {
            -webkit-transform: scale(10);
            -ms-transform: scale(10);
            transform: scale(10);
        }

        .services-item_title {
            min-height: 87px;
            margin: 0 0 25px;
            overflow: hidden;
            font-family: "Neue Montreal";
            font-weight: bold;
            font-size: 30px;
            color: #FFF;
            z-index: 0;
            position: relative;
        }

        .services-item_bg {
            height: 128px;
            width: 128px;
            background-color: #f9b234;
            position: absolute;
            z-index: 0;
            top: -75px;
            right: -75px;
            border-radius: 50%;
            -webkit-transition: all .5s ease;
            -o-transition: all .5s ease;
            transition: all .5s ease;
        }

        .services_item:nth-child(2n) .services-item_bg {
            background-color: #3ecd5e;
        }

        .services_item:nth-child(3n) .services-item_bg {
            background-color: #e44002;
        }

        .services_item:nth-child(4n) .services-item_bg {
            background-color: #952aff;
        }

        .services_item:nth-child(5n) .services-item_bg {
            background-color: #cd3e94;
        }

        .services_item:nth-child(6n) .services-item_bg {
            background-color: #4c49ea;
        }
    }

    .qualities {
        padding: 0 2rem 130px;
        position: relative;
        background-color: #F2F2F2;

        .head {
            margin: 0 auto;
            max-width: 1296px;

            h2 {
                border-bottom: 1px solid #000;
                margin-bottom: 30px;
                padding-bottom: 30px;
                font-family: "Coolvetica";
                font-size: 60px;
                line-height: 40px;
                color: transparent;
                -webkit-text-stroke-width: 1px;
                -webkit-text-stroke-color: black;
                letter-spacing: 3px;
            }

            p {
                width: 75%;
                font-family: "Sora";
                font-size: 20px;
            }
        }

        .top {
            margin: 0 auto;
            margin-top: 60px;
            max-width: 1296px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        .bottom {
            margin: 0 auto;
            margin-top: 10px;
            max-width: 1296px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .box {
            padding: 40px 30px;
            background-color: #FFF;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 20px;

            .info {
                display: flex;
                flex-direction: column;

                h3 {
                    margin-bottom: 5px;
                    width: 100%;
                    font-family: "Sora";
                    font-size: 25px;
                    font-weight: bolder;
                    line-height: 30px;
                    text-align: left;
                }

                p {
                    font-size: 20px;
                    font-family: "Lato";
                    line-height: 1.25;
                }
            }
        }

        .bottom .box {
            justify-content: space-between;
        }
    }

    @media screen and (max-width: 1160px) {
        .qualities {
            .top {
                max-width: 600px;
                grid-template-columns: unset;
                grid-template-rows: auto;
            }

            .bottom {
                max-width: 600px;
                grid-template-columns: unset;
                grid-template-rows: auto;
            }
        }
    }

    @media only screen and (max-width: 979px) {
        .format-container {
            .services_item {
                -ms-flex-preferred-size: calc(50% - 30px);
                flex-basis: calc(50% - 30px);
            }

            .services-item_title {
                font-size: 24px;
            }
        }
    }

    @media screen and (max-width: 900px) {
        .hero {
            margin-top: calc(2rem + 30px);
            padding: 1rem;
            width: calc(100vw - 2rem);
            min-height: calc(100svh - (3rem + 30px));
            font-size: 45px;
            text-align: unset;
        }

        .qualities {
            padding: 0 1rem 130px;
        }

        .format-container {
            padding: 0 1rem 130px;
        }

        .services {
            padding: 130px 1rem;
        }

        .qualities .head p {
            width: 100%;
        }

        .services .top p {
            font-size: 20px;
        }
    }

    @media only screen and (max-width: 639px) {
        .format-container {
            .services_item {
                -ms-flex-preferred-size: 100%;
                flex-basis: 100%;
            }

            .services-item_title {
                min-height: 72px;
                line-height: 1;
                font-size: 24px;
            }

            .services-item_link {
                padding: 22px 40px;
            }
        }
    }
}