﻿body {
    font-family: 'Inter';
}

a, a:visited, a:hover {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}


.navbar {
    position: absolute;
    width: 100%;
    z-index: 999999
}

.navbar-nav .nav-link, .navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    color: #fff;
    font-family: 'inter';
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 200;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.toplogo {
}

.link-image-block h5 {
    font-family: 'crimson text';
    font-style: italic;
    font-size: 2rem;
    margin-top: 1rem;
    text-align: center;
}

.topbar {
    padding: 20px;
}

.branding-name {
    margin-left: 30px;
}

.photo-archive-container {
    margin-top: 2rem;
}

.archive-image {
    max-width: 400px;
    min-width: 300px;
}

.image-basic-data .image-fileinfo {
    font-size: 12px;
}

a.image-download, a.image-download:visited {
    color: #000;
}

.image-download-content {
    font-size: 16px;
    font-weight: 200;
}

    .image-download-content a {
        color: #000;
        text-decoration: none;
    }

.exif-info p {
    margin-bottom: 0;
    font-size: 90%;
}

.image-download-content .material-symbols-outlined {
    font-size: 22px;
    padding: 0;
    margin: 0;
    line-height: 1;
    vertical-align: top;
}

.topimage {
    width: 100%;
    background-size: cover;
    max-height: 100%;
    background-position: center, center;
    height: 80vh;
    position: relative;
    transition: filter 0.3s ease-out;
}

.topimage.loading {
    filter: blur(10px);
}

.topimage.loaded {
    filter: blur(0);
}

    .topimage h1 {
        color: #fff;
        font-style: italic;
        font-family: 'crimson text';
        font-size: 4rem;
        text-align: center;
    }

    .topimage h6 {
        color: #fff;
        font-weight: 300;
        font-size: 1rem;
        letter-spacing: 4px;
        text-align: center;
    }

.eventdate {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: -1px;
}

.photo-archive-container {
    margin-top: 0;
    padding: 0;
}

.image-overlay {
    width: 100%;
    height: 100%;
}

.image-text-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18%;
}

.col-image-gallery {
    margin-bottom: 1.5rem;
}

.link-image-block a:hover {
    filter: saturate(50%);
    transition: 0.5s;
}

footer {
    background: #f8f8f8;
    height: 180px;
}

.responsive-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

    .responsive-columns img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

.column {
    display: flex;
    flex-direction: column;
    max-width: 640px;
}

.navbar-toggler {
    border: 0;
}

@media screen and (max-width: 1200px) {
    .topimage {
        width: 100%;
        background-size: cover;
        max-height: 800px;
        background-position: center, center;
        height: 50vh;
    }
}

.expand-icon {
    display: none;
}


@media (max-width: 991.98px) {
    .full-screen-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255,255,255, 1);
        z-index: 1030;
        display: none;
        overflow-y: auto;
    }

    .toplogo {
        max-width: 100%;
    }

    .nav-link {
        display: inline;
    }

    .dropdown-menu {
        padding: 0;

    }
    .full-screen-nav .nav-item {
        margin: 0;
    }

    .full-screen-nav.show {
        display: block;
    }

    .full-screen-nav .navbar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .full-screen-nav .navbar-nav a {
        color: #000;
        font-family: 'crimson text';
        font-style: italic;
        font-size: 1.4rem;
    }


    .full-screen-nav .nav-item {
        margin: 0.5rem 0;
        text-align: center;
    }

    .full-screen-nav .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
        font-size: 3rem;
        color: #000;
    }

    .full-screen-nav .dropdown-menu {
        display: none; 
        position: static;
        float: none;
        background-color: transparent;
        border: 0;
        box-shadow: none;

    }

    .full-screen-nav .dropdown-menu.show {
        display: block;
    }


    .full-screen-nav .dropdown-item {

        font-size: 0.9rem;
    }

    .full-screen-nav .expand-icon {
        display: inline-block;
        margin-left: 0.5rem;
        cursor: pointer;

    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-item {
        text-align: center;
    }

    .full-screen-nav .dropdown-toggle {
        /* Lägg till en övergångseffekt */
        transition: transform 0.3s ease;
    }

        .full-screen-nav .dropdown-toggle.rotated {
            /* Snurra ikonen 180 grader */
            transform: rotate(180deg);
        }
    .full-screen-nav .dropdown-menu {
        /* Lägg till en övergångseffekt */
        transition: height 0.9s ease, visibility 0.9s ease;
        /* Dölj undermenyerna som standard */
        display: block;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        /* Resterande stilmallregler */
    }

        .full-screen-nav .dropdown-menu.show {
            /* Visa undermenyerna och justera höjden */
            visibility: visible;
            height: auto;
        }

}
