@charset "utf-8";

/**
*
* -----------------------------------------------------------------------------
*
* Template : 3D Model Configurator | Black Ink Agency
* Author : blackink
* Author URI : https://blackink.agency
*
* -----------------------------------------------------------------------------
*
**/
* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: grayscale;
    font-family: 'Plus Jakarta Sans', Open Sans, sans-serif;

}

.app {
    text-align: center;
    max-width: 1300px;
    max-height: auto;
    margin: 40px auto;
    padding: 0px 30px;
}

/* Header */
img.model3dHeader__image {
    width: 298.3px;
    height: 54.6px;
    object-fit: contain;

}

h2.model3dHeader__title {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: center;
    color: #222529;
}

/**
 * Model3d
 ******************************************************************************/

.model3d {
    display: flex;
    border-radius: 15px;
    border: solid 2px #edeef0;
    background-color: #f8f9fa;
    background: #f8f9fa;
    align-items: center;
}

.model3d__intro {
    flex-shrink: 0;
    flex-basis: 30%;
}

.model3d__player {
    flex-basis: 70%;
}

.model3d__video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}



/**
 * Popup
 ******************************************************************************/
.ratio-16-9 {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-top: 76.25%;
}

.ratio__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Actions */
.model3d__actions {
    text-align: left;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
}

.model3d__action {
    display: flex;
    align-items: center;
    opacity: .379;
    margin-bottom: 25px;
}

a.model3d__action:hover,
a.model3d__action.active {
    opacity: 1;
}

.model3d__action span {
    font-size: 14px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #222529;
}

.model3d__action:last-child {
    margin-bottom: 0px;
}

.model3d__icon {
    width: 35px;
    margin-right: 25px;
    text-align: center;
}

.model3d__icon img {
    background-origin: border-box;
    background-clip: content-box, border-box;
    max-height: 35px;
}



/* Colors */

.modelColor {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: #fff;

}

a.modelColor__step {
    margin: 0 5px;
    border-radius: 100%;
    border: solid 3px transparent;
    padding: 5px;
    /* max-width: 100px; */
    /* max-height: 100px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

a.modelColor__step img {
    width: 100%;
    border-radius: 100%;
}

a.modelColor__step:hover,
a.modelColor__step:active {
    border-color: inherit;
}

a.modelColor__step.modelColor__step__0:hover,
a.modelColor__step.modelColor__step__0.active {
    border-color: #afb5b7;
}

a.modelColor__step.modelColor__step__1:hover,
a.modelColor__step.modelColor__step__1.active {
    border-color: #707070;
}

a.modelColor__step.modelColor__step__2:hover,
a.modelColor__step.modelColor__step__2.active {
    border-color: #e9eae7;
}

a.modelColor__step.modelColor__step__3:hover,
a.modelColor__step.modelColor__step__3.active {
    border-color: #963c40;
}

a.modelColor__step.modelColor__step__4:hover,
a.modelColor__step.modelColor__step__4.active {
    border-color: #222b41;
}

@media (max-width: 800px) {
    img.model3dHeader__image {
        width: 169.2px;
        height: 31px;
    }

    a.modelColor__step {
        padding: 2px;
    }

    h2.model3dHeader__title {
        font-size: 16px;
    }

    .model3d {
        flex-direction: column;
        align-items: unset;
    }

    .model3d__intro {
        margin-top: 0px;
        order: 1;
        position: relative;
    }

    .model3d__player {
        order: 0;
    }

    .model3d__actions {
        flex-direction: row;
        justify-content: center;
        padding-left: 0px;
    }

    .model3d__action span {
        display: none;
    }

    .model3d__action.active span {
        position: absolute;
        top: -35px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ratio-16-9 {
        padding-top: 90%;
    }

    .model3d__action {
        margin-bottom: 5px;
    }

    .model3d__action:last-child {
        margin-bottom: 5px;

    }

    .model3d__action:last-child .model3d__icon {
        margin-right: 0px;
    }

}
