.logo{
  display: flex;
  justify-content: center;
  align-items: center;
}

@font-face {
    font-family: "Planet kosmos";
    src: url('/fonts/plank.TTF') format('truetype');
    font-display: swap;
}


@font-face {
   font-family: "Aero";
   src: url('/fonts/Aero_Matics_Bold.ttf') format('truetype');
    font-display: swap;
}

body {
    background-color: #7fefff;
    background-image: url(/graphics/tiled/wildlitebluesatinbg.gif);
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: auto;
    font-family:'Comic Sans MS', monospace;
}

  .scrolling-text {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
      color: #3f82ab;
      font-family: "Planet kosmos";
      font-size: 2vw;
      padding: 10px 0;
      top: 0;
      left: 0;
      z-index: 1000;
    }

    .scrolling-text span {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 12s linear infinite;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
}
    @media screen and (max-width: 600px) {
        .scrolling-text {
            font-size: 4vw;
            padding: 6px 0;
        }

        .scrolling-text span {
            animation-duration: 8s;
            }
}
a {
    display: inline-block;
    color: aquamarine;
    text-align: center;
    padding: 14px 33px;
    text-decoration: none;
    text-shadow: 1px 1px 2px #ff1cd9; 
}

a:link {
    color: white;
    text-align-last: center;
}

a:visited {
    color: rgb(117, 203, 255);
    background-color: transparent;
    text-decoration: none;
}

    .topnav {
    background-color: #6287ea;
    opacity: 0.5;
    position: sticky;
    top: 0;
    font-family: "Aero", sans-serif;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
}

   .topnav a {
      float: left;
      display: block;
      text-align: center;
      color: white;
      margin: 0 -1%;
      padding: 2% -3%;
    }

       .topnav a:hover {
      color: rgba(55, 75, 217, 0.75);
      background-color: #bdc4e7;
}

 .topnav a.active {
      background-color: rgba(18, 255, 230, 0.77);
      color: white;
    }

   .topnav a.icon {
    display: none;
    float: right;
    padding: 11px 164px;
    cursor: pointer;
    font-size: 24px;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 768px) {
      .topnav a:not(.icon) {
        display: none;
    }

      .topnav a.icon {
        display: block;
    }

      .topnav.responsive {
        position: relative;
    }

      .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

      .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

ul {
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    font-family: "Aero", monospace;
    list-style-type: none;
    margin: auto;
    padding-left: 41px;
    padding-right: 45px;
    overflow: hidden;
    background-color: white;
    outline-style: groove;
    outline-color: rgb(82, 155, 255);
    outline-width: medium;
    box-shadow: 8px 8px 5px rgba(72, 122, 189, 0.86);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

h1 {
    color: rgba(63, 130, 171, 0.91);
    font-family: "Aero";
    font-size: 247%;
    text-align: center;
}

h2 {
    display: block;
    color: #3f82ab;
    font-family:'Planet kosmos';
    font-size: 200%;
    letter-spacing: 5px;
    text-align: center;
}

h3 {
    display: block;
    color: rgba(50, 82, 190, 0.93);
    font-family: 'Planet kosmos', monospace;
    font-size: 220%;
    text-align: center;
}

h4 {
    display: block;
    color: #ff0000;
    font-family: monospace;
}

p {
    font-family: "Aero", monospace;
    color: #c7effd;
}

@media screen and (max-width: 600px) {
    ul {
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }

    li {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    a {
        padding: 10px 15px;
        font-size: 16px;
    }

    h1 {
        font-size: 250%;
    }

    h2 {
        font-size: 150%;
    }
}

  .gallerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  flex-wrap:nowrap;
  justify-content: space-around;
  margin-bottom: 20px;
  margin-top: 20px;
 
}

  .gallery-item {
  border: 5px solid rgba(0, 10, 255, 0);
  padding: 15px;          
  background: rgba(11, 58, 205, 0.51);
  border-radius: 25px;
  outline: groove rgba(113, 255, 244, 0.51);
}
  
.gallerie img {
  width: 100%;
  max-width: 100%;
  border-radius: 13px;
  height: auto;
  display: block;
  transition: transform 0.2s ease-in-out;
  object-fit: cover;
}

.gallerie img:hover {
  transform: scale(1.02);
}

@media screen and (max-width: 500px) {
  .gallerie {
    display: grid;
    width: 80%;
    margin: auto;
    
    flex-direction: column;
    align-content: center;
  }

  .gallerie img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    }
}
