body {
    margin-bottom: 3em;
}

/* hero video styling */
#hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2.5em;
    background-color: black;
}

#hero::after {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
}

#hero video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    object-fit: cover;
}

#hero .title {
    position: relative;
    z-index: 15;
    text-align: center;
    color: white;
}

#hero .title h1 {
    text-transform: uppercase;
    font-size: 3em;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 0.5rem;
    border: 2px solid white;
    border-radius: 5px;
    padding: .7em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

#hero .title a:link, #hero .title a:visited {
    margin-top: 1em;
    background-color:#F76902;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: .5em;
    font-family: 'Roboto', sans-serif;
    font-size: 1.7em;
    transition: 0.5s;
    border-radius: 5px;
}

#hero .title a:hover, #hero .title a:active {
    background-color: white;
    color: #F76902;
    transition: 0.5s;
    border-radius: 5px;
}

/* year info */
.year {
    background-color: white;
    margin: 0.5em 2.5em;
    border-radius: 5px;
    padding-top: 1em;
}

.container {
    display: flex;
    flex-direction: column;
    padding: 2em;
    margin: 0.5em 2.5em;
    margin-bottom: 2.5em;
}

.col {
    width: 90%;
    margin: 0 1em;
    margin-bottom: 1em;
    text-align: center;
}

.col h2 {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2.2em;
    font-weight: 400;
}

.col p {
    list-style-type: none;
    padding: 0.2em;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    text-align: center;
}

.col img {
    display: block;
    margin: 1em auto;
    width: 50vw;
}

.col .tripp {
    width: 12vw;
}

.theme-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
}

/* body text styling */
body {
    background-color:  #f2f2f2;
    visibility: hidden;
    overflow: hidden;
}

.text-section h1, .year h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.7em;
    text-align: center;
}

.text-section p, .plain-text {
    width: 70vw;
    margin: 1em auto; 
    padding-bottom: 1em;
    display: block;
    text-align: justify;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

.plain-text {
    padding-bottom: 0;
}

.text-section a:link, .text-section a:visited, .year a:link, .year a:visited {
    color:#F76902;
}

.text-section a:hover, .text-section a:active, .year a:hover, .year a:active {
    color: #fca363;
}

/* carousel */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 80%;
    margin: auto;
}

.carousel {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

.images {
    height: 40vh;
    width: auto;
    object-fit: contain;
    background-color: #f2f2f2;
}

.carousel-item {
    display: flex;
    scroll-snap-align: center;
    flex-shrink: 0;
    justify-content: center;
}

/* media queries */
@media (min-width: 768px) {
    #hero {
        height: 55vh; 
    }

    #hero .title h1 {
        font-size: 5vw;
    }

    .text-section p, .plain-text {
        font-size: 1.5em;
    }

    .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .col img {
        width: 20vw;
    }
}

@media (max-width: 480px) {

    #hero video {
        visibility: hidden;
    }
}