* {
    margin: 0;
    padding: 0;
}

#home {
    font-family: "Oswald", sans-serif;
}

#header {
    border-top: 1.2vw rgb(235, 33, 33) solid;
    display: flex;
    width: 100%;
    height: 5vw;
    font-size: 1.8vw;
    position: sticky;
    top: 5.8vw;
    z-index: 2;
}

#timeline {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: goldenrod;
    background-color: #000042;
}

#gal_nav {
    width: 80%;
    display: grid;
    grid-template-columns: auto auto auto;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    background-color: #404040;

}

#gal_nav li {
    cursor: pointer;
    padding: 0.3vw 1.5vw;
    border-radius: 10px;
    color: gold;
    border: 1px solid black;
}

#gal_nav .active {
    color: black;
    background-color: aliceblue;
}

#tl_gal {
    display: grid;
    grid-template-columns: 20% 80%;
    height: 100vh;
}

#tl {
    display: grid;
    grid-template-rows: 15vw 15vw;
    border-right: 2px solid black;
    padding: 2vw;
    gap: 1vw;
}

.boxes {
    border: 1px solid red;
    border-radius: 3vw;
    cursor: pointer;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    overflow: hidden;
    justify-content: center;
    align-content: center;
    position: relative;
}

.boxes::after {
    content: '';
    color: gold;
    position: absolute;
    background-color: black;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vw;
}

.boxes h3 {
    position: absolute;
    align-self: center;
    justify-self: center;
    color: gold;
    z-index: 1;
    text-align: center;
    font-size: 2vw;
}

.img-prev {
    border: 1px solid black;
    display: flex;
    justify-content: center;
    overflow: hidden;

}

#gal {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-template-rows: repeat(5, 20vw);
    justify-content: center;
    gap: 1vw;
    padding: 1vw;
    overflow-y: scroll;
}

.img {
    border: 1px solid black;
    border-radius: 3vw;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.video:first-child {
    height: 104%;
}

.hidden,
.hidden-1 {
    display: none;
}