@import url('https://fonts.maateen.me/bangla/font.css');

* {
    box-sizing: border-box;
    margin-right: 0 !important;
    padding: 0;
    margin: 0;
}

/* Video Background */
.video-background {
    background: #000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 00;
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content Wrapper for Top Information */
#vidtop-content {
    top: 0;
    color: #fff;
}

/* Video Information Section */
.vid-info {
    position: absolute;
    top: 20px;
    left: -46px;
    color: #fff;
    font-family: 'Bangla', sans-serif;
}

.vid-info img {
    width: 150px;
    height: auto;
}

.vid-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    line-height: 1.2;
}

.vid-info a {
    display: block;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    transition: .6s background;
    margin: 1rem auto;
    text-align: center;
}

/* Scrolling Content */
#scrl-content {
    bottom: 0px !important;
    color: #070707;
    position: absolute;
    width: 100%;
    background: #ddd9d9;
    font-size: 28px;
    font-family: 'Bangla', sans-serif;
    font-weight: 600;
}

marquee {
    font-family: 'Bangla', sans-serif;
    color: #333;
    font-size: 20px;
    background-color: #f9f9f9;
    padding: 5px;
    border-radius: 5px;
}

/* Fullscreen Button */
.fullscr {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.fullscr:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Timer */
.timer {
    float: left;
    margin-right: 7px !important;
    background: #e10707;
    padding: 0px 6px;
    color: white;
    font-weight: bold;
}

/* Right-aligned Label */
.talr {
    float: right;
    background: #ffffff;
    padding: 0px 4px 3px;
    margin-top: 25px;
    border-radius: 5px;
    color: #f10a0a;
    font-weight: 700;
    font-size: 14px;
}

/* Live Time */
.livetime {
    background: #40407a;
    color: #fff;
    text-align: center;
    font-size: 17px;
    padding: 4px;
}

/* Headline Section */
.hdline {
    text-align: center;
    background: #181617;
    color: #fff;
    padding-top: 5px;
    font-size: 23px;
}

/* Aspect Ratio Adjustments */
@media (min-aspect-ratio: 16/9) {
    .video-foreground {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-foreground {
        width: 300%;
        left: -100%;
    }
}

/* Responsiveness for Small Screens */
@media all and (max-width: 600px) {
    .vid-info {
        width: 57%;
        padding: 3px;
        margin-top: -6px;
        margin-left: -45px;
    }

    .vid-info img {
        width: 100px;
        height: auto;
        position: absolute;
        right: -8px;
    }

    .vid-info h1 {
        margin-bottom: .2rem;
    }
}

@media all and (max-width: 500px) {
    .vid-info .acronym {
        display: none;
    }

    .talr {
        margin-top: 12px !important;
        font-size: 14px;
    }
}

/* Improved Responsiveness */
@media all and (max-width: 768px) {
    .video-foreground {
        height: 120%;
        top: -10%;
    }
}
