@font-face {
    font-family: 'GT Walsheim Pro';
    src: url('fonts/GT-Walsheim-Pro-Regular.woff2') format('woff2'), url('fonts/GT-Walsheim-Pro-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'GT Walsheim Pro';
    src: url('fonts/GT-Walsheim-Pro-Bold.woff2') format('woff2'), url('fonts/GT-Walsheim-Pro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'GT Walsheim Pro';
    src: url('fonts/GT-Walsheim-Pro-Medium.woff2') format('woff2'), url('fonts/GT-Walsheim-Pro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

html {
    width: 100%;
}

body {
    margin: 0;
    font-family: 'GT Walsheim Pro', sans-serif;
    font-size: 16px !important;
    background-color: #ccc; /* White page background */
    width: 100%;
}

img {
    border-radius: 10px !important;    
}

.image1_1 {
    width: 100%;
    height: 300px;
    margin-bottom: -7px;
}
.image2_1 {
    width: 100%;
    height: 600px;
    margin-bottom: -7px;
}

.image2_2 {
    width: 100%;
    margin-bottom: -7px;
}

.moving {
    width: 100%;    
    overflow: hidden;
    position: relative;
    border-radius: 10px !important;
}

    .moving:has(.image2_1) {
        height: 600px;
    }

    .moving img {
        width: 120%; /* Larger than container */
        height: 120%;
        object-fit: cover;
        position: absolute;        
    }

        .moving img:first-child {
            animation: kenBurns 12s linear infinite;
        }

@keyframes kenBurns {
    0% {
        transform: translate(0, 0) scale(1);
    }

    75% {
        transform: translate(-15%, -15%) scale(1.1);
    }

    100% {
        transform: translate(-15%, -15%) scale(1.1);
    }
}

.mud-main-content {
    padding-top: 0 !important;
}

a.navbar-text {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: min(4rem, max(1rem, calc(3.3158vw + 0.6368rem))) !important;
    letter-spacing: 0.15em !important;    
    text-decoration: none;
}

    a.navbar-text:active,
    a.navbar-text:focus,
    a.navbar-text:hover,
    a.navbar-text:visited {
        text-decoration: none !important;
        color: #fff !important;
    }
.navbar-link {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: min(22px, max(16px, calc(1.0526vw + 12.6316px))) !important;
    letter-spacing: 0.15em !important;
    padding: 1rem !important;
}

    .navbar-link:hover, .navbar-link:active, .navbar-link:visited {
        color: #fff !important;
    }

.navbar-menu button {
    color: #fff !important;    
    font-size: 48px !important;
}

.navbar-margin {
    margin-top: calc(var(--mud-appbar-height) + 16px) !important;
}

.image-header {
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    margin-bottom: 7px;
    max-height: 600px;
}

.block {
    background-color: #d3e7d7 !important;
    padding: 2rem;
    color: #000 !important;
    height: 100%;

}

.upcoming-events .upcoming-event {
    padding: 0 !important;
    padding-bottom: 10px !important;
}
    .upcoming-events .upcoming-event .mud-list-item-text {
        margin: 0 !important;
    }

    .upcoming-events .upcoming-event .location {
        font-size: 1.2rem;
    }


@media only screen and (min-width: 960px) {
    .upcoming-events {
        height: 600px;
    }

    .image2_2 {
        width: 100%;
        height: 615px;
    }
}

@media only screen and (max-width: 959px) {
    :root {
        --mud-appbar-height: 70px !important;
    }
}

.modal-card {
    min-height: 620px;    
    padding: 10px;
    transition: background-color 0.3s ease;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #ccc;
}

    .modal-card:hover {       
        background-color: #eee;
    }

.modal-card-image {    
    width: 100%;        
    max-height: 460px;
    cursor: pointer;
}

.modal-card-description {
    text-align: center;
    min-height: 80px;
}

.movie-card {
    padding-top: 10px;
    border-radius: 10px;
    width: 100%;
    border: 1px solid #ccc;
    height: 100%;
}
    .movie-card:hover {
        background-color: #eee;
    }    
    .movie-card video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.anchor {
    scroll-margin-top: calc(var(--mud-appbar-height) - 16px);
}

.anchor.paper {
    scroll-margin-top: calc(var(--mud-appbar-height) + 16px);
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}