:root {
    --firstcolor: #ee6059;
    --secondcolor: #999999;
    --section1color: #25292b;
    --section4color: #1e2123;
}

header {
    background-image: url(../images/homepage/home-banner.jpg);
    width: 100%;
    min-height: 100vh;
    background-size: cover;

    >.row {
        height: 180px;
        /* border: 1px solid red; */
        padding: 0 4%;
        padding-top: 20px;

        /* >* {
            border: 1px solid red;
        }  */

        &:nth-of-type(1) {
            >figure {
                width: 16%;
                display: flex;
                align-items: center;
                justify-content: center;

                >img {
                    width: 100%;
                    object-fit: cover;
                }
            }

            >nav {
                width: 64%;

                >ul {
                    width: 100%;
                    display: flex;
                    height: 100%;
                    justify-content: center;
                    gap: 42px;
                    padding-left: 30px;

                    >li {
                        /* border: 1px solid yellow; */
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        &:nth-of-type(1) {
                            >a {
                                color: var(--firstcolor);
                            }
                        }

                        >a {
                            margin-bottom: 14px;
                            padding: 5px 0;
                            /* border: 1px solid pink; */
                            color: white;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            text-transform: uppercase;
                            font-size: 15px;
                            transition: .6s;
                            font-weight: 500;

                            &:hover {
                                color: var(--firstcolor);
                            }
                        }
                    }
                }
            }

            >div {
                width: 20%;
                display: flex;
                align-items: center;
                justify-content: center;
                padding-left: 90px;
                margin-bottom: 17px;

                >a {
                    color: white;
                    width: 163px;
                    height: 57px;
                    background-color: var(--firstcolor);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    text-transform: uppercase;
                    font-size: 18px;
                }
            }
        }

        &:nth-of-type(2) {

            >h1 {
                display: flex;
                width: 100%;
                justify-content: center;
                align-items: center;
                margin-top: 70px;
                font-size: 100px;
                color: white;
            }

            >h3 {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
                color: white;
                font-weight: 300;
                font-size: 22px;
                padding-top: 52px;
            }

            >div {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;

                >a {
                    color: var(--secondcolor);
                    height: 60px;
                    width: 230px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    text-transform: uppercase;
                    border: 1px solid var(--secondcolor);
                    font-size: 18px;
                    margin-top: 45px;
                    transition: .4s;

                    &:hover {
                        color: white;
                        border: 1px solid white;
                    }
                }
            }
        }
    }
}

.section1 {
    width: 100%;
    min-height: 460px;
    background-color: var(--section1color);
    position: relative;

    >.row {
        padding-top: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* border: 1px solid red; */

        >h2 {
            display: flex;
            width: 100%;
            color: white;
            align-items: center;
            justify-content: center;
            font-size: 36px;
        }

        >figure {
            padding: 25px 0;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            >img {
                height: 100%;
                object-fit: cover;

            }
        }

        >h4 {
            color: var(--secondcolor);
            display: flex;
            text-align: center;
            width: 60%;
            font-size: 15px;
            font-weight: 400;
            line-height: 30px;
        }
    }

    >.box {
        position: absolute;
        bottom: -28%;
        left: 48%;
        width: 0;
        height: 0;
        margin: 100px auto;
        border-top: 30px solid var(--section1color);
        border-left: 30px solid rgba(255, 0, 0, 0);
        border-right: 30px solid rgba(255, 192, 203, 0);
        border-bottom: none;
    }

}

.section2 {
    width: 100%;
    min-height: 70vh;
    background-color: #1e2123;
    padding: 10% 12% 15% 12%;
    display: flex;

    >div {
        width: 100%;
        height: 100%;
        /* border: 1px solid red; */

        &:first-of-type {
            width: 50%;
            /* border: 1px solid red; */

            >figure {
                width: 550px;
                height: 315px;

                >img {
                    width: 100%;
                    object-fit: cover;
                    transition: .4s;

                    &:hover {
                        transform: scale(1.05);
                        box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.496);
                    }
                }
            }
        }

        &:last-of-type {
            width: 50%;
            padding-left: 15px;
            /* border: 1px solid red; */
            height: 300px;

            >fieldset {
                border: none;
                width: 550px;
                height: 300px;

                >h2 {
                    color: white;
                    margin-bottom: 40px;
                }

                >form {
                    >div {
                        &:first-of-type {
                            >.inp1 {
                                display: flex;
                                width: 100%;
                                color: #999999;
                                padding-bottom: 5px;
                                /* border: 1px solid red; */
                                margin-bottom: 10px;
                            }

                            >#inp1 {
                                background-color: #222527;
                                border: 1px solid #5a5b5c;
                                width: 550px;
                                height: 45px;
                                transition: .4s;
                                color: white;
                                caret-color: white;

                                &:hover {
                                    border: none;
                                }
                            }
                        }

                        &:nth-of-type(2) {
                            padding-top: 25px;

                            >.inp2 {
                                display: flex;
                                width: 100%;
                                color: #999999;
                                padding-bottom: 5px;
                                /* border: 1px solid red; */
                                margin-bottom: 10px;
                            }

                            >#inp2 {
                                background-color: #222527;
                                border: 1px solid #5a5b5c;
                                width: 550px;
                                height: 45px;
                                transition: .4s;
                                color: white;
                                caret-color: white;

                                &:hover {
                                    border: none;
                                }
                            }
                        }
                    }

                    >.button {
                        position: relative;

                        >button {
                            margin-top: 40px;
                            width: 550px;
                            height: 57px;
                            background-color: var(--firstcolor);
                            color: white;
                            font-size: 20px;
                            font-weight: normal;
                            text-transform: uppercase;
                            border: none;

                        }

                        >a {
                            /* border: 1px solid red; */
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            left: 0;
                            top: 0;
                        }
                    }
                }
            }

        }
    }
}

.section3 {
    width: 100%;
    min-height: 80vh;
    background-image: url(../images/section3/gym.jpg);
    background-size: cover;
    background-position: center;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.729);
        z-index: 1;
    }

    >.box {
        position: absolute;
        z-index: 2;
        width: 100%;
        display: flex;
        padding: 0 11%;
        gap: 40px;

        >div {


            &:nth-of-type(1) {
                width: 25%;
                /* border: 1px solid red; */
                height: 480px;
                /* display: flex;
                align-items: center;
                justify-content: center; */

                >div {
                    height: 350px;
                    /* border: 1px solid red; */
                    margin: 165px auto;
                    position: relative;

                    &:hover {
                        >.slash {
                            transform: scale(0.9);
                        }

                        >h2 {
                            color: var(--firstcolor);
                        }
                    }

                    >.slash {
                        width: 135px;
                        height: 135px;
                        border: 1px solid var(--firstcolor);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 0px auto;
                        transition: .4s;

                        >I {
                            display: flex;
                            width: 100%;
                            /* margin-top: 100px; */
                            align-items: center;
                            justify-content: center;
                            color: var(--firstcolor);
                            font-size: 70px;
                            font-weight: 700;

                        }
                    }

                    >h2 {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        color: white;
                        align-items: center;
                        justify-content: center;
                        font-size: 15px;
                        margin-top: 20px;
                    }

                    >figure {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: center;
                        margin-block: 30px;

                        >img {
                            height: 100%;
                            object-fit: cover;

                        }
                    }

                    >P {
                        /* border: 1px solid red; */
                        color: var(--secondcolor);
                        text-align: center;
                    }

                    >a {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        /* background-color: red; */
                    }
                }
            }

            &:nth-of-type(2) {
                width: 25%;
                /* border: 1px solid red; */
                height: 480px;
                /* display: flex;
                align-items: center;
                justify-content: center; */

                >div {
                    height: 350px;
                    /* border: 1px solid red; */
                    margin: 165px auto;
                    position: relative;

                    &:hover {
                        >.bicycle {
                            transform: scale(0.9);
                        }

                        >h2 {
                            color: var(--firstcolor);
                        }
                    }

                    >.bicycle {
                        width: 135px;
                        height: 135px;
                        border: 1px solid var(--firstcolor);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 0px auto;
                        transition: .4s;


                        >I {
                            display: flex;
                            width: 100%;
                            /* border: 1px solid white; */
                            /* margin-top: 100px; */
                            align-items: center;
                            justify-content: center;
                            color: var(--firstcolor);
                            font-size: 80px;
                            font-weight: 700;
                            margin-right: 15%;
                        }
                    }

                    >h2 {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        color: white;
                        align-items: center;
                        justify-content: center;
                        font-size: 15px;
                        margin-top: 20px;
                    }

                    >figure {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: center;
                        margin-block: 30px;

                        >img {
                            height: 100%;
                            object-fit: cover;

                        }
                    }

                    >P {
                        /* border: 1px solid red; */
                        color: var(--secondcolor);
                        text-align: center;
                    }

                    >a {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        /* background-color: red; */
                    }
                }
            }

            &:nth-of-type(3) {
                width: 25%;
                /* border: 1px solid red; */
                height: 480px;

                >div {
                    height: 350px;
                    /* border: 1px solid red; */
                    margin: 165px auto;
                    position: relative;

                    &:hover {
                        >.cloud {
                            transform: scale(0.9);
                        }

                        >h2 {
                            color: var(--firstcolor);
                        }
                    }

                    >.cloud {
                        width: 135px;
                        height: 135px;
                        border: 1px solid var(--firstcolor);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 0px auto;
                        transition: .4s;

                        >I {
                            display: flex;
                            width: 100%;
                            /* margin-top: 100px; */
                            align-items: center;
                            justify-content: center;
                            color: var(--firstcolor);
                            font-size: 70px;
                            margin-right: 10%;
                        }
                    }

                    >h2 {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        color: white;
                        align-items: center;
                        justify-content: center;
                        font-size: 15px;
                        margin-top: 20px;
                    }

                    >figure {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: center;
                        margin-block: 30px;

                        >img {
                            height: 100%;
                            object-fit: cover;

                        }
                    }

                    >P {
                        /* border: 1px solid red; */
                        color: var(--secondcolor);
                        text-align: center;
                    }

                    >a {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        /* background-color: red; */
                    }
                }
            }

            &:nth-of-type(4) {
                width: 25%;
                /* border: 1px solid red; */
                height: 480px;

                >div {
                    height: 350px;
                    /* border: 1px solid red; */
                    margin: 165px auto;
                    position: relative;


                    &:hover {
                        >.heart {
                            transform: scale(0.9);
                        }

                        >h2 {
                            color: var(--firstcolor);
                        }
                    }

                    >.heart {
                        width: 135px;
                        height: 135px;
                        border: 1px solid var(--firstcolor);
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin: 0px auto;
                        transition: .4s;

                        >I {
                            display: flex;
                            width: 100%;
                            /* margin-top: 100px; */
                            align-items: center;
                            justify-content: center;
                            color: var(--firstcolor);
                            font-size: 70px;
                            margin-top: 5%;
                        }
                    }

                    >h2 {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        color: white;
                        align-items: center;
                        justify-content: center;
                        font-size: 15px;
                        margin-top: 20px;
                    }

                    >figure {
                        /* border: 1px solid red; */
                        display: flex;
                        width: 100%;
                        align-items: center;
                        justify-content: center;
                        margin-block: 30px;

                        >img {
                            height: 100%;
                            object-fit: cover;
                        }
                    }

                    >P {
                        /* border: 1px solid red; */
                        color: var(--secondcolor);
                        text-align: center;
                        /* display: flex; */
                        /* width: 100%; */
                    }

                    >a {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        /* background-color: red; */
                    }
                }
            }
        }
    }

}

.section4 {
    width: 100%;
    min-height: 100vh;
    background-color: var(--section1color);

    >.row {
        padding-top: 130px;
        padding-bottom: 170px;

        >h2 {
            /* border: 1px solid red; */
            color: white;
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            font-size: 36px;
        }

        >figure {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 30px 0;

            >img {
                object-fit: cover;
                height: 100%;
            }
        }

        >.results {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 47px;
            margin-top: 12px;
            /* border: 1px solid red; */

            >div {

                &:nth-of-type(1) {
                    width: 570px;
                    height: 210px;
                    /* border: 1px solid red; */
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    /* justify-content: center; */
                    background-color: var(--section4color);

                    >figure {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        /* flex-wrap: wrap; */

                        /* border: 1px solid red; */

                        >img {

                            padding: 32px;
                            object-fit: cover;
                        }

                        .text {
                            display: flex;
                            width: 100%;
                            flex-direction: column;
                            padding: 40px 28px 0 0;

                            /* flex-wrap: wrap; */
                            >figcaption {
                                width: 100%;
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                /* border: 1px solid red; */
                                font-size: 14px;
                                color: var(--secondcolor);
                                line-height: 27px;
                            }

                            >span {
                                /* width: 100%; */
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                color: var(--secondcolor);
                                font-size: 15px;
                                font-weight: 700;
                                padding-top: 5px;
                            }
                        }
                    }
                }

                &:nth-of-type(2) {
                    width: 570px;
                    height: 210px;
                    /* border: 1px solid red; */
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    background-color: var(--section4color);

                    >figure {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        /* border: 1px solid red; */

                        >img {

                            padding: 32px;
                            object-fit: cover;
                        }

                        .text {
                            display: flex;
                            width: 100%;
                            flex-direction: column;
                            padding: 40px 28px 0 0;

                            >figcaption {
                                width: 100%;
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                /* border: 1px solid red; */
                                font-size: 14px;
                                color: var(--secondcolor);
                                line-height: 27px;
                            }

                            >span {
                                /* width: 100%; */
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                color: var(--secondcolor);
                                font-size: 15px;
                                font-weight: 700;
                                padding-top: 5px;
                            }
                        }
                    }
                }

                &:nth-of-type(3) {
                    width: 570px;
                    height: 210px;
                    /* border: 1px solid red; */
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    background-color: var(--section4color);

                    >figure {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        /* border: 1px solid red; */

                        >img {
                            padding: 32px;
                            object-fit: cover;
                        }

                        .text {
                            display: flex;
                            width: 100%;
                            flex-direction: column;
                            padding: 40px 28px 0 0;

                            >figcaption {
                                width: 100%;
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                /* border: 1px solid red; */
                                font-size: 14px;
                                color: var(--secondcolor);
                                line-height: 27px;
                            }

                            >span {
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                color: var(--secondcolor);
                                font-size: 15px;
                                font-weight: 700;
                                padding-top: 5px;
                            }
                        }
                    }
                }

                &:nth-of-type(4) {
                    width: 570px;
                    height: 210px;
                    /* border: 1px solid red; */
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;
                    background-color: var(--section4color);

                    >figure {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        /* border: 1px solid red; */

                        >img {

                            padding: 32px;
                            object-fit: cover;
                        }

                        .text {
                            display: flex;
                            width: 100%;
                            flex-direction: column;
                            padding: 40px 28px 0 0;

                            >figcaption {
                                width: 100%;
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                /* border: 1px solid red; */
                                font-size: 14px;
                                color: var(--secondcolor);
                                line-height: 27px;
                            }

                            >span {
                                display: flex;
                                align-items: center;
                                justify-content: start;
                                color: var(--secondcolor);
                                font-size: 15px;
                                font-weight: 700;
                                padding-top: 5px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.section5 {
    width: 100%;
    min-height: 100vh;
    background-color: var(--section1color);

    .row {
        >h2 {
            /* border: 1px solid red; */
            color: white;
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            font-size: 36px;
        }

        >figure {
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            /* border: 1px solid red; */
            margin-top: 32px;

            >img {
                object-fit: cover;
                height: 100%;
            }
        }

        >.performance {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            margin-top: 65px;
            gap: 45px;

            >div {
                &:nth-of-type(1) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }

                &:nth-of-type(2) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }

                &:nth-of-type(3) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }

                &:nth-of-type(4) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }

                &:nth-of-type(5) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }

                &:nth-of-type(6) {
                    width: 358px;
                    height: 240px;
                    /* border: 1px solid red; */

                    >figure {
                        position: relative;

                        &:hover {
                            >img {
                                transform: scale(1.05);
                                box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.279);
                            }
                        }

                        >img {
                            width: 100%;
                            object-fit: cover;
                            transition: .4s;
                        }

                        >a {
                            position: absolute;
                            width: 100%;
                            height: 100%;
                            top: 0;
                            left: 0;
                            /* background-color: red; */
                        }
                    }
                }
            }
        }
    }
}

.section6 {
    width: 100%;
    min-height: 80vh;
    background-color: var(--section1color);
    padding: 100px 0 0 0;

    >.row {
        width: 100%;
        height: 570px;
        background-image: url(../images/section6/1.png);
        background-size: cover;
        background-position: center;

        >blockquote {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            /* border: 1px solid red; */
            margin-top: 120px;

            >q {
                /* border: 1px solid red; */
                width: 45%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-size: 33px;
                text-align: center;
                quotes: none;
                font-weight: 400;
                line-height: 45px;
            }
        }

        >h3 {
            display: flex;
            width: 100%;
            color: white;
            justify-content: center;
            align-items: center;
            /* border: 1px solid red; */
            margin-top: -180px;
            font-size: 17px;
        }
    }
}

.section7 {
    width: 100%;
    min-height: 100vh;
    background-color: var(--section4color);
    padding-top: 140px;
    position: relative;

    >.row {
        >h2 {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            color: white;
        }

        >figure {
            display: flex;
            width: 100%;
            justify-content: center;
            align-items: center;
            padding: 30px 0;

            >img {
                height: 100%;
                object-fit: cover;
            }
        }

        .trainers {
            width: 100%;
            padding: 0 10%;
            /* border: 1px solid red; */
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            gap: 47px;

            >div {

                &:nth-of-type(1) {
                    /* border: 1px solid red; */
                    width: 360px;
                    height: 580px;
                    background-color: var(--section1color);

                    >figure {
                        width: 100%;
                        height: 270px;

                        >a {
                            img {
                                width: 100%;
                                object-fit: cover;
                                transition: .4s;

                                &:hover {
                                    transform: scale(1.02);
                                    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.234);
                                }
                            }
                        }

                        >figcaption {
                            display: flex;
                            align-items: center;
                            flex-wrap: wrap;
                            width: 100%;
                            padding: 37px 44px;

                            >strong {
                                display: flex;
                                width: 100%;
                                color: white;
                            }

                            >p {
                                color: var(--secondcolor);
                                padding: 30px 0;
                                line-height: 34px;
                            }

                            >nav {
                                width: 100%;

                                >ul {
                                    width: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: start;
                                    gap: 7%;
                                    /* border: 1px solid red; */

                                    >li {
                                        >a {
                                            >i {
                                                background-color: var(--section4color);
                                                font-size: 25px;
                                                color: white;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                &:nth-of-type(2) {
                    /* border: 1px solid red; */
                    width: 360px;
                    height: 580px;
                    background-color: var(--section1color);

                    >figure {
                        width: 100%;
                        height: 270px;


                        >a {
                            img {
                                width: 100%;
                                object-fit: cover;
                                transition: .4s;

                                &:hover {
                                    transform: scale(1.02);
                                    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.234);
                                }
                            }
                        }

                        >figcaption {
                            display: flex;
                            align-items: center;
                            flex-wrap: wrap;
                            width: 100%;
                            padding: 37px 44px;

                            >strong {
                                display: flex;
                                width: 100%;
                                color: white;
                            }

                            >p {
                                color: var(--secondcolor);
                                padding: 30px 0;
                                line-height: 34px;
                            }

                            >nav {
                                width: 100%;

                                >ul {
                                    width: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: start;
                                    gap: 7%;
                                    /* border: 1px solid red; */

                                    >li {
                                        >a {
                                            >i {
                                                background-color: var(--section4color);
                                                font-size: 25px;
                                                color: white;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                &:nth-of-type(3) {
                    /* border: 1px solid red; */
                    width: 360px;
                    height: 580px;
                    background-color: var(--section1color);

                    >figure {
                        width: 100%;
                        height: 270px;


                        >a {
                            img {
                                width: 100%;
                                object-fit: cover;
                                transition: .4s;

                                &:hover {
                                    transform: scale(1.02);
                                    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.234);
                                }
                            }
                        }

                        >figcaption {
                            display: flex;
                            align-items: center;
                            flex-wrap: wrap;
                            width: 100%;
                            padding: 37px 44px;

                            >strong {
                                display: flex;
                                width: 100%;
                                color: white;
                            }

                            >p {
                                color: var(--secondcolor);
                                padding: 30px 0;
                                line-height: 34px;
                            }

                            >nav {
                                width: 100%;

                                >ul {
                                    width: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: start;
                                    gap: 7%;
                                    /* border: 1px solid red; */

                                    >li {
                                        >a {
                                            >i {
                                                background-color: var(--section4color);
                                                font-size: 25px;
                                                color: white;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        >div {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding-bottom: 150px;
            margin-top: 80px;

            >a {
                font-size: 18px;
                width: 260px;
                height: 54px;
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--secondcolor);
                border: 1px solid var(--secondcolor);
                transition: .4s;

                &:hover {
                    color: white;
                    border: 1px solid white;
                }
            }
        }
    }

    >.box {
        position: absolute;
        bottom: -10.8%;
        left: 48%;
        width: 0;
        height: 0;
        margin: 100px auto;
        border-top: 31px solid var(--section4color);
        border-left: 31px solid rgba(255, 0, 0, 0);
        border-right: 31px solid rgba(255, 192, 203, 0);
        border-bottom: none;

    }
}

.section8 {
    width: 100%;
    min-height: 185vh;
    background-color: var(--section1color);

    >.row {
        &:nth-of-type(1) {
            >h2 {
                margin-top: 124px;
                display: flex;
                width: 100%;
                align-items: center;
                justify-content: center;
                font-size: 36px;
                color: white;
            }

            >figure {
                display: flex;
                width: 100%;
                justify-content: center;
                align-items: center;
                padding: 30px 0;

                >img {
                    height: 100%;
                    object-fit: cover;
                }
            }
        }

        &:nth-of-type(2) {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            /* border: 1px solid red; */
            gap: 60px;

            >div {
                /* border: 1px solid red; */
                height: 470px;
                width: 350px;
                background-color: var(--section4color);


                >figure {
                    width: 100%;
                    height: 100%;
                    transition: 1s;
                    overflow: hidden;

                    &:hover {
                        transform: translateY(-10px);
                    }


                    >img {
                        height: 235px;
                        width: 100%;
                        object-fit: cover;
                        transition: 1s;

                        &:hover {
                            transform: scale(1.09);
                        }
                    }

                    >figcaption {
                        width: 100%;
                        display: flex;
                        flex-wrap: wrap;


                        >h2 {
                            /* border: 1px solid red; */
                            display: flex;
                            width: 100%;
                            justify-content: center;
                            align-items: center;
                            margin: 20px 0;
                            transition: 1s;

                            &:hover {
                                >a {
                                    color: var(--firstcolor);
                                }
                            }

                            >a {
                                display: flex;
                                width: 80%;
                                color: white;
                                font-size: 20px;
                            }
                        }

                        >p {
                            width: 90%;
                            color: var(--secondcolor);
                            font-size: 14px;
                            line-height: 25px;
                            padding-left: 30px;
                        }
                    }
                }
            }
        }

        &:nth-of-type(3) {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            /* background-color: none; */
            margin: 55px 0;
            /* border: 1px solid red; */

            >a {
                border: 1px solid var(--secondcolor);
                display: flex;
                align-items: center;
                justify-content: center;
                height: 55px;
                width: 260px;
                color: var(--secondcolor);
                font-size: 18px;
                font-weight: 500;
                transition: .4s;
                &:hover{
                    border: 1px solid white;
                    color: white;
                }
            }
        }
    }

}

footer {
    width: 100%;
    min-height: 100vh;
    background-image: url(../images/footer/IMG_4229.JPG);
    width: 100%;
    position: relative;
    /* background-size: cover; */
    background-position: 48%;

    &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.518);
    }

    >div {
        display: flex;
        width: 100%;

        &:nth-of-type(1) {
            width: 50%;
            height: 100%;
            position: absolute;
            z-index: 1;
            top: 0;
            left: 0;


            >figure {
                width: 100%;
                height: 100%;
                display: flex;
                overflow: hidden;
                position: relative;

                &:hover {
                    >figcaption {
                        bottom: 20%;
                    }
                }

                >img {
                    width: 100%;
                    object-fit: cover;
                }

                >figcaption {
                    width: 100%;
                    position: absolute;
                    left: 0;
                    bottom: -20%;
                    z-index: 2;
                    transition: 1s;

                    >nav {
                        >ul {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 25%;
                            /* border: 1px solid red; */

                            >li {
                                /* border: 1px solid red; */

                                &:nth-of-type(1) {
                                    >a {
                                        font-size: 80px;
                                        color: #E4405F;
                                    }
                                }

                                &:nth-of-type(2) {
                                    >a {
                                        font-size: 80px;
                                        color: #0077b5;
                                    }
                                }

                                &:nth-of-type(3) {
                                    font-size: 80px;
                                    color: white;
                                }
                            }
                        }
                    }
                }
            }
        }

        &:last-of-type {
            width: 50%;
            height: 100%;
            /* border: 1px solid red; */
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            flex-wrap: wrap;
            z-index: 1;
            font-family: "Beau Rivage", cursive;

            >strong {
                &:nth-of-type(1) {
                    font-size: 80px;
                    width: 100%;
                    height: 250px;
                    margin-top: 10%;
                    display: flex;
                    color: white;
                    /* border: 1px solid red; */
                    padding: 18% 0 0 10%;
                }

                &:last-of-type {
                    /* border: 1px solid red; */
                    font-size: 80px;
                    display: flex;
                    width: 100%;
                    color: white;
                    padding-left: 10%;
                    height: 250px;
                    margin-bottom: 100%;
                    padding: 0 0 19% 40%;
                }
            }
        }
    }
}