@font-face {
    font-family: 'FourteenRules';
    src: url('../fonts/FourteenRules.otf') format('opentype');
}

:root {
    font-family: 'FourteenRules';
}

html{
    letter-spacing: 2px;
}

html body{
    height: 100%;

    margin: 0;
    padding: 0;
}


* {
    box-sizing: border-box;
  }

  a:link {
    color: white;
  }

  /* Besuchter Link */
  a:visited {
    color: white;
  }

  /* Beim Hover (Maus darüber) */
  a:hover {
    transition: color 0.3s ease;
    color: #333;
  }

  /* Während des Klickens */
  a:active {
    color: white;
  }

footer{
    position: fixed;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    bottom: 0;
    width: 100%;
}

footer ul{
    display: flex;
    gap: 10rem;
    list-style: none;
}

footer li{
    display: inline-block;
}

footer a{
    text-decoration: none;
    font-size: 30px;
}

footer a:visited {
    color: rgb(255, 255, 255);
}

footer a:hover {
  color: #333;
}



.image-text-container {
    position: relative;
    display: inline-block;
}

.image-text-container img {
    display: block;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0,0); /* or another color to contrast with the image */
    font-size: 14px; /* Adjust as needed */
    font-weight: bold;
}

.navi {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 9vh;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(255, 255, 255, 0.5);
    color: #333;
    font-size: 4vh;
    font-family: 'FourteenRules';
    z-index: 10;
  }

  .navi img{
    height: 50px;
    width: auto
  }

  .navi-right {
    display: flex;
    gap: 8vh;
  }

  .navi-right img{
    height: 5.5vh;
    width: auto;
  }


  .navi-left {
    display: flex;
    gap:10vh;
  }
  
  .navi a {
    text-decoration: none;
  }

  .nav_mobile{
    display: none;
  }




@media only screen and (max-width: 640px) {

  footer{
    display: none;
  }

  .navi{
    display: none;
  }

  .arrow{
    display: none;
  }

  a:hover{
    color: rgb(255, 255, 255);
  }


  .nav_mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 9vh;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: rgb(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: grid;
    color: rgb(255, 255, 255);
    grid-template-columns: 1fr auto 1fr; /* 3 equal sections, center fixed */
    column-gap: 2%; /* ← increase or adjust this value */
    align-items: center;
    text-align: center;
  }
  
  .nav_mobile li {
    list-style: none;
  }
  
  .nav_mobile a {
    text-decoration: none;
    font-size: 2.7vh;
  }
  






  .nav_mobile a{
    text-decoration: none;
    font-size: 2.7vh;
  }




}