@font-face {
    font-family: "Invention";
    src: url("../webfonts/Invention_W_Bd.woff") format("woff");
}
@font-face {
    font-family: "Invention-Regular";
    src: url("../webfonts/Invention_W_Rg.woff") format("woff");
}

@font-face {
    font-family: "Invention-Light";
    src: url("../webfonts/Invention_W_Lt.woff") format("woff");
}

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
.fancybox__carousel .fancybox__slide.has-map .fancybox__content,
.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
    width: 100% !important;
    height: 100% !important;
}

.fancybox__content {
    max-width: 960px;
}

.fancybox__content {
    background: transparent !important;
}

a[data-fancybox] img {
    cursor: zoom-in;
}

.fancybox-zoomIn {
    animation: 0.25s ease both fancybox-zoomIn;
}

.fancybox-zoomOut {
    animation: 0.15s ease both fancybox-zoomOut;
}

body {
    font-family: "Invention-regular", sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    height: 100vh;
    flex-direction: column;
    display: flex;
}
header {
    text-align: left;
    padding: 20px 40px;
    z-index: 1;
}

footer {
    background-color: #229c97;
    color: #fff;
    padding: 20px 40px;
}
header img,
footer img {
    height: 50px;
}
.main-content {
    position: relative;
    color: #fff;
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    display: flex;
    flex: 1;
    padding: 50px 20px;
    align-items: center;
    justify-content: space-between;
}

.main-content .background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
}

.cta-buttons {
    margin-top: 20px;
}

.btn-primary {
    position: relative;
    overflow: hidden; /* Ensures the effect stays within the button */
    margin: 10px;
    display: inline-block;
    background-color: #fff;
    box-shadow: 0px 9px 8px rgb(0 0 0 / 7%);
    letter-spacing: 0.05rem;
    transition: color 0.3s ease, border-color 0.3s ease; /* Keep transition smooth */
    /* flex: 1; */
    min-width: 120px;
    text-align: center;
    padding: 8px 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-family: "Invention", sans-serif;
    border: solid 2.5px #229c97;
    color: #229c97;
    z-index: 1;
}

.btn-drop {
    position: relative;
    overflow: hidden; /* Ensures the effect stays within the button */
    margin: 10px;
    display: inline-block;
    background-color: #ffffff;
    box-shadow: 0px 9px 8px rgb(0 0 0 / 7%);
    letter-spacing: 0.05rem;
    transition: color 0.3s ease, border-color 0.3s ease; /* Keep transition smooth */
    /* flex: 1; */
    min-width: 120px;
    text-align: center;
    padding: 8px 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-family: "Invention", sans-serif;
    border: solid 2.5px #229c97;
    color: #229c97;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.btn-drop:hover {
    transform: scale(0.97);
}

/* Pseudo-element for hover effect */
.btn-primary::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #229c97;
    bottom: -100%; /* Initially hidden below */
    left: 0;
    transition: bottom 0.3s ease-in-out;
    z-index: -1;
}

.btn-primary:hover::before {
    bottom: 0;
}

.btn-primary:hover {
    color: #fff;
    border-color: #229c97;
}

.dropdown {
    position: relative;
    flex-direction: column;
}

.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    visibility: hidden;
    overflow: hidden;
    max-height: 0; /* Initially collapsed */
}

/* Show dropdown with smooth transition */
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    max-height: 200px; /* Adjust based on content */
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    background: #229c97;
    height: 20px;
}

/* Content below the dropdown */
.content {
    transition: margin-top 0.3s ease;
}

.dropdown-menu a i {
    margin-right: 5px;
    font-size: 17px; /* Icon size */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    height: 80%;
}
.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}
.footer-top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: space-between;
    padding-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
    width: 100%;
    text-align: center;
}

footer {
    background-color: #239c97;
    color: #fff;
    display: flex;
    flex-direction: column;
}

img.logo-footer {
    height: 30px;
}

h1 {
    font-family: "Invention", sans-serif;
    font-size: 3rem;
    margin-bottom: 0;
}

.tl {
    padding-bottom: 20px;
}

h2 {
    letter-spacing: 0.02rem;
    font-size: 1.1rem;
    margin-top: 0;
}

p.copy {
    font-size: 0.7rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
}

a {
    text-decoration: none;
}
p.contact {
    text-align: right;

    line-height: 1.1rem;
    font-size: 0.7rem;
}

.left {
    text-align: left;
    font-size: 0.6rem;
}

.block1 {
}

.block1 > .title1 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: bold;
    margin: 0;
}
.block1 > .title2 {
    font-size: 2rem;
    color: #fff;
    margin: 0;
    font-weight: bold;
}

.block1 > .date {
    color: #fff;
    font-size: 1.5rem;
}

.block1 > .date.vod {
    color: #fff;
    font-size: 1rem;
}

.block1 > .location {
    color: #fff;
    font-size: 1.3rem;
}

.block1 > .title-msd {
    color: #444444;
    font-size: 1.3rem;
}

@keyframes fancybox-zoomIn {
    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fancybox-zoomOut {
    to {
        opacity: 0;
        transform: scale(1.25);
    }
}

@media (max-width: 1024px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        letter-spacing: 0.05rem;
        /* flex: 1; */
        max-width: 250px;
        text-align: center;
        padding: 15px 55px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8rem;
    }

    .main-content {
        background-size: 140%;
    }
}

@media (max-width: 768px) {
    .block1 > .title1 {
        font-size: 2.2rem;
    }
    .block1 > .title2 {
        font-size: 1.4rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 10px;
    }

    .main-content {
        padding: 20px 20px;
        background-size: 200%;
    }
}

@media (max-width: 500px) {
    .main-content {
        padding: 20px 20px;
        /* Update background-image with mobile */
        background-size: 200%;
    }

    .fancybox__content {
        max-height: 550px;
    }

    .fancybox__content {
        padding: 0px !important;
    }
    button.carousel__button.is-close {
        right: -7px !important;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        letter-spacing: 0.05rem;
        /* flex: 1; */
        max-width: 250px;
        text-align: center;
        padding: 15px 55px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2.3rem;
        margin-bottom: 30px;
        line-height: 3.1rem;
    }

    .tl {
        padding-bottom: 30px;
    }

    h2 {
        font-size: 0.8rem;
    }
}

@media (max-width: 430px) {
    .block1 > .title1 {
        font-size: 2rem;
    }
    .block1 > .title2 {
        font-size: 1rem;
    }
    p.contact {
        text-align: left;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
}
