
/*
|--------------------------------------------------------------------------
| Main Download Section
|--------------------------------------------------------------------------
*/

.myflix-download-section {
    width: 100%;
    margin: 25px 0;
    padding: 0;
    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.myflix-download-heading {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 0 0 25px;
    padding: 0;

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Heading Icon
|--------------------------------------------------------------------------
*/

.myflix-heading-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #ed101a;

    font-size: 25px;
}


/*
|--------------------------------------------------------------------------
| Heading Text
|--------------------------------------------------------------------------
*/

.myflix-download-heading h2 {
    margin: 0;
    padding: 0;

    font-size: 26px;
    line-height: 1.3;

    font-weight: 700;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| Heading White Text
|--------------------------------------------------------------------------
*/

.myflix-heading-white {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Heading Red Text
|--------------------------------------------------------------------------
*/

.myflix-heading-red {
    color: #ed101a;
}


/*
|--------------------------------------------------------------------------
| Download Button Container
|--------------------------------------------------------------------------
*/

.myflix-download-buttons {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Download Button
|--------------------------------------------------------------------------
*/

.myflix-download-btn {
    width: 360px;
    max-width: 100%;

    min-height: 64px;

    margin: 0 auto 16px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    background: #0b0b0b;

    border: 2px solid #ed101a;
    border-radius: 12px;

    color: #eeeeee;

    text-decoration: none !important;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;

}


/*
|--------------------------------------------------------------------------
| Button Text
|--------------------------------------------------------------------------
*/

.myflix-download-text {
    flex: 1;

    display: block;

    padding: 0 15px;

    text-align: center;

    color: #eeeeee;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;

    transition: color 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| Download Size
|--------------------------------------------------------------------------
*/

.myflix-download-size {
    color: #aaaaaa;

    font-weight: 600;

    transition: color 0.25s ease;
}


/*
|--------------------------------------------------------------------------
| Download Arrow Icons
|--------------------------------------------------------------------------
*/

.myflix-download-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: #aaaaaa;

    font-size: 22px;

    /*
     * Continuous up/down movement.
     * The arrow itself always points DOWN.
     */
    animation: arrowDownMove 0.8s ease-in-out infinite;
}


/*
|--------------------------------------------------------------------------
| Arrow Up / Down Animation
|--------------------------------------------------------------------------
*/

@keyframes arrowDownMove {

    0% {
        transform: translateY(-4px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-4px);
    }

}


/*
|--------------------------------------------------------------------------
| Hover Button
|--------------------------------------------------------------------------
*/

.myflix-download-btn:hover {
    background: #ed101a;

    border-color: #ed101a;

    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(237, 16, 26, 0.35);

    text-decoration: none !important;
}


/*
|--------------------------------------------------------------------------
| Hover Text
|--------------------------------------------------------------------------
*/

.myflix-download-btn:hover .myflix-download-text {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hover Size
|--------------------------------------------------------------------------
*/

.myflix-download-btn:hover .myflix-download-size {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Hover Arrow
|--------------------------------------------------------------------------
*/

.myflix-download-btn:hover .myflix-download-icon {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Button Active / Click
|--------------------------------------------------------------------------
*/

.myflix-download-btn:active {
    box-shadow:
        0 4px 12px rgba(237, 16, 26, 0.25);
}


/*
|--------------------------------------------------------------------------
| Button Focus
|--------------------------------------------------------------------------
*/

.myflix-download-btn:focus {
    outline: none;

    text-decoration: none !important;
}


/*
|--------------------------------------------------------------------------
| Remove Default Link Effects
|--------------------------------------------------------------------------
*/

.myflix-download-btn:visited,
.myflix-download-btn:active {
    text-decoration: none !important;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 600px) {

    .myflix-download-section {
        margin: 20px 0;
    }


    .myflix-download-heading {
        margin-bottom: 20px;
    }


    .myflix-heading-icon {
        width: 32px;
        height: 32px;

        font-size: 21px;
    }


    .myflix-download-heading h2 {
        font-size: 21px;
    }


    .myflix-download-btn {
        width: 100%;

        min-height: 58px;

        margin-bottom: 13px;

        padding: 0 16px;

        border-radius: 10px;

        font-size: 16px;
    }


    .myflix-download-text {
        padding: 0 10px;
    }


    .myflix-download-icon {
        width: 26px;
        height: 26px;

        font-size: 19px;
    }

}


/*
|--------------------------------------------------------------------------
| Very Small Mobile
|--------------------------------------------------------------------------
*/

@media screen and (max-width: 380px) {

    .myflix-download-heading h2 {
        font-size: 19px;
    }


    .myflix-download-btn {
        min-height: 54px;

        font-size: 15px;

        padding: 0 12px;
    }


    .myflix-download-text {
        padding: 0 7px;
    }


    .myflix-download-icon {
        width: 24px;
        height: 24px;

        font-size: 17px;
    }

}