/*
    Stylesheet
    RiedCreator.de
    @2025
*/

    body {
        background:#000; 
        color:#fff; 
        font-family:sans-serif;
        /*font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;*/

    }

/*
    body, p, h1, h2, h3, h4, h5, h6 {
        word-break: normal;
        overflow-wrap: break-word;
        white-space: normal;
    }*/


/* LINKS */

    a:link {
        color: green;
        background-color: transparent;
        text-decoration: none;
    }
  
    a:visited {
        color: pink;
        background-color: transparent;
        text-decoration: none;
    }
  
    a:hover {
        color: red;
        background-color: transparent;
        text-decoration: underline;
    }
  
    a:active {
        color: yellow;
        background-color: transparent;
        text-decoration: underline;
    }

  /* */

    .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .textleft {
        text-align: left;
    }

    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /*
    p {
        text-align: center;
    }  
    */

    p, .text {
        text-align: center;
        word-break: keep-all;
    }

    table { 
        width: 600px; 
    }

    .tabcenter {
        margin-left: auto;
        margin-right: auto;            
    }          

    .grow { 
        width: 100%; 
    }

    td {
        text-align: center;
        width:0.1%;
        white-space: nowrap;
    }

    h1 {
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    h3 {
        text-align: center;
    }    

    .p1 {
        text-align: center;
        font: 1em sans-serif;
        font-style: italic;
    }

    ul {
        text-align: center;
        list-style-type: none;
        margin: 0;
        padding: 0;        
    }

/* Platform grid */
  .platforms {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 18px 48px;
  }

  .platform-intro {
    max-width: 820px;
    margin: 0 auto 18px;
    line-height: 1.6;
  }

  .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px auto 32px;
  }

  .platform-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #0f1016;
    border: 1px solid #1f2533;
    border-radius: 14px;
    color: #f4f4f4;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .platform-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45);
  }

  .platform-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #0a0a0a;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .platform-logo svg {
    width: 52px;
    height: 52px;
  }

  .platform-info h3 {
    margin: 0;
    font-size: 1.1rem;
    text-align: left;
  }

  .platform-tagline {
    margin: 4px 0 6px;
    color: #d8d8d8;
    text-align: left;
    line-height: 1.4;
  }

  .platform-cta {
    color: var(--accent);
    font-weight: 600;
    text-align: left;
  }

  .platform-note {
    max-width: 720px;
    margin: 0 auto 12px;
    color: #cfcfcf;
    line-height: 1.5;
  }

    li {
        text-align: center;
    }

    .p1 {
        text-align: center;
        font: 1em sans-serif;
        font-style: italic;
    } 

    /* -- Videos -- */

    .video-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1080px;  /* Begrenzung der Gesamtbreite */
    margin: 0 auto;     /* Zentriert die Galerie auf der Seite */
    padding: 10px;
    }

    .video-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .video-title {
    margin-bottom: 8px;
    font-weight: bold;
    }

    video {
      width: 250px;
    }

    .video2 {
        width: 800px;
    }

    /* -- Videos YT -- */

    .video-container {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .video-container iframe {
        height: 200px;
        width: 355px; /* Seitenverhältnis 16:9 bei Höhe 200px */
    }

    /* -- Videos YT -- */

    .video-container2 {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .video-container2 iframe {
        height: 500px;
        width: 500px; /* Seitenverhältnis 16:9 bei Höhe 200px */
    }


    /* instragram */

    .instagram-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: #E1306C;
        font-weight: normal;
        font-size: 1.2em;
        transition: color 0.3s ease;
    }

    .instagram-link:hover {
        color: #C13584;
    }

    .instagram-link i {
        margin-right: 8px;
    }

/* end */

/* Advent Calendar */
.advent-body {
  background: radial-gradient(circle at 20% 20%, rgba(26, 15, 47, 0.65), rgba(6, 3, 12, 0.8) 60%), linear-gradient(135deg, rgba(15, 10, 31, 0.85) 0%, rgba(29, 10, 31, 0.75) 50%, rgba(11, 15, 36, 0.7) 100%), url("images/advent/advent_bg.png") center/cover no-repeat fixed;
  color: #f7e9c4;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.advent-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 18px 48px;
}

.advent-lede {
  text-align: center;
  margin: 18px auto 28px;
  line-height: 1.6;
  max-width: 760px;
}

.advent-body h1,
.advent-body h2 {
  color: #f2d47a;
  letter-spacing: 0.6px;
}

.advent-body a {
  color: #f2d47a;
}

.advent-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 14px;
  margin: 0 auto 24px;
}

.door {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.door:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.door.open .door-button {
  display: none;
}

.door-button {
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
  position: relative;
}

.door-button img {
  width: 100%;
  height: auto;
  display: block;
}

.door-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fdf9f6;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.door-content {
  display: none;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 6, 14, 0.8);
  flex-direction: column;
  align-items: center;
}

.door.open .door-content {
  display: flex;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 288px;
  margin: 0 auto;
  padding-top: 177.78%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.door-status {
  display: block;
  font-size: 0.85rem;
  color: #f4dada;
  margin-top: 8px;
}

.advent-footnote {
  text-align: center;
  margin-top: 18px;
  color: #f6e7e7;
}

.door-close {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(242, 212, 122, 0.6);
  background: rgba(242, 212, 122, 0.12);
  color: #f2d47a;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.door-close:hover {
  background: rgba(242, 212, 122, 0.25);
  border-color: rgba(242, 212, 122, 0.9);
}

.lang-switch {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 20;
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}

.lang-switch a {
  color: #f2d47a;
  text-decoration: none;
}

.lang-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .advent-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  .advent-grid {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }
}

@media (max-width: 540px) {
  .advent-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}
