.button-style {
    background-color: #007bff;
    /* Bootstrap primary color */
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    box-shadow: 0px 0px 0px #000000;
    /* Shadow for better visibility */
}

.button-style:hover {
    background-color: #0056b3;
    /* Darker shade for hover effect */
}

.text-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.967);
    /* Semi-transparent white background */
    padding: 10px;
    border-radius: 10px;
}

.text-content {
    color: #000000;
    /* Dark text for better visibility */
    text-shadow: 1px 1px 2px #ffffff;
    /* White shadow for better legibility */
}
.video-container {
    margin: 20px auto;
    width: 90%;
    /* Relative width */
    max-width: 560px;
    /* Maximum width */
    background-color: #add8e6;
    /* Light blue background */
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /* Rounded corners */
}

@keyframes flashing {
    0% {
        color: red;
    }

    50% {
        color: transparent;
    }

    100% {
        color: red;
    }
}

.flashing-text {
    animation: flashing 1s infinite;
}

iframe {
    width: 100%;
    /* Full width of the container */
    height: calc(100vw * 9 / 16);
    /* Maintain aspect ratio (16:9 in this case) */
    max-height: 315px;
    /* Maximum height */
    border-radius: 10px;
}

@media (max-width: 600px) {
    .video-container {
        width: 100%;
        /* Full width on smaller screens */
        padding: 10px;
        /* Lesser padding for smaller screens */
    }
}
#mid-container {
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: lightblue;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
}

#mid-container img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensures the image takes up the full width available */
    margin: 0 auto;
    /* Centers the image */
}
 /* Apply styles to images inside the div */
 div img {
    border: 2px solid #000;
    /* Add border to the image */
    border-radius: 10px;
    /* Rounded corners for the image */
}
.responsive-ad {
    padding: 20px;
    /* Adjust the padding as needed */
    text-align: center;
    /* Centers the content */
    background-color: lightblue;
    /* Background color */
    border-radius: 10px;
    /* Rounded corners */
    overflow: hidden;
    /* Ensures content doesn't overflow */
    margin: 0 auto;
    /* Centers the container */
    width: 100%;
    /* Full width */
    max-width: 940px;
    /* Maximum width */
}

.responsive-ad img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensures the image takes up the full width available */
    margin: 0 auto;
    /* Centers the image */
}
