body,
html {
    overflow-x: hidden;
}

:root {
    --green: #008000;
    --dark-green: #006600;
    --gray: #85888C;
    --dark-gray: #333;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --highlight: #00ed77;
    --highlight-btn: #00cc66;
    --highlightt2: #08801dcc;
    --nav-width: 250px;
}

.appstore {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrera vertikalt */
    gap: 20px; /* Mellanrum mellan knapparna */
    margin-top: 6%;
}

/* Se till att knapparna justeras korrekt */
.appstore a {
    display: inline-block;
    margin: 0 10px; /* Lägger lite mellanrum mellan knapparna */
}

/* Stil för knappar */
.download-button {
    display: flex;
    align-items: center;
}

/* Se till att bilderna har samma höjd */
.download-button img {
    max-width: 180px;
    height: auto; 
    object-fit: contain;
    transition: 0.2s ease-in-out;
}

.download-button img:hover {
    transform: scale(1.05);
    transition: 0.2s ease-in-out;
}

/*Mobilanpassning: Sätt knapparna under varandra på små skärmar */
@media (max-width: 768px) {
    .appstore {
        flex-direction: column; /* Stapla knapparna vertikalt */
        gap: 10px; /* Minska avståndet mellan knapparna */
    }

    .appstore a {
        margin: 5px 0; /* Minska marginalen */
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--dark-green);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/*
  .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background: linear-gradient(115deg, #006600, #008000); 
      background-size: 300% 300%; 
      animation: swerve 10s infinite ease-in-out; 
        color: var(--white);
        position: sticky;
        top: 0;
        z-index: 1000;
      
    }
    
    @keyframes swerve {
      0% {
        background-position: 0% 50%; 
      }
      25% {
        background-position: 50% 100%; 
      }
      50% {
        background-position: 100% 50%; 
      }
      75% {
        background-position: 50% 0%; 
      }
      100% {
        background-position: 0% 50%; 
      }
    }*/

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5%;
}

@media (max-width: 768px) {
    .logo {
        margin-top: 2%;
        margin-left: -2%;
    }
}

.logo img {
    width: 150px;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.4s ease;
}

.menu-toggle .bar:nth-child(1) {
    top: 5px;
}

.menu-toggle .bar:nth-child(2) {
    top: 13px;
}

.menu-toggle .bar:nth-child(3) {
    top: 21px;
}

.menu-toggle.active .bar:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
}

.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--nav-width);
    height: 100%;
    background-color: var(--dark-green);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transition: left 0.4s ease;
}

.nav.show {
    left: 0;
}

.nav-list {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-list a:hover {
    background-color: var(--highlight);
}

.language-switch {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
    padding: 1rem;
}

.lang-btn {
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    text-decoration: none;
    /*background-color: var(--highlight);*/
    color: var(--white);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.lang-btn:hover {
    background-color: var(--white);
    color: var(--dark-green);
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 500px;
    z-index: 2;
    padding-left: 3%;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content h1 span {
    color: var(--highlight);
}

.hero-content p {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.hero-content a {
    text-decoration: none;
    color: #fff;
}

.hero-content .btn.primary {
    background-color: var(--highlight-btn);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s ease-in-out;
}

.btn.primary:hover {
    background-color: var(--highlight);
    transition: 0.1s ease-in-out;
}

.hero-illustration {
    max-width: 600px;
    width: 100%;
    margin: 2rem auto;
    text-align: center;
    margin-bottom: 0;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: -1%;
}




.free {
    font-size: 12px;
}

/* VIDEO SECTION */
.video-wrapper {
    margin-top: 3rem; /* eller 40px, justera som du vill */
    max-width: 960px;
    margin-inline: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}


.video-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: #000;
    border-radius: 15px;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 15px;
}

.image-slider {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.image-slider .slider img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.image-slider .slider img:hover {
    transform: scale(1.1);
}



/* Feature box */
/* General Styles */
/*
  .features {
      padding: 3rem 1.5rem;
      background-color: var(--dark-green);
      color: #ffffff;
      font-family: Arial, sans-serif;
    } */
.green-wrapper {
    background: linear-gradient(115deg, var(--dark-green), var(--green), var(--highlightt2), var(--green));
    padding-bottom: 5%;
}

.features {
    padding: 3rem 1.5rem;
    color: var(--white);
    font-family: Arial, sans-serif;
    background-size: cover;
}


/* Animation för att skapa rörelse i gradienten */
/*@keyframes gradient-shift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }*/

/* Introduction Section */
.for-who {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.for-who h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

.for-who p {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .for-who h2 {
        text-align: left;
        padding-left: 15px;
    }

    .for-who p {
        padding-left: 15px;
    }

    .free {
        font-size: 10px;
    }

    .lang-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Features Section Header */
.features-header h2 {
    text-align: center;
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Cards */
.feature {
    background-size: cover;
    /* Cover the entire box */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Prevent repeating */
    border-radius: 10px;
    height: 210px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Overlay Content */
.feature .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    /* White text */
    text-align: center;
    padding: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 1rem;
    color: #e0e0e0;
    /* Light gray for readability */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .features-grid {
        gap: 1.5rem;
    }

    .feature {
        height: 180px;
    }

    .feature h3 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .for-who h2,
    .features-header h2 {
        font-size: 1.8rem;
    }

    .for-who p {
        font-size: 1.2rem;
    }
}



/* PRICING SECTION */
.pricing {
    /*background-color: var(--green);*/
    color: #ffffff;
    /* White text */
    padding: 3rem 8rem;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 5%;
    margin-bottom: 5%;

}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.price-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: left;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Individual Plans */
.plan {
    background-color: var(--dark-green);
    /* White background */
    color: var(--highlight);
    /* Dark gray text */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* Plan Header */
.plan h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--highlight);
    /* Green */
}

.plan p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

/* Plan List */
.plan ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.plan ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #fff;
}

/* Button */
.plan .btn {
    display: block;
    margin-top: 1.5rem;
    width: 100%;
    background-color: var(--highlight-btn);
    /* Green */
    color: #ffffff;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.plan .btn:hover {
    background-color: var(--highlight);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#pricingbtn {
    text-align: center;
    text-decoration: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .pricing {
        padding: 3rem 2rem;
    }

    .pricing h2 {
        font-size: 2rem;
    }

    .pricing-grid {
        gap: 1.5rem;
    }

    .plan {
        padding: 1.5rem;
    }

    .plan h3 {
        font-size: 1.5rem;
    }

    .plan p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing h2 {
        font-size: 1.8rem;
    }

    .price-section p {
        font-size: 1.2rem;
    }

    .plan h3 {
        font-size: 1.4rem;
    }

    .plan p {
        font-size: 0.9rem;
    }

    .plan ul li {
        font-size: 0.9rem;
    }

    .plan .btn {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
}


/* FOOTER SECTION */
.footer {
    padding: 1rem 2rem;
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
}

.footer-nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--white);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        flex-direction: column;
    }
}

/* Coming Soon Section */
.coming-soon {
    padding: 3rem 2rem;
    width: 80%;
    margin: auto;
    margin-top: 5%;
    color: #fff;
    text-align: left;
    font-family: Arial, sans-serif;
}

.coming-soon-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    color: #fff;
}

.coming-soon-header p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.coming-card {
    background-color: var(--dark-green);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.coming-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.coming-icon img {
    max-width: 100px;
    margin-bottom: 1rem;
}

.coming-card h3 {
    font-size: 1.5rem;
    color: var(--highlight);
    margin-bottom: 1rem;
    font-weight: 300;
}

.coming-card p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

.icon {
    width: 32px;
    /* Adjust as needed */
    height: 32px;
    margin-bottom: 2%;
    margin-right: 10px;
    fill: var(--highlight);
    /* Matches the icon color */
    vertical-align: middle;
}

@media (max-width: 768px) {
    .coming-soon {
        width: 100%;
        text-align: left;
    }
}

.floating-balls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Gör så att bollarna inte blockerar klick på andra element */
}

.ball {
    position: absolute;
    width: 12px;
    height: 12px;
    filter: blur(2px);
    background-color: #008000;
    border-radius: 50%;
    animation: float 35s ease-in-out infinite, randomMovement 10s infinite;
}

/* Animering för att göra bollarna sväva */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-300px);
        /* Höjd på svävningen */
    }

    100% {
        transform: translateY(300px);
    }
}

/* Animering för att slumpmässigt flytta bollarna över hela skärmen */
@keyframes randomMovement {
    0% {
        left: random(90%);
        /* Slumpmässig startposition från vänster */
        top: random(90%);
        /* Slumpmässig startposition från toppen */
    }

    25% {
        left: random(100%);
        top: random(100%);
    }

    50% {
        left: random(100%);
        top: random(100%);
    }

    75% {
        left: random(100%);
        top: random(100%);
    }

    90% {
        left: random(100%);
        top: random(100%);
    }
}

/* Slumpmässig fördröjning för varje boll för att skapa en naturlig effekt */
.ball:nth-child(1) {
    animation-delay: 0s;
}

.ball:nth-child(2) {
    animation-delay: 1s;
}

.ball:nth-child(3) {
    animation-delay: 2s;
}

.ball:nth-child(4) {
    animation-delay: 3s;
}

.ball:nth-child(5) {
    animation-delay: 0.5s;
}

.ball:nth-child(6) {
    animation-delay: 1.5s;
}

.ball:nth-child(7) {
    animation-delay: 2.5s;
}

.ball:nth-child(8) {
    animation-delay: 3.5s;
}

.ball:nth-child(9) {
    animation-delay: 4s;
}

.ball:nth-child(10) {
    animation-delay: 4.5s;
}

.ball:nth-child(11) {
    animation-delay: 5s;
}

.ball:nth-child(12) {
    animation-delay: 5.5s;
}

/* Container för att centrera och ställa in grundlayout */
@keyframes backgroundShift {
    0% {
        background: #2a6041;
    }

    33% {
        background: #4a8c61;
    }

    66% {
        background: var(--highlight)
    }

    100% {
        background: var(--highlightt2)
    }
}

.contact-container {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.18);
    max-width: 820px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    padding: 0;
    animation: backgroundShift 8s infinite alternate ease-in-out;
}

/* Layout för kontaktformuläret */
.form-container {
    display: flex;
    flex-direction: row;
    gap: 0;
}

@media (max-width: 768px) {
    .contact-container {
        box-shadow: none
    }
}

/* Vänstra kolumnen (beskrivning) */
.left-container {
    flex: 1;
    background-color: var(--dark-green);
    /* Röd bakgrund */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.left-inner-container h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.left-inner-container p {
    font-size: 1rem;
    line-height: 1.5;
    color: #f3f3f3;
    text-align: left;
}

/* Högra kolumnen (kontaktformulär) */
.right-container {
    flex: 1;
    background-color: var(--highlightt2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.right-inner-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

form h2 {
    font-size: 1.8rem;
    color: var(--highlight);
    font-weight: 300;
}

form p {
    color: #666;
    font-size: 0.9rem;
    margin: 10px 0;
}

/* Formulärfält */
input,
textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus,
textarea:focus {
    outline: 1px solid var(--highlight);
}

/* Styling för checkbox-container */
.checkbox-container {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--light-gray);
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(0.8);
    appearance: none;
    /* Ta bort standardstil */
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-gray);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: var(--highlight);
    /* Gör kryssrutan röd när den är markerad */
    border-color: var(--dark-green);
}

.checkbox-container input[type="checkbox"]:checked::before {
    content: "✓";
    /* Visa en bockmarkering */
    color: #fff;
    font-size: 18px;
    position: absolute;
    left: 5px;
    top: -1px;
}

.checkbox-container label {
    cursor: pointer;
}

.checkbox-container label a {
    color: var(--highlight);
    text-decoration: underline;
}

.checkbox-container label a:hover {
    color: var(--highlight-btn);
}


/* Submit-knappen */
#contactbutton {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: var(--highlight-btn);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ✅ Ensures Spinner is Inside Button */
#contactbutton span {
    display: inline-block;
}

#contactbutton:hover {
    background-color: var(--highlight);
}

/* Styles for success messages */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

/* Styles for error messages */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

/* Basic spinner styling */
#spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--highlight);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    margin-left: 10px;
}

/* Animation for the spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Message Container Styling */
#messageContainer {
    margin-top: 10px;
}


/* Responsiv design för mindre skärmar */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }

    .left-container {
        display: none;
    }

    .right-inner-container {
        width: 90%;
    }

    input,
    textarea {
        font-size: 1rem;
    }

    button {
        font-size: 1rem;
        padding: 10px;
    }
}

/* STÄMPELKLOCKA SEKTION */
.stamp-clock-section {
    padding: 4rem 2rem;
    
    color: var(--dark-gray);
    text-align: left;
}

.stamp-clock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stamp-clock-text {
    flex: 1;
    min-width: 300px;
}

.stamp-clock-text h2 {
    
    color: var(--white);
    font-weight: 300;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.stamp-clock-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--white);

}

.stamp-clock-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);

}


#clockbtn {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    background-color: var(--highlight-btn);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Viktigt för animationen */

    background-image: radial-gradient(circle at center, var(--highlight) 50%, var(--highlight-btn) 100%);
    background-size: 0% 0%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease, color 0.2s ease;
    z-index: 1;
}

#clockbtn:hover {
    background-size: 200% 200%;
    color: #fff;
    text-shadow: 0 0 8px var(--highlight);
}



.stamp-clock-image-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
    height: 300px;
    overflow: hidden;
  }
  
  .clock-img {
    position: absolute;
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--highlight);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.8);
    z-index: 0;
  }
  
  .clock-img.center {
    opacity: 1;
    transform: scale(1.2) translateX(0);
    z-index: 2;
  }
  
  .clock-img.left {
    opacity: 0.5;
    transform: translateX(-90%) scale(0.95);
    z-index: 1;
  }
  
  .clock-img.right {
    opacity: 0.5;
    transform: translateX(90%) scale(0.95);
    z-index: 1;
  }
  
  
  .gallery-btn {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    font-size: 1.2rem; /* MINDRE TEXT */
    padding: 0.3rem 0.6rem; /* MINDRE KNAPPSTORLEK */
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  
  .gallery-btn:hover {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .gallery-btn.prev {
    left: 0.5rem;
  }
  
  .gallery-btn.next {
    right: 0.5rem;
  }
  


/* Responsiv anpassning */
@media (max-width: 768px) {
    .stamp-clock-container {
        flex-direction: column-reverse;
        text-align: left;
        display: block;
    }

    .stamp-clock-container h2 {
        text-align: center;
    }

    .stamp-clock-image-gallery {
        height: 250px;
        position: relative;
        flex-direction: unset; /* ta bort column, behåll absolut positionering */
        gap: 0;
    }

    .clock-img {
        width: 160px;
        height: 160px;
    }

    .clock-img.center {
        transform: scale(1.1) translateX(0);
    }

    .clock-img.left {
        transform: translateX(-80%) scale(0.9);
    }

    .clock-img.right {
        transform: translateX(80%) scale(0.9);
    }

    .gallery-btn {
        font-size: 1rem;
        padding: 0.2rem 0.5rem;
    }

    .stamp-clock-text h2 {
        font-size: 1.8rem;
    }

    .stamp-clock-text p,
    .stamp-clock-text ul {
        font-size: 1rem;
    }
}