﻿#hero-parent {
    background-image: url('../images/bg/hero/21x9/personal training.webp');
    background-size: cover;
    height: 41.75vw;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    #hero-parent iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 42.25vw;
        transform: translate(-50%, -50%);
    }

    #hero-parent .content {
        display: flex;
        flex-direction: column;
        padding: 4vw 7vw;
        position: absolute;
        color: #f7f7f7;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

        #hero-parent .content .title {
            font-size: 5vw;
            font-weight: 800;
            line-height: 4.5vw;
            text-shadow: 0.25vw 0.25vw #000;
            width: 50vw;
        }

        #hero-parent .content .text {
            font-size: 1.25vw;
            font-weight: 600;
            margin-top: 2vw;
            display: flex;
            flex-direction: column;
            width: 50vw;
        }

            #hero-parent .content .text span:nth-of-type(2) {
                margin-top: 1vw;
            }

    #hero-parent .hero-nav {
        margin-top: 2vw;
        display: flex;
    }

        #hero-parent .hero-nav a {
            font-size: 1.5vw;
            font-weight: bold;
            text-shadow: 0.15vw 0.15vw #000;
            text-decoration: none;
            color: #f7f7f7;
            padding: 0.5vw 2vw;
            border-radius: 0.5vw;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            #hero-parent .hero-nav a:nth-of-type(1) {
                background: #ee2e24;
            }

            #hero-parent .hero-nav a:nth-of-type(2) {
                margin-left: 2vw;
                border: 0.15vw solid #f7f7f7;
            }

            .hero-parent-mobile {
                display: none;
            }

@media screen and (max-width: 1028px) {
    #hero-parent {
        background-size: cover;
        background-position-x: -16vw;
        background-position-y: 4vw;
        height: 56vw;
    }

        #hero-parent iframe {
            height: 74vw;
            position: unset;
            transform: unset;
        }

        #hero-parent .content {
            padding: 0;
            top: 18vw;
            text-align: center;
            justify-content: center;
            height: 42vw;
        }

            #hero-parent .content .title {
                width: 100%;
            }

            #hero-parent .content .text, #hero-parent .content .hero-nav {
                display: none;
            }

            #hero-parent .content .title {
                font-size: 7vw;
                line-height: 7vw;
            }

        #hero-parent .hero-nav {
            margin-top: 0;
        }

            #hero-parent .hero-nav ul {
                flex-wrap: wrap;
                font-size: 2.75vw;
            }

                #hero-parent .hero-nav ul li:nth-child(odd) {
                    width: 40%;
                }

                #hero-parent .hero-nav ul li:nth-child(even) {
                    padding: 0 2vw;
                }

                #hero-parent .hero-nav ul li.middle {
                    display: none;
                }

                #hero-parent .hero-nav ul li.text-right {
                    text-align: right;
                }

                #hero-parent .hero-nav ul li.text-left {
                    text-align: left;
                }

    .hero-parent-mobile {
        display: flex;
        flex-direction: column;
        background-color: #133880;
        color: #f7f7f7;
        text-align: center;
    }

    .hero-parent-mobile .text {
        padding: 5vw;
        font-size: 4.25vw;
    }

    .hero-parent-mobile .hero-nav {
        display: flex;
        flex-direction: column;
    }

    .hero-parent-mobile .hero-nav a {
        color: #f7f7f7;
        text-decoration: none;
        width: 70vw;
        margin: auto;
        padding: 2vw 0;
        border-radius: 1vw;
        box-shadow: 0.5vw 0.5vw 0.25vw rgba(0, 0, 0, 0.5);
        font-weight: 500;
    }

    .hero-parent-mobile .hero-nav a:nth-of-type(1) {
        background: #ee2e24;
    }

    .hero-parent-mobile .hero-nav a:nth-of-type(2) {
        border: 0.15vw solid #f7f7f7;
        margin: 5vw auto;
    }

}

@media screen and (max-width: 768px) {
    #hero-parent {
        height: 59vw;
    }

        #hero-parent iframe {
            height: 76vw;
        }
}
