/* Add Google Material Icons font */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

html {
    overflow: auto;
}

body {
    margin: 0;
}

.video-wrapper {
  text-align: center;
}

.video-container {
  display: inline-block;
  position: relative;
  text-align: center; /* Center the content horizontally within the container */
}

.video-container video {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 36px; /* Increase font size */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button:focus {
    outline: none;
}

.text-container {
    text-align: center;
    margin-top: 8px; /* Adjust margin as needed */
}

.text-container p {
    margin: 0;
    font-weight: bold;
}

/* Responsive CSS */
@media (max-width: 853px) {
    .video-container video {
        width: 100%;
        height: auto;
    }

    .play-button {
        display: none; /* Hide the play button on devices with screen width >= 853px */
    }
}

@media (min-width: 855px) {
    .video-container video {
        height: 94vh; /* Set height to 95% of viewport height */
        width: auto;
        margin: 0 auto; /* Center the video horizontally */
    }
}
