body {
    margin: 0;
    padding: 0;
    background-color: #F9F4F5;
}

.photo {
    width: 100vw;
    height: 100vh;

    object-fit: cover;
    object-position: center 30%;

    display: block;
}

@media (max-width: 600px) {
    .photo {
        width: 100%;
        height: auto;
        margin-top: 75px;
    }
}

.hero {
    position: relative;
}

.hero-text {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #FEFEFE;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    
    font-size: 15px;
    font-family: Arial, sans-serif;

    z-index: 1000;
}

.nav-left {
    position: absolute;
    right: calc(50% + 60px);

    display: flex;
    align-items: center;

    height: 75px;
}

.nav-right {
    position: absolute;
    left: calc(50% + 60px);

    display: flex;
    align-items: center;

    height: 75px;
}

.nav-left a,
.nav-right a {
    width: 120px;
    text-align: center;
    color: white;
    text-decoration: none;
}

.loga {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 50px;
    height: 50px;
    object-fit: contain;
}

.hero-text a {
    color: rgb(248, 98, 9);
    text-decoration: none;
    font-weight: bold;
}


h1 {text-align: center;}


html, body {
    width: 100%;
    overflow-x: hidden;
}


/* =========================
   MOBILMENY
   ========================= */

/* Alltid gömd på dator */
.mobile-menu-button,
.mobile-dropdown {
    display: none;
}


@media (max-width: 700px) {

    /* Dölj vanliga länkar på mobil */
    .hero-text .nav-left,
    .hero-text .nav-right {
        display: none;
    }

    /* Hamburgerknappen */
    .mobile-menu-button {
        display: block;

        position: fixed;
        top: 20px;
        right: 20px;

        z-index: 10000;

        background: none;
        border: none;

        color: #f86005;
        font-size: 32px;
        cursor: pointer;
    }

    /* Själva menyn */
    .mobile-dropdown {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;

    width: 100%;

    background-color: #f9f4f5;

    z-index: 9999;

    padding: 5px 0;

    display: none;
    }

    /* När menyn öppnas */
    .mobile-dropdown.open {
        display: block;
    }

    .mobile-dropdown a {
        display: block;

        padding: 12px 20px;

        color: #f86005;
        text-decoration: none;

        font-size: 17px;
        font-weight: bold;
        text-align: center;
    }

    .mobile-dropdown a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}


/* =========================
   FOOTER
========================= */

.footer {
    box-sizing: border-box;
}


.footer {
    background-color: #26408B;
    color: white;
    width: 100%;
    padding: 60px 0;
    margin-top: 50px;
}

.footer-content {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer h2 {
    color: white;
    font-size: 28px;
    margin: 0 0 25px 0;
}

.footer-social {
    width: 50%;
}

.footer-contact {
    width: 40%;
}

.footer a {
    color: #F86209;
    text-decoration: none;
    font-weight: 1000px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    color: #F86209;
    font-size: 18px;
    margin: 15px 0;
    font-weight: 1000;
}

.social-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.social-links a {
    font-size: 18px;
}

@media (max-width: 600px) {

    .footer {
        padding: 35px 15px;
    }

    .footer-content {
        width: 100%;
        gap: 25px;
        box-sizing: border-box;
    }

    .footer-social,
    .footer-contact {
        width: 100%;
        box-sizing: border-box;
    }

    .footer h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer p {
        font-size: 13px;
        line-height: 1.5;
    }

    .footer a {
        font-size: 13px;
    }

    .footer-contact a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .social-links {
        gap: 15px;
    }

    .social-links img {
        width: 32px;
        height: 32px;
    }
}



/* ========================================
   HERO
======================================== */

.span-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.span-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.span-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.span-hero-text {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    text-align: center;
    color: white;
}

.span-hero-text p {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.span-hero-text h1 {
    font-size: 80px;
    margin: 0;

    color: white;
}


/* ========================================
   VILKA ÄR VI
======================================== */

.span-about {
    background-color: #F9F4F5;

    padding: 70px 10% 80px 10%;

    text-align: center;
}

.span-about h2 {
    margin: 0;
    margin-bottom: 25px;

    font-size: 42px;
    color: #222;
}


/* innehållet */

.about-content {
    max-width: 1000px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 0px;

    text-align: left;

    transform: translateX(-50px);
}


/* loggan */

.about-logo {
    width: 350px;

    flex-shrink: 0;

    text-align: center;

    transform: translateX(-50px);
}


.about-logo img {
    width: 300px;
    height: 300px;

    object-fit: contain;

    display: block;

    margin: auto;
}


/* text */

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 17px;

    line-height: 1.7;

    margin: 0 0 25px 0;

    color: #222;
}

@media (max-width: 800px) {

    .about-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        
        display: flex;
        flex-direction: column;
        align-items: center;
        
        text-align: center;
        
        transform: none;
        box-sizing: border-box;
    }

    .about-logo {
        width: 100%;
        transform: none;
        text-align: center;
        margin-bottom: 25px;
        order: 2;
    }

    .about-logo img {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about-text {
        width: 100%;
        max-width: 500px;
        box-sizing: border-box;
        order: 1;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0 0 25px 0;
    }
}




/* ========================================
   buss
======================================== */

.buss-section {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

/* Bilden */
.buss-section img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/* Svart halvtransparent lager */
.bus-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.45);

    z-index: 1;
}


/* Texten */
.bus-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #f9f4f5;
    font-size: 20px;
    font-weight: bold;

    z-index: 2;
    text-align: center;

    width: 100%;
}

.bus-content h2 {
    font-size: 40px;
    margin-bottom: 0;
}

.bus-content p {
    margin-top: 5px;
}


/* Knappen */
.bus-contact-button {
    display: inline-block;

    background-color: rgb(248, 98, 9);
    color: #f9f4f5;

    padding: 15px 25px;

    text-decoration: none;
    font-size: 16px;
    font-weight: bold;

    border-radius: 4px;

    margin-top: 10px;
}


/* ========================================
   SAMARBETSPARTNER
======================================== */

.partners {
    background-color: #f9f4f5;

    text-align: center;

    padding: 10px 20px 10px 20px;
}

.partners h3 {
    color: #26408b;

    margin: 0 0 25px 0;

    font-size: 18px;
}

.partners img {
    width: 180px;

    max-width: 100%;

    height: auto;
}

.spons-mejl {
    color: #f86005;
}


/* ========================================
   FOOTER
======================================== */

.span-footer {
    background-color: #ffffff;

    min-height: 150px;

    padding: 30px 10%;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 30px;
}


/* länkar */

.social-links img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 20px;

    max-width: 350px;
}

.footer-links a {
    color: #F86209;

    text-decoration: none;

    font-size: 14px;
}

.footer-links a:hover {
    color: #F86209;
}


/* logga */

.footer-logo img {
    width: 60px;
    height: 60px;

    object-fit: contain;
}


/* copyright */

.copyright {
    text-align: right;
}

.copyright p {
    margin: 0;

    font-size: 14px;

    color: #555;
}


/* ========================================
   MOBIL
======================================== */

@media (max-width: 800px) {

    .span-hero {
        height: 400px;
    }

    .span-hero-text p {
        font-size: 20px;
    }

    .span-hero-text h1 {
        font-size: 55px;
    }


    .span-about {
        padding: 50px 25px;
    }

    .span-about h2 {
        font-size: 34px;
    }


    .about-content {
        flex-direction: column;

        gap: 30px;

        text-align: center;
    }

    .about-logo {
        width: 100%;
    }

    .about-logo img {
        width: 180px;
        height: 180px;
    }

    .about-text {
        width: 100%;
    }


    .span-quote p {
        font-size: 25px;
    }


    .span-contact {
        height: 350px;
    }

    .contact-overlay h2 {
        font-size: 35px;
    }


    .span-footer {
        grid-template-columns: 1fr;

        text-align: center;

        justify-items: center;
    }

    .footer-links {
        justify-content: center;
    }

    .copyright {
        text-align: center;
    }

}


/* =========================
   FESTKALENDER
   ========================= */

.calendar-page {
    text-align: center;

    padding-top: 10px;
    padding-bottom: 20px;

    background-color: #F9F4F5;
}

.calendar-page h1 {
    color: rgb(0, 0, 0);

    font-size: 40px;

    margin-bottom: 10px;
}

.calendar-intro {
    font-size: 18px;

    margin-bottom: 35px;

    color: #333;
}

.tagga {
    font-size: 80px;
    font-weight: 900;
    -webkit-text-stroke: 5px;
    letter-spacing: 10px;

    margin-bottom: 10px;
}

/* =========================
   GOOGLE KALENDER
   ========================= */

.calendar {
    width: 70%;
    max-width: 650px;

    margin: 40px auto;
}

.calendar iframe {
    width: 100%;
    height: 300px;

    border: 0;
}

.calendar-line {
    width: 35%;
    height: 2px;
    background-color: #C8B8DB;
    margin: auto;

}

@media (max-width: 600px) {

    .calendar {
        width: 100%;
        max-width: 500px;
        padding: 0 10px;
        box-sizing: border-box;
        margin: 40px auto;
    }

    .calendar iframe {
        width: 100%;
        height: 350px;
    }

    .calendar-line {
        width: 50%;
    }
}



/* =========================
   TAGGA FEST / NEDRÄKNINGAR
   ========================= */

.countdown-section {
    width: 100%;
    max-width: 1200px;

    margin: 20px auto;

    text-align: center;
}


/* =========================
   TAGGA FEST
   ========================= */

.tagga-fest {
    font-size: 64px;

    margin: 0 0 0 0;

    color: #26408b;

    font-weight: bold;
}

.countdown-title {
    text-align: center;
    margin-bottom: 0px;
}

.countdown-title img {
    width: 700px;
    max-width: 80%;
    height: auto;
    display: inline-block;
}



/* =========================
   LILA BOXAR
   ========================= */

.countdown-event {
    background-color: #c8b8db;

    width: 55%;

    margin: 0 auto 30px auto;

    padding: 10px 40px 18px;

    border-radius: 25px;

    box-sizing: border-box;
}


/* =========================
   EVENTNAMN
   ========================= */

.countdown-event h2 {
    font-size: clamp(28px, 4vw, 56px);

    margin: 0 0 10px 0;

    color: black;

    font-weight: 900;
}


/* =========================
   NEDRÄKNING
   ========================= */

.countdown {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: clamp(5px, 2vw, 25px);
}


/* =========================
   NEDRÄKNINGSBOXAR
   ========================= */

.countdown-box {
    width: clamp(55px, 9vw, 135px);
    height: clamp(65px, 8vw, 115px);

    background-color: #26408b;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    color: white;

    flex-shrink: 1;
}


/* =========================
   SIFFRORNA
   ========================= */

.countdown-box span {
    font-size: clamp(22px, 3vw, 44px);

    font-weight: bold;

    line-height: 1;
}


/* =========================
   DAGAR / TIMMAR / MINUTER / SEKUNDER
   ========================= */

.countdown-box small {
    margin-top: clamp(4px, 1vw, 12px);

    font-size: clamp(8px, 1.2vw, 16px);

    font-weight: bold;
}


/* =========================
   LÄS MER
   ========================= */

.countdown-link {
    display: inline-block;

    color: rgb(248, 98, 9);

    font-size: 20px;

    font-weight: bold;

    text-decoration: none;

    margin-top: -15px;
}


/* =========================
   HOVER
   ========================= */

.countdown-link:hover {
    text-decoration: underline;
}


/* =========================
   MOBIL
   ========================= */

@media (max-width: 700px) {

    .countdown-section {
        margin: 60px auto;
    }


    .tagga-fest {
        font-size: 42px;

        margin-bottom: 20px;
    }


    .countdown-event {
        width: 92%;

        padding: 30px 15px 35px;

        border-radius: 15px;

        margin-bottom: 35px;
    }


    .countdown-link {
        font-size: 21px;
    }

}


/* =========================
   FESTERIVÄNNER
========================= */

.festeri-till-kalender {
    color: #f86005
}

.links-section {
    width: 90%;
    max-width: 1300px;

    margin: 0 auto !important;
    padding-top: 100px !important;
}

.links-section > h1 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 40px;
}

.links-section > p {
    padding: 0 clamp(10px, 5vw, 70px) clamp(10px, 2vw, 25px);
    margin: 0 0 clamp(10px, 1vw, 20px) 0;
    font-size: 16px;
    line-height: 1.6;

    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 80px 35px;
}

.link-card {
    text-align: center;
    text-decoration: none;
    color: black;
}

.link-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

.card-line {
    width: 100%;
    height: 2px;
    background-color: #C8B8DB;
    margin-bottom: 20px;
}

.link-card h2 {
    font-size: 22px;
    margin: 10px 0 0 0;
    color: #444444;
}

.link-card p {
    font-size: 18px;
    margin: 0;
    color: #1d3557;
}

@media (max-width: 600px) {

    .links-section {
        margin-top: 80px;
        width: 100%;
        max-width: 100%;
        padding: 60px 15px 0;
        box-sizing: border-box;
    }

    .links-section > h1 {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .links-section > p {
        padding: 0 50px 15px;
        margin: 0 0 10px 0;
        font-size: 16px;
        line-height: 1.6;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 15px;
    }

    .link-card img {
        width: 100%;
        height: 220px;
        object-fit: contain;
    }

    .card-line {
        width: 100%;
        margin-bottom: 15px;
    }

    .link-card h2 {
        font-size: 18px;
        margin: 8px 0 0;
    }

    .link-card p {
        font-size: 15px;
        line-height: 1.4;
    }
}


/* =========================
   EVENEMANG
========================= */


/* HERO */

.event-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.event-hero-image {
    width: 100%;
    height: 170%;
    object-fit: cover;

    filter: brightness(65%);
}

.event-hero-title {
    position: absolute;

    top: 94%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: #f9f4f5;

    text-align: center;

    z-index: 2;

}

.event-hero-title h1 {
    font-size: 100px;
    margin: 0;
}

@media (max-width: 600px) {

    .event-hero {
        width: 100%;
        height: 175px;
        overflow: hidden;
        margin-top: 75px;
    }

    .event-hero-image {
        width: 100%;
        height: auto;

        object-fit: cover;
        object-position: center center;


    }

    .event-hero-title {
        top: 92%;
        left: 50%;
        width: 90%;
        transform: translate(-50%, -50%);
    }

    .event-hero-title h1 {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1px;
    }
}


/* INTRO */

.event-intro {
    text-align: center;

    padding: 40px 20px 45px;

    max-width: 1000px;

    margin: auto;
}

.event-intro h1 {
    font-size: 30px;

    margin: 10px 0 10px 0;
    
}

@media (max-width: 600px) {

    .event-intro {
        padding: 30px 20px 35px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .event-intro h1 {
        font-size: 18px;
        margin: 5px 0 10px 0;
    }

}


/* EVENT */

.event {
    width: 100%;
    margin: 0;
}


/* BILD */

.event-image {
    position: relative;

    width: 100%;
    height: 400px;

    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    filter: brightness(60%);
}


/* NAMNET PÅ BILDEN */

.event-image h2 {
    position: absolute;

    top: 80%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: #f9f4f5;

    font-size: 50px;

    font-weight: bold;

    margin: 0;

    text-align: center;

    white-space: nowrap;

    z-index: 2;
}


/* TEXT UNDER BILDEN */

.event-text {
    max-width: 700px;

    margin: 0 auto;

    padding: 45px 30px 50px;

    text-align: center;
}

.event-text p {
    font-size: 18px;

    line-height: 1.7;

    color: #333;

    margin: 0;
}


.hur-långt {
    text-align: center;
    font-size: 35px;
    font-weight: bold;

    margin-top: 20px;

    color: #f86005;
}

/* DATUM */

.event-date {
    margin-top: 25px !important;

    font-size: 16px !important;
}

@media (max-width: 600px) {

    /* BILD */

    .event-image {
        height: 200px;
    }

    .event-image h2 {
        top: 82%;
        font-size: 30px;
        width: 90%;
        white-space: normal;
        line-height: 1.1;
    }


    /* TEXT UNDER BILDEN */

    .event-text {
        max-width: 100%;
        padding: 30px 20px 35px;
        box-sizing: border-box;
    }

    .event-text p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* HUR LÅNGT */

    .hur-långt {
        font-size: 24px;
        margin-top: 15px;
    }


    /* DATUM */

    .event-date {
        margin-top: 20px !important;
        font-size: 15px !important;
    }

}




/* =========================
   OSS
========================= */



.member-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    max-width: 1400px;

    margin: 120px auto 60px auto;

    padding: 0 30px;
}


/* =========================================
   MEDLEMSKORT
========================================= */

.member-card {
    display: flex;

    width: 100%;
    height: 240px;

    background-color: #C8B8DB;

    border-radius: 15px;

    overflow: hidden;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}


/* =========================================
   MEDLEMSBILD
========================================= */

.member-photo {
    width: 140px !important;
    height: 240px !important;

    object-fit: cover;

    flex-shrink: 0;

    display: block;
}


/* =========================================
   INFORMATION PÅ KORTET
========================================= */

.member-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 20px 15px;
}


.member-info h2 {
    font-size: 20px;

    font-weight: normal;

    margin: 0 0 10px 0;
}


.member-info .role {
    font-size: 14px;

    font-style: italic;

    color: #777;

    margin: 0 0 10px 0;
}


.member-info a {
    font-size: 14px;

    margin-bottom: 15px;

    color: #26408b;
}


/* =========================================
   LOGGAN PÅ MEDLEMSKORTET
========================================= */

.member-logo {
    width: 45px !important;
    height: 45px !important;
    

    object-fit: contain;

    display: block;
}


/* =========================================
   VILKA ÄR VI?
========================================= */

.who-we-are {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 0 15px 0 15px;
}


.who-we-are h1 {
    font-size: 42px;

    margin: 0 0 20px 0;
}


.who-we-are p {
    font-size: 18px;

    line-height: 1.6;

    margin: 0;
}


/* =========================================
   MOBIL
========================================= */

@media (max-width: 900px) {

    .member-grid {
        grid-template-columns: 1fr;

        padding: 0 20px;
    }

    .who-we-are {
        order: -1;
    }

}


@media (max-width: 500px) {

    .member-card {
        height: 200px;
    }

    .member-photo {
        width: 115px !important;
        height: 200px !important;
    }

    .member-info h2 {
        font-size: 17px;
    }

    .member-info a {
        font-size: 12px;
    }

    .member-logo {
        width: 40px !important;
        height: 40px !important;
    }

}


/* =================================
   SPAN GENOM ÅREN
================================= */

.span-history {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 100px;
    text-align: center;
}

.span-history h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.span-history h3 {
    font-size: 20px;
    margin-bottom: 40px;
}

.span-year {
    margin-bottom: 45px;
    text-align: center;
}


.span-year h2 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 15px;
}


.span-year img {
    display: block;
    width: 500px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


/* =========================
   FRÅGOR & FUNDERINGAR
========================= */

.frågor-funderingar {

    background-color: #f9f4f5;

    text-align: center;

    padding: 50px 30px 0px;

}

.frågor-funderingar h1 {

    font-size: 40px;

    margin: 75px 0 15px 0;

    color: #333333;

}

.frågor-funderingar > p {

    max-width: 75%;

    margin: 0 auto;

    font-size: 20px;

    line-height: 1.5;

    color: #333333;

}


/* Sociala medier */

.kontakt-social {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 30px;

    margin-top: 20px;

}

.kontakt-social img {

    width: 55px;
    height: 55px;

    object-fit: contain;

    display: block;

}


/* =========================
   KONTAKTUPPGIFTER
========================= */


.kontakt-section {
    width: 500px;
    max-width: 90%;
    margin: 30px auto;
    text-align: center;
}

.kontakt-section > h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.kontakt-item {
    position: relative;
    padding: 2px 0;
}

.kontakt-item:not(:last-child)::after {
    content: "•\A•\A•";
    white-space: pre;
    display: block;
    line-height: 7px;
    font-size: 18px;
    color: #c8b8db;
    margin: 8px auto 0;
}

.kontakt-item h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.kontakt-item a {
    color: #26408b;
    text-decoration: none;
    font-size: 16px;
}

.kontakt-item a:hover {
    text-decoration: underline;
}


