body {
   font-family: Jost, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-feature-settings: "liga";
    font-size: 16;
    line-height: 24px;
}

h1, h6 {
    font-weight: 400;
}

h3 {
    font-size: 44px;
    font-weight: 400;
}

h5 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    background-color: white;
    width: 100%;
    top: 0;
    z-index: 1000;
    font-weight: 400;
    padding-right: 80px;
    padding-left: 80px;
    box-sizing: border-box;
}

.hamburger {
    display: none;
}

/* Animate the hamburger icon to turn into an "X" */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

header > nav {
    margin-right: 50px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li:hover {
    color: #B02E2E;
    text-underline-offset: 15px;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: black;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px; /* Thickness of the underline */
    background-color: #B02E2E; /* Underline color */
    transition: width 0.3s ease, left 0.3s ease; /* Smooth animation for both width and position */
    transform: translateX(-50%); /* Adjust to center the starting point */
}

nav ul li a:hover::after {
    width: 100%; /* Expands the underline on hover */
}

nav ul li a:hover {
    color: #B02E2E;
}

nav ul li a.selected::after {
    width: 100%;
}

#hero {
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.banner-content {
    display: flex;
    flex-direction: column;
    max-width: 1320px;
    gap: 30px;
    z-index: 1;
}

.banner-animation {
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 1s ease, transform 1s ease;
}

#hero.show .banner-animation {
    opacity: 1;
    transform: translateY(0);
}

.banner-content h1 {
    font-size: 64px;
    letter-spacing: 0;
    line-height: 96px;
    margin: 0;
}

.banner-content h1 span {
    font-size: 52px;
    line-height: 78px;
}

.banner-content p {
    font-size: 1.5em;
}

#info {
    padding: 50px;
    background-color: white;
    text-align: center;
}

#info p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.5;
}

#cta {
    position: relative;
    min-height: 505px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center ;
    justify-content: center;
}

#cta-image {
    background-image: url('../assets/festival.jpg');
}

#cta a {
    text-decoration: none;
    color: white;
}

.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

video {
    position: absolute;
    top: -130px;
    bottom: 0;
    right: 0;
}

.background-shadow {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #00000060;
}

.banner-content div {
    margin-top: 20px;
}

#cta p {
    font-size: 16px;
    margin-bottom: 20px;
}

#cta a {
    background-color: #b02e2e;
    border-color: #b02e2e;
    border-radius: 33px;
    border-width: 2px;
    border-style: solid;
    padding-block: 15px;
    padding-inline: 24px;
    cursor: pointer;
}

#cta h3 {
    margin-bottom: 25px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
}

.btn-primary {
    background-color: #E12C2C;
    margin-right: 15px;
}

.btn-secondary {
    background-color: #333;
}

#contact {
    background-color: #333;
    color: white;
    padding: 50px 20px;
}

#contact > div {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
}

#contact h3 {
    text-align: center;
}

#contact h6 {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 8px;
    margin-top: 35px;
}

.contact-info {
    margin-bottom: 30px;
    width: 50%;
}

.contact-info p {
    font-size: 20px;
    line-height: 30px;
    margin: 5px 0;
}

.contact-info > p:first-child {
    margin-top: 35px;
}

.contact-info a {
    color: #b02e2e;
    text-decoration: none;
}

.contact-info img {
    max-width: 40px;
    margin-top: 10px;
}

#linkedin {
    margin-left: 5px;
}

footer {
    text-align: center;
    background-color: #222;
    color: white;
    padding: 20px 0;
}

@media (max-width: 1500px) {
    #contact > div {
        margin-left: 100px;
    }

    .banner-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (max-width: 1024px) {
    nav ul {
        display: none;
    }

    nav ul.show {
        display: block;
        position: absolute;
        top: 127px;
        right: 0;
        width: 200px;
        height: 210px;
        background-color: white;
        text-align: center;
        z-index: 100;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    nav ul li a::after {
        height: 0px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: black;
        transition: 0.3s ease;
    }

    #contact > div {
        flex-direction: column;
        align-items: center;
        margin-left: 20px;
    }
}

@media (max-width: 550px) {
    h3 {
        font-size: 30px;
    }

    header {
        padding-left: 20px;
        padding-right: 20px;
    }
}