/*Dette er gradient på forside*/
.textgradient {
background: #3B3C38;
background: linear-gradient(to right, #000000 5%, #BD865A 40%, #BD865A 0%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

/*Logo animation*/
.iman-logo {
  animation: breathLight 6s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  will-change: transform, filter;
  transform-origin: center;
}

@keyframes breathLight {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
  }
}

/*Animation puls header*/
.pulse-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b3c38, transparent);
    animation: pulse 4s ease-in-out infinite;
    opacity: 0.4;
    z-index: 9999;
}

@keyframes pulse {
    0% { opacity: 0.1; }
    50% { opacity: 0.6; }
    100% { opacity: 0.1; }
}



/*Animation tags*/
body.home .tags {
    display: flex; /* vis normalt på forsiden */
}

body:not(.home) .tags {
    display: none; /* skjul på alle andre sider */
}

/* ==========================
   Animation tags styling
=========================== */
.tags {
    position: fixed;
    left: 1%;     
    bottom: 2%;
    display: flex;
    gap: 8px;
    pointer-events: none;
    z-index: 10;
    font-family: 'Montserrat', sans-serif; /* blød og tynd font */
}

.tags span {
    background: rgba(59, 60, 56, 0.55);
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 300; /* Montserrat Light */
    font-size: 12px;
    color: #ffffff;
    opacity: .95;
    transform: translateY(0);
    animation: tagFloat 6s ease-in-out infinite;
}

.tags span:nth-child(2) { animation-delay: 1s; }
.tags span:nth-child(3) { animation-delay: 2s; }

@keyframes tagFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}




/*Animation solsikke*/
/* ==========================
   Kun vis på WordPress forsiden
=========================== */
body.home .floating-emoji {
    display: block;
}

body:not(.home) .floating-emoji {
    display: none;
}

/* ==========================
   Container for emojis
=========================== */
.floating-emoji {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 9999;
}

/* ==========================
   Emoji styling og animation
=========================== */
.emoji {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 25px; /* standard størrelse */
    opacity: 0;
    animation: floatUp 6s ease-in-out forwards;
}

/* Størrelser */
.emoji.large {
    font-size: 30px;
    animation-delay: 0s;
}

.emoji.small {
    font-size: 20px;
    animation-delay: 1s;
}

/* Float / svæv animation */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-80px) translateX(-5px) rotate(-3deg);
    }
    70% {
        transform: translateY(-90px) translateX(3px) rotate(3deg);
    }
    90% {
        transform: translateY(-100px) translateX(-2px) rotate(-2deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-110px) translateX(0) rotate(0deg);
    }
}


@media screen and (max-width: 991px) {
  .desktop-only {
    display: none !important;
  }
}