/* Template: Leno - Mobile App HTML Landing Page Template
   Author: Inovatik
   Created: Mar 2019
   Description: Master CSS file
*/

/*****************************************
Colors:

- Text, navbar links - white #f1f1f8 --> B1B4BE -->
- Buttons, bullets, icons - turquoise #00c9db --> 12afd8 --> CCE4EA --> A58542 --> fcd739
- Navbar - navy #4633af --> 282d35 --> 144A5E -- > 396289 --> 88a9c3
- Backgrounds - dark denim #262431 --> 1D4553 --> 00596D --> 2b4257
- Backgrounds - denim #2f2c3d --> 53616E --> 446171 --> 88a9c3 --> 345e7d
- small highlights - 990228 --> D20337 --> B7352D --> fcd739
- rotating text - 40e0ee --> B7352D --> B7352D --> fcd739
******************************************/

/* Fix Play Button Position */
.play-button {
    display: block !important;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

@keyframes pulse-border {
	0% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
		opacity: 0;
	}
}
/* end of video play button */

/* General Video Styling */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000;
	aspect-ratio: 16/9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container .video-thumbnail {
    width: 100%;  /* Make it fill the container */
    height: auto;  /* Keep aspect ratio */
    display: block;
    object-fit: contain; /* Ensures full image is shown */
}

/* Play Button Styling */
.video-container .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.video-container .video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Mobile Specific Adjustments */
@media only screen and (max-width: 767px) {
    .video-container {
        padding-bottom: 56.25%; /* Adjust if needed for different aspect ratios on mobile */
    }
}

.video-course-content-thumbnail {
    max-width: 75px;  /* Adjust to match the original image size */
    max-height: 75px; /* Adjust as needed */
    border-radius: 50%; /* If the images were circular, this keeps it */
    object-fit: cover;  /* Ensures the aspect ratio is maintained */
}

/* } */
