.ova-video .text {
transition: all 0.3s linear;
display: inline-block;
vertical-align: top;
color: #fff;
font-size: 20px;
line-height: 1.2;
margin: 45px 0 0;
}
.ova-video .text a {
transition: all 0.3s linear;
color: var(--primary);
}
.ova-video .text:hover a {
transition: all 0.3s linear;
color: var(--heading);
}
.ova-video .icon-content-view {
display: inline-block;
}
.ova-video .icon-content-view.no-animation .video-btn:before, .ova-video .icon-content-view.no-animation .video-btn:after {
animation: none;
}
.ova-video .icon-content-view .video-btn {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100px;
height: 100px;
}
.ova-video .icon-content-view .video-btn:hover {
cursor: pointer;
}
.ova-video .icon-content-view .video-btn:hover:before {
transition: all 0.3s linear;
background-color: #fff;
}
.ova-video .icon-content-view .video-btn:hover i {
transition: all 0.3s linear;
color: var(--primary);
}
.ova-video .icon-content-view .video-btn:hover:after {
transition: all 0.3s linear;
background-color: rgba(255, 255, 255, 0.05);
}
.ova-video .icon-content-view .video-btn:before {
transition: all 0.3s linear;
position: absolute;
content: "";
top: 50%;
left: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
width: 85%;
height: 85%;
background-color: var(--primary);
z-index: 1;
animation: lineScale 2.5s linear infinite;
}
.ova-video .icon-content-view .video-btn i {
transition: all 0.3s linear;
font-size: 18px;
display: inline-flex;
color: #fff;
z-index: 2;
}
.ova-video .icon-content-view .video-btn:after {
transition: all 0.3s linear;
position: absolute;
content: "";
top: 50%;
left: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.1);
z-index: 0;
animation: lineScale 2.5s linear infinite;
}
.ova-video .ova-modal-container {
display: none;
background-color: rgba(0, 0, 0, 0.2);
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
z-index: 10;
}
.ova-video .ova-modal-container .modal {
width: 900px;
height: 500px;
position: relative;
}
@media screen and (max-width: 900px) {
.ova-video .ova-modal-container .modal {
width: 768px;
height: 450px;
}
}
@media screen and (max-width: 788px) {
.ova-video .ova-modal-container .modal {
width: 600px;
height: 350px;
}
}
@media screen and (max-width: 620px) {
.ova-video .ova-modal-container .modal {
width: 400px;
height: 250px;
}
}
@media screen and (max-width: 420px) {
.ova-video .ova-modal-container .modal {
width: 320px;
height: 200px;
}
}
@media screen and (max-width: 330px) {
.ova-video .ova-modal-container .modal {
width: 300px;
height: 180px;
}
}
.ova-video .ova-modal-container .modal i {
transition: all 0.3s ease;
position: absolute;
right: -10px;
top: -35px;
padding: 10px;
cursor: pointer;
font-size: 12px;
color: #fff;
font-weight: 600;
}
.ova-video .ova-modal-container .modal i:hover {
color: #000;
}
.ova-video .ova-modal-container .modal .modal-video {
width: 100%;
height: 100%;
border: none;
}
@keyframes lineScale {
50% {
transform: translate(-50%, -50%) scale(1.5);
}
50% {
transform: translate(-50%, -50%) scale(0.8);
}
}