﻿body {
    background-color: black;
    font-family: "Work Sans", Trebuchet MS;
    color: white;
    font-size: 22px;
}



.card {
    border: 0px;
    background: #000;
}

    .card:hover {
        border: 0px;
        background: rgba(33, 33, 33, 0.8);
        transform: scale(1.1);
        box-shadow: 0 0 5px -2px rgba(155, 155, 155, 0.8);
        background-size: 160%;
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    }




.card-title {
    text-align: center;
    color: #ccc;
    font-weight:300;
}

.card-body {
    padding: 10px 1px 0px 1px;
}

.card-more {
    padding: 10px 1px 0px 1px;
    color: white;
    cursor: pointer;
}


.mainVideo-container {
    position: relative;
    width: 100%; /* Fixes horizontal scroll issue in Chrome */
    max-width: 100vw; /* Ensures it never exceeds viewport width */
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-MainVideo {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the container, cropping the overflow */
}

.mainVideo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7); /* Optional: Adds a slight dark background for readability */
    padding: 20px;
    border-radius: 10px;
    opacity: 1; /* Initially fully visible */
    transition: opacity 1s ease-in-out; /* Smooth fade-out over 1 second */
}

.display-3 {
    font-weight: 500;
}

.video-content {
    background: rgba(0, 0, 0, 0.90);
    padding: 30px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    bottom: 30px;
    width: 540px;
}

    .video-content h3 {
        font-size: 36px;
        color: #fff;
        margin-bottom: 10px;
    }

    .video-content span {
        color: #fff;
    }

.video {
    height: 250px;
    width: 100%;
}


.footerText {
    font-size:14px;
}

#play-button {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

    #play-button:hover {
        background-color: rgba(255, 255, 255, 1);
    }