
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url("/taustakuvat/taustakuva.png"); 
    background-size: cover;
    background-attachment: fixed;
    color: #fff; 
    overflow-x: hidden; /* Estää vaakasuuntaisen vierityksen */
}

header {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 3px solid #00ffff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

nav {
    background-image: "image.png";
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 0 20px;
    top: 0;
    z-index: 1000;
}

nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;  

    position: absolute;
    bottom: 0;
    left: 0;
}

nav ul {
    background-image: "image.png";
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

nav ul li {
    background-image: "image.png";
    display: inline-block;
    padding: 1rem;
}

nav ul li a {
    background-image: "image.png";
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background 0.3s, color 0.3s;
    border-radius: 50px;
    font-size: 1.1rem;
}

nav ul li a:hover {
    background-image: "image.png";
    background: #00ffff;
    color: #000;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        padding: 0.5rem 0;
    }
}

.hero-section {
    background-color: rgba(132, 204, 123, 0.9);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 3px solid #00ffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.info-section,
.gallery-section,
.news-section,
.contact-section,
.staff {
    padding: 2rem;
    background: rgba(34, 34, 34, 0.9); 
    margin: 2rem 1rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
 ;
}

.info-section:hover,
.gallery-section:hover,
.news-section:hover,
.contact-section:hover,
.staff:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
}

.gallery img {
    width: 30%;
    margin: 0.5%;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.button {
    padding: 1rem;
    background: linear-gradient(135deg, #6441cb, #342e8b); 
    margin: 1rem 0;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(100, 65, 203, 0.7);
    color: white;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(100, 65, 203, 1);
}

.container {
    margin-bottom: 20px;
}

.webhook {
    background-color: rgba(35, 39, 42, 0.9);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.webhook input[type="text"] {
    width: 80%;
    padding: 10px;
    margin-right: 5px;
    border-radius: 3px;
    border: none;
    background: #2c2f33;
    color: #fff;
}

.webhook button {
    padding: 10px 20px;
    background-color: #7289DA;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.webhook button:hover {
    background-color: #5a73c9;
    transform: translateY(-2px);
}

.embed-container {
    margin-top: 10px;
}

.embed-container input[type="text"],
.embed-container input[type="color"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 3px;
    border: none;
    background: #2c2f33;
    color: #fff;
}

.status {
    margin-top: 20px;
    color: #7289DA;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}
body.light-theme {
    background-color: white;
    color: black;
}

body.dark-theme {
    background-color: black;
    color: white;
}
body.default-theme {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-image: url("taustakuva.png"); 
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    overflow-x: hidden;
}

header.default-theme {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-bottom: 3px solid #00ffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-section.default-theme {
  background-color: rgba(132, 204, 123, 0.6); /* Läpinäkyvä taustaväri */
  color: #fff;
  border-bottom: 3px solid #00ffff;
  border-radius: 20px; /* Pyöristetyt kulmat */
  padding: 50px; /* Lisää tilaa sisältöön */
  backdrop-filter: blur(15px); /* Taustan blur-efekti */
  -webkit-backdrop-filter: blur(15px); /* Safari-tuki */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Lisää varjo */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Hieno varjo tekstille */
  transition: all 0.3s ease; /* Sujuva siirtymäefekti */
}

.hero-section.default-theme:hover {
  transform: scale(1.05); /* Pieni zoom-efekti hoverissa */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Voimakkaampi varjo hoverissa */
}


body.custom-theme {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color, #ffffff);
    color: var(--text-color, #000000);
    background-image: var(--bg-image);
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

header.custom-theme {
    background-color: var(--header-color, #333333);
    color: var(--text-color, #ffffff);
    border-bottom: 2px solid var(--header-color, #3498db);
}

.button.custom-theme {
    background-color: var(--button-color, #3498db);
    color: #fff;
}

.button.custom-theme:hover {
    background-color: var(--button-color-hover, #2980b9);
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

#offline-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    z-index: 1000;
}

.hidden {
    display: none;
}
#ilmoitus {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    padding: 3px;
    font-size: 18px;
    z-index: 1000;
}


/*
CSS @property and the New Style
https://ryanmulligan.dev/blog/css-property-new-style/
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,500&display=swap");

:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: blue;
  --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
} 

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 1.25rem 2.5rem;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

  &::before,
  &::after,
  span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

/* Dots pattern */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  -webkit-mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
          mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
          mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.shiny-cta {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent,
    --gradient-shine;

  &,
  &::before,
  &::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    -webkit-animation: calc(var(--duration) * 1.5) breathe linear infinite;
            animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);

  &,
  &::before,
  &::after {
    -webkit-animation-play-state: running;
            animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@-webkit-keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@-webkit-keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@-webkit-keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}
#quote {
  font-size: clamp(2rem, 10rem, 6vw);
  color: #dfdcff;
  text-align: center;
  line-height: 1.2
}
 

flex items-center text-sm inline-flex items-center justify-center p-4 px-5 py-3 overflow-hidden font-medium text-orange-700 transition duration-300 ease-out rounded-full shadow-xl group hover:ring-1 hover:ring-orange-500{};

/*body.theme-1 {
    font-family: 'Georgia', serif;
    background-color: #f9f9f9;
    color: #333;
}

header.theme-1 {
    background-color: #fff;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: none;
}

nav.theme-1 {
    background-color: #fff;
    color: #333;
}

nav ul li a.theme-1 {
    color: #333;
}

nav ul li a:hover.theme-1 {
    background-color: #e0e0e0;
}

.hero-section.theme-1 {
    background-color: #e9f7ef;
    color: #333;
    border-bottom: 2px solid #2ecc71;
}

body.theme-2 {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e;
    color: #c0c0c0;
}

header.theme-2 {
    background-color: #333;
    color: #c0c0c0;
    border-bottom: 3px solid #ff6347;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

nav.theme-2 {
    background-color: #333;
    color: #c0c0c0;
}

nav ul li a.theme-2 {
    color: #c0c0c0;
}

nav ul li a:hover.theme-2 {
    background-color: #ff6347;
    color: #fff;
}

.hero-section.theme-2 {
    background-color: #444;
    color: #fff;
    border-bottom: 3px solid #ff6347;
}


body.theme-3 {
    font-family: 'Courier New', monospace;
    background-color: #2a2a72;
    color: #ffe700;
}

header.theme-3 {
    background-color: #ff416c;
    color: #ffe700;
    border-bottom: 3px solid #ff4b2b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

nav.theme-3 {
    background-color: #ff416c;
    color: #ffe700;
}

nav ul li a.theme-3 {
    color: #ffe700;
}

nav ul li a:hover.theme-3 {
    background-color: #ff4b2b;
    color: #fff;
}

.hero-section.theme-3 {
    background-color: #ff4b2b;
    color: #ffe700;
    border-bottom: 3px solid #ff416c;
}
body.theme-4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #4a4a4a;
}

header.theme-4 {
    background-color: #2c3e50;
    color: #ecf0f1;
    border-bottom: 2px solid #3498db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav.theme-4 {
    
    color: #ecf0f1;
    background-image: "image.png";
}

nav ul li a.theme-4 {
    color: #ecf0f1;
}

nav ul li a:hover.theme-4 {
    background-color: #3498db;
    color: #ffffff;
}

.hero-section.theme-4 {
    background-color: #3498db;
    color: #ffffff;
    border-bottom: 2px solid #2980b9;
}
    */
