* 
{
    box-sizing: border-box;
}

.row:after 
{
    content: "";
    clear: both;
    display: block;
}

html
{
    font-family: "Courier New", Courier, monospace;
}

@media only screen and (min-width: 1200px)
{
    .lgap-head, .rgap-head
    {
        display: block;
    }
}

@media only screen and (max-width: 1200px)
{
    .lgap-head, .rgap-head
    {
        display: none;
    }
}

@media only screen and (min-width: 768px)
{
    .lside, .rside
    {
        display: block;
    }
    
    .welcome-message
    {
        display: block;
    }
    .text
    {
        font-size: 10px;
        padding-left:10px;
        float: left;
    }
}

@media only screen and (max-width: 768px)
{
    body
    {
        font-family: "times new roman", sans-serif;
        overflow-x: hidden;
    }
    .lside, .rside
    {
        display: none;
    }
    .welcome-message
    {
        display: block;
    }
    .text
    {
        font-size: 10px;
        margin-left: 40px;
        padding-left:10px;
        align-items: center;
        justify-content: center;
        /*text-align: center;*/
        float: left;
    }
}
body
{
    max-width: 100%;
    margin: 0 0 !important;
    float: none !important;
    background: #eeeeee;
    color: #333;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

a 
{
    color:#333;
    text-decoration: none;
}

/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
@media only screen and (max-width: 750px)
{
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
}
[class*="col-"] {
    float: left;
}

/* =========================
   YouTube Video Grid Section
   ========================= */
.ads {
    margin: 20px 0;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
    gap: 15px;
}

.video-tile {
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.video-tile img {
    width: 100%;
    display: block;
}

.video-tile:hover {
    transform: scale(1.05);
}

.video-tile p {
    margin: 8px 0;
    font-size: 14px;
    font-weight: bold;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}
@media only screen and (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
}

/* =========================
   Popup Modal for Video
   ========================= */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}

.video-modal-content {
    margin: auto;
    background: #000;
    padding: 10px;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.video-modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.video-modal .close {
    position: absolute;
    top: 5px; right: 15px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
