@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;    
}
iframe {
    aspect-ratio: 16 / 9;
    width: 100% !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;*/
    background-color: #d7e6d8 !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;
    }
}

.concert-christmas {
    background-image: url('images/stjarna3.jpg');
    background-color: rgba(0, 0, 0, 0.4) !important;
    background-blend-mode: darken; /* or try 'screen' */
    background-size: cover;
    background-position: center;    
    color: #fff !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;
}

.mud-input-label {
    font-size: 1.3rem !important;
    height: 26px;
}

.mud-input legend {
    font-size: 1.1rem !important;
}
/* Example to change autofill style */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    background-color: #fff !important; /* Your custom color */
    border-radius: 12px !important;
    transition: background-color 5000s ease-in-out 0s; /* Keeps color solid */
}

    input:-webkit-autofill::first-line {
        
    }


/* ===== Notarkiv ===== */

.notarkiv-header {
    padding: 2rem 2rem 0.5rem 2rem;
}

.notarkiv-title {
    font-size: min(2rem, max(1.4rem, calc(1.8vw + 1rem)));
    font-weight: 400;
    color: #aaa;
    margin: 0;
}

.notarkiv-alphabet-bar {
    position: relative;
    background-color: #7bbdd4;
    padding: 1.2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.5rem;
    align-items: center;
}

.notarkiv-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    padding: 0.4rem 0.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: underline;
    user-select: none;
}

    .notarkiv-letter:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

.notarkiv-letter-active {
    background-color: #8d9f9f;
    text-decoration: none;
}

.notarkiv-alphabet-bubble {
    position: absolute;
    bottom: -1.8rem;
    left: 2.5rem;
    width: 3.6rem;
    height: 3.6rem;
    background-color: #7bbdd4;
    border-radius: 50%;
}

.notarkiv-file-list {
    padding: 3rem 2rem 2rem 2rem;
    background-color: #ececec;
    min-height: 60vh;
}

.notarkiv-file-header {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.notarkiv-file-item {
    padding: 0.15rem 0;
}

.notarkiv-file-link {
    color: #2e6b82;
    text-decoration: underline;
    font-size: 0.95rem;
    cursor: pointer;
}

    .notarkiv-file-link:hover {
        color: #1a4d60;
    }

.notarkiv-file-empty {
    color: #666;
    font-style: italic;
}
