/* Reset some default styles */
body, h1, h2, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Bebas Neue, sans-serif;
    background-image: linear-gradient( rgb(117, 233, 214), rgb(159, 173, 229));
    color: #333;
}

header {
    background-color: beige;
    color: #fff;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(45, 45, 45);
}

section {
    padding: 40px 0;
    text-align: center;
}

.hero {
    position: relative;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 0px;
}

.video-container:nth-child(1),
.video-container:nth-child(2),
.video-container:nth-child(3) {
    grid-row: 1;
}

.video-container:nth-child(4),
.video-container:nth-child(5) {
    grid-row: 2;
}

.video-container:nth-child(6),
.video-container:nth-child(7),
.video-container:nth-child(8) {
    grid-row: 3;
}

.video-container:nth-child(1),
.video-container:nth-child(4),
.video-container:nth-child(6) {
    grid-column: 1;
}

.video-container:nth-child(2),

.video-container:nth-child(7) {
    grid-column: 2;
}

.video-container:nth-child(3),
.video-container:nth-child(5),
.video-container:nth-child(8) {
    grid-column: 3;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    opacity: 1;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    opacity: 1;
    scale: 1.5;
    position: relative;
    top: 50%;
    left: 50%; 
    grid-row: 2;
    grid-row: 2;
    transform: translate(-34%, -34%);
    text-align: center;
    color: #333;
    background-color: beige;
    padding: 10px;
    z-index: 1;
}

/* Add a media query for smaller screens to change the grid layout 
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-container:nth-child(4),
    .video-container:nth-child(5) {
        grid-row: 2;
        grid-column: 1 / 4;
        padding-bottom: 75%;
    }
}
*/


.video-overlay h1 {
    font-size: 5vw;
    margin-bottom: 0vw;
}

.video-overlay p {
    font-size: 2vw;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* "Work in Progress" message styles */
.work-in-progress {
    display: none; /* Hide the message initially */
    background-color: #FF0000; /* Red background */
    color: #FFFFFF; /* White text */
    text-align: center;
    padding: 10px;
    font-size: 18px;
}

.hidden{
    filter: blur(0px);
    
}

.show{
    filter: blur(3px);
    transition: all 5s;
}

.visible{
    opacity: 0;
    transition: all 5s;
}

.non-visible{
    opacity: 1;
}

@media(prefers-reduced-motion){
    .hidden{
        transition: none;
    }
}