/* || GENERAL RULES */

body{
    margin: 0%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

main{
    position: absolute;
    width: 100%;
    background-color: blanchedalmond;
    z-index: 1;
    top: 85%;
    opacity: 70%;
    display: grid;
    grid-template-rows: repeat(3, auto);
}

/* || HEADER RULES */

header{
    position: fixed;
    display: grid;
    grid-template-columns: 2fr 5fr;
    gap: 5em;
    background-color: black;
    font-size: 14pt;
    color: white;
    text-align: center;
    top: 0em;
    width: 100%;
    opacity: 100%;
    z-index: 2;
}

header img{
    margin: auto;
    height: 3em;
}

/* || DROPDOWN RULES */

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

nav ul li a {
    display: block;
    padding: 1.5em;
    text-decoration: none;
    color: white;
}

nav ul li a:hover {
    background-color: #5a5a5a;
    transition: 0.2s;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

nav ul li .dropdown-content a:hover {
    background-color: #949393;
    color: white;
    transition: 0.2s;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* || VIDEO RULES */

div.hero-video{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 75%;
}

#top-video{
    z-index: -2;
    position: fixed;
    object-fit: fill;
    margin-bottom: 50em;
    width: 100%;
}

/* || CONTENT RULES */

div.title{
    grid-column: 1;
    color: black;
    text-align: center;
    font-size: 12pt;
    margin-top: 1em;
}

div.content{
    margin: auto;
    text-align: center;
    width: auto
}

/* || CAROUSEL RULES */

section#gallery{
    display: flex;
    flex-direction: column;
    margin-bottom: 5em;
}

div.carousel-container{
    display: grid;
    grid-template-columns: 1fr 8fr 1fr;
    align-items: center;
}

div.carousel-button{
    font-size: 20pt;
    width: 50%;
    justify-self: center;
    border-radius: 5%;
}

div.carousel-button:hover{
    cursor: pointer;
    background-color: rgb(219, 195, 157);
    transition: 0.5s;
}

div.carousel{
    display: flex;
    flex-direction: row;
    column-gap: 2.5em;
    flex-wrap: nowrap;
    overflow-x: hidden;
    padding-left: 1em;
    padding-right: 1em;
    scroll-snap-type: x mandatory;
}

img.carousel-img{
    object-fit: cover;
    height: 20em;
    flex: 0 0 calc(50% - 20px);
    scroll-snap-align: start;
}

/* || FOOTER RULES */

footer{
    position: relative;
    width: 100%;
    background-color: black;
    bottom: 0;
    color: white;
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: 1fr repeat(3, 2fr) 1fr;
    left: 0%;
    gap: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}