body {
    max-width: max-content !important;
}

.sub-titles {
    display: flex;
    font-size: 3em;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px 0;
    background-color: #fff;
}

.sub-titles>span {
    transition: all 0.1s;
    transform: scale(1);
    position: relative;
    display: block;
    padding: 0 5px;
    color: #114ea0;
    position: absolute;
}

.sub-titles>span.hide {
    transform: scale(0);
}

.part-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 360px;
    padding: 1rem;
    background-color: #fafafa;
}

/**/
div#video_player_box:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(3, 6, 50, 0.40);
    backdrop-filter: grayscale(1) blur(10px);
    z-index: -1;
    background-attachment: fixed;
}

div#video_player_box {
    width: 100vw;
    height: 100vh;
    background: transparent;
    margin: 0;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

div#video_player_box video {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    margin: 0;
}

.text-input-for-speech {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    font-family: sans-serif;
    position: absolute;
    z-index: 10;
    opacity: 1;
    transition: all 0.3s;
}

.text-input-for-speech.activated,
.text-input-for-speech.deactive {
    opacity: 0;
}
.text-input-for-speech.finished {
    visibility: hidden;
}

.video-frame-wrap:hover+.text-input-for-speech.deactive,
.text-input-for-speech.deactive:hover,
.video-frame-wrap:hover+.text-input-for-speech.activated,
.text-input-for-speech.activated:hover {
    opacity: 1;
}

.text-input-for-speech.deactive .play-toggle>span {
    opacity: 0 !important;
}

.text-input-for-speech.deactive .play-toggle .play-icon:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-130%, -50%);
    width: 0;
    border-top: 0 solid transparent;
    border-left: 6px solid #0274FA;
    border-bottom: 0 solid transparent;
    height: 20px;
}

.text-input-for-speech.deactive .play-toggle .play-icon:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(28%, -50%);
    width: 0;
    border-top: 0 solid transparent;
    border-left: 6px solid #0274FA;
    border-bottom: 0 solid transparent;
    height: 20px;
}

.text-input-for-speech input {
    height: 35px;
    border: 1px solid #c0c8c9;
    border-radius: 4px;
    margin: 0 0rem;
    padding: 0 6px;
}

.text-input-for-speech button {
    font-size: 1.1em;
    padding: 4px 2rem;
    border: none;
    border-radius: 4px;
    background-color: beige;
    font-weight: 600;
    color: #f6ac4d;
}

.video-frame-wrap {
    position: relative;
    overflow: hidden;
    /* width: 500px; */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 0px 16px 0px #121212;
    border-radius: 10px;
    background-color: #121212;
}

.customer-lbl-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    top: 0;
    left: 0;
    font-size: 2.5em;
    color: #fff;
    font-weight: 600;
}

#audiofile {
    display: none;
}

.detail-link-wrap {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.detail-link-wrap>a {
    text-decoration: none;
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    transition: all 0.4s;
    z-index: 222;
}

.detail-link-wrap>a:hover {
    color: #fff;
    opacity: 0.7;
}

.detail-link-wrap .text-input-for-speech {
    position: relative;
    margin-left: 0 !important;
}

.customer-lbl-wrap>span {
    position: relative;
    display: block;
    padding: 0 5px;
    animation-duration: 0.2s !important;
    color: #fff;
    border-radius: 10px;
    padding: 10px 1.2rem;
    text-transform: capitalize;
    margin-top: 4rem;
}

.customer-lbl-wrap>span:nth-child(even) {
    margin-top: 27rem;
}

.customer-lbl-wrap>span.hide {
    /* transform: scale(0); */
    display: none !important;
}

/**/
select#js--animations {
    padding: 0;
    height: 42px;
    max-width: 200px;
    font-size: 0.9em;
    background-color: transparent;
    color: #fff;
    border-radius: 9px;
    font-weight: 700;
    min-width: 200px;
}

.sp-inpt-name {
    display: flex;
    flex-direction: column;
}

/*Play Button*/
.play-toggle {
    position: relative;
    cursor: pointer;
    z-index: 20;
}

.play-toggle .play-circle,
.play-toggle .play-circle:before,
.play-toggle .play-circle:after,
.play-toggle span {
    display: inline-block;
    vertical-align: middle;
}

.play-toggle span {
    color: white;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: transform 350ms ease;
}

.play-toggle span select,
.play-toggle span strong {
    display: inline-block;
    opacity: 0;
    transform: translate3d(-1rem, 0, 0);
    -webkit-animation: slideIn 400ms ease forwards;
    animation: slideIn 400ms ease forwards;
}

.play-toggle span select {
    color: rgba(255, 255, 255, 0.7);
    -webkit-animation-delay: 700ms;
    animation-delay: 700ms;
}

.play-toggle span strong>small {
    font-size: 0.7em;
    opacity: 0.8;
}

.play-toggle span strong {
    font-size: 1em;
    font-weight: 900;
    letter-spacing: 0px;
    -webkit-animation-delay: 750ms;
    animation-delay: 750ms;
    text-align: center;
    text-transform: capitalize;
}

.play-toggle .play-circle,
.play-toggle .play-circle:before,
.play-toggle .play-circle:after {
    position: relative;
    height: 4rem;
    width: 4rem;
    background: white;
    border-radius: 50%;
    transform: scale(0);
    -webkit-animation: scaleIn 500ms cubic-bezier(0.075, 0.82, 0.165, 1) 500ms forwards;
    animation: scaleIn 500ms cubic-bezier(0.075, 0.82, 0.165, 1) 500ms forwards;
}

.play-toggle .play-circle:before,
.play-toggle .play-circle:after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    opacity: 0.04;
}

.play-toggle .play-circle:before {
    height: 8rem;
    width: 8rem;
    margin-left: -4rem;
    margin-top: -4rem;
}

.play-toggle .play-circle:after {
    height: 12rem;
    width: 12rem;
    margin-left: -6rem;
    margin-top: -6rem;
}

.play-toggle .play-icon {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 24px rgba(0, 0, 0, 0.3);
    transition: transform 350ms ease;
}

.play-toggle .play-icon:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-35%, -50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-left: 15px solid #0274FA;
    border-bottom: 10px solid transparent;
}

.play-toggle:hover .play-icon {
    transform: scale(1.1);
}

.play-toggle:hover span {
    transform: translateX(0.3rem);
}

@-webkit-keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@-webkit-keyframes slideIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/*Play Button END*/
@media only screen and (min-device-width: 760px) and (max-device-width: 1024px) {
    div#video_player_box video {
        border-radius: 10px;
        width: 100% !important;
        height: 100% !important;
        margin: 0;
    }

    .video-frame-wrap:hover+.text-input-for-speech.deactive,
    .text-input-for-speech.deactive:hover,
    .video-frame-wrap:hover+.text-input-for-speech.activated,
    .text-input-for-speech.activated:hover {
        opacity: 0;
    }

}

@media only screen and (min-device-width: 190px) and (max-device-width: 1025px) and (orientation:portrait) {

    /* For portrait layouts only */
    div#video_player_box {
        padding: 0;
    }

    .video-frame-wrap {
        width: 100%;
        height: 100%;
        margin: 0;
        box-shadow: none;
        background-color: transparent;
        border-radius: 0;
    }

    div#video_player_box video {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .text-input-for-speech {
        margin-left: auto;
    }

    .play-toggle span {
        display: none;
    }

    .play-toggle .play-circle:after {
        height: 22rem !important;
        width: 22rem !important;
        margin-left: -11rem;
        margin-top: -11rem;
        opacity: 0.1;
    }

    .play-toggle .play-circle:before {
        height: 16rem !important;
        width: 16rem !important;
        margin-left: -8rem;
        margin-top: -8rem;
        opacity: 0.1;
    }

    .play-toggle .play-circle,
    .play-toggle .play-circle:before,
    .play-toggle .play-circle:after {
        width: 8rem;
        height: 8rem;
    }

    .customer-lbl-wrap {
        font-size: 6.5em;
    }

    .text-input-for-speech.text-input-for-speech.deactive .play-toggle {
        opacity: 0;
    }

    .play-toggle .play-icon:after {
        border-top: 20px solid transparent;
        border-left: 30px solid #0274FA;
        border-bottom: 20px solid transparent;
    }
}