﻿
.logo {
    width: 11vw; /* actual width of logo in terms of scalable font */
    color: black;
    transition: 2s;
}

.TBnav {
    position: fixed;
    width: 100%;
    height: 5vw;
    background-color: transparent;
    background-image: none;
    left: 0;
    top: 0;
    z-index: 1;
}

    .TBnav.black {
        /* background-color: black; * TBnav turns black */
        Background-image: linear-gradient(rgb(5, 5, 5),rgba(12,3,51,.4));
    }

.TBelements {
    display: inline-flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    top: 0;
    margin: 2px 1vw;
    padding: 2px 2px 0 0;
    stroke: black;
    stroke-width: 5px;
}

    .TBelements a {
        /* font-family:'Eurostile MN'; */
        font-family: 'Roadgeek 2005 Transport';
        padding: 4px 0 4px 2vw;
        margin-top: 2vw;
        font-size: 2vw;
        font-weight: 10;
        color: white;
        align-content: center;
        text-decoration: none;
        text-shadow: 2px 4px 2px black,2px 4px 3px black;
        animation: glow is ease-in-out infinite alternate;
    }

        .TBelements a:hover {
            font-style: italic;
            text-shadow: 0px -8px 66px gold, 0px 8px 66px gold;
        }

/*      NavAbout popup */
body {
    font-family: Arial, sans-serif;
    font-family: 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Arial', 'sans-serif';
    margin: 0;
    padding: 20px;
    background-color: black;
    color:white;
}

.main-video {
    width: 80%;
    margin: 0 auto 40px;
    text-align: center;
    background-color: black;
    
}
h2 {
    margin: 7vh 0 0 0;
    font-family: Algerian;
    color: gold;
    text-shadow: .5em 0 1em white, 1em 0 1em red;
}
h1 {
    font-family: Algerian;
    margin: 0;
    color: gold;
    text-shadow:  .5em 0 1em white, 1em 0 1em red;
}

.main-video iframe {
    width: 100%;
    height: calc(80vw * 9 / 16); /* Maintains 16:9 aspect ratio */
    border: groove;
    border-width: 3px;
    box-shadow: .5em 0 1em white, 1em 0 1em red;
}

.slider-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
}

.video-slider {
    display: flex;
    gap: 20px;
    width: max-content;
    color:black;
}

.video-card {
    width: 240px;
    flex-shrink: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
@media (max-width: 768px) {
    .video-card {
        width: 180px;
    }
    /* Smaller for tablets/mobile */
}

@media (min-width: 1920px) {
    .video-card {
        width: 300px;
    }
    /* Larger for big screens */
}

.video-card:hover {
    transform: translateY(-5px);
}

    .video-card img {
        width: 100%;
        height: 135px;
        object-fit: cover;
        cursor: pointer;
    }

.video-description {
    padding: 10px;
    font-size: 14px;
}

.video-title {
    padding: 5px 10px 0;
    font-size: 16px;
    font-weight: bold;
    max-height: 5em;
    overflow: hidden;
}
