/* weiher.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
 }


/* Loader */

#loader{
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(45, 45, 45, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    background-image: url(../site_img/Weiher_Logo5.svg);
    background-size: 265px;
    background-repeat: no-repeat;
    background-position: center;
  }

  .no-js #loader {
    display:none;
  }

  #loader:after {
    content:"";
    display: block;
    width: 350px;
    height: 350px;
    border: 3px solid transparent;
    border-top: 3px solid #c2c2c2;
    border-radius: 50%;
    animation:spin 1s infinite;
  }

  @keyframes spin{
    0% {transform: rotate(0deg);}
    0% {transform: rotate(-360deg);}
  }
  
  /* Loader end */

  /* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
  }
  
  /* Modal Content/Box */
  .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  }
  
  /* The Close Button */
  .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  }
  
 /* The Modal (background) end*/

  body {
    font-family: darkmode-on, sans-serif;
    font-weight: 300;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%!important;
    color: #000000;
    background-color: rgba(45, 45, 45, 1);
  }

  .edge {
    aspect-ratio: 16 / 10;
    position: relative;
    width: 75%;
    background-image: url(../site_img/bg_full_insta_1.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    margin-bottom: 10px;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5)
  }

  .invisible-link {
    position:absolute;
    top: 34%;
    left: 50%;
    right: 25%;
    bottom: 30%;
    z-index: 10;
    opacity: 0; 
    text-indent: -9999px; 
    background-color: #cccccc;
    }

  .bg {
    display: none;
  }

  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    position: absolute;
    width: 100%;
    height: 11%;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: linear-gradient(to bottom,rgba(45, 45, 45, 1),rgba(45, 45, 45, 0) );
    padding-bottom: 11%;
  }

  .logo{
    width: 265px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    position: absolute;
    top: 0;
  }

  .headspace {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 11%;
    background: none;
  }

  .spacer {
    height: 3%;
  } 
  .spacer2 {
    height: 3%;
  }

  .textbox {
    width: 30%;
    height: 72%;
    background-color: rgba(256, 256, 256, 0.95);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    position: relative;
    padding: 2%;
  }

  .textbox p{
    font-size: calc(6px + (12 - 6) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
  } 

  .textbox a:link{
    font-size: calc(6px + (12 - 6) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
    text-decoration: none;
    color: #000000;
  } 

  .textbox a:visited{
    text-decoration: none;
    color: #000000;
  } 

  .textbox h1{
    font-size: calc(11px + (22 - 11) * ((100vw - 1000px) / (2000 - 1000)));
    font-style: normal;
    font-weight: 300;
    margin-bottom: 0.3em;
  }

  .textbox h2{
    font-size: calc(9px + (18 - 9) * ((100vw - 1000px) / (2000 - 1000)));
    font-style: normal;
    font-weight: 300;
    padding-top: 2em;
    padding-bottom: 0.6em;
  }

  .contact-link {
    display: flex;
    align-items: center;
    text-decoration: none; 
    color: inherit;
    }
  .icon {
    margin-right: 10px;
    width: calc(30px + (50 - 30) * ((100vw - 500px) / (1000 - 500)));
    height: auto;
    display: none;
  }

  .footer {
    clear: both;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    height: 11%;
    background: linear-gradient(to top,rgba(45, 45, 45, 1),rgba(45, 45, 45, 0) );
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    position: relative;
    bottom: 0;
  }

  .sm_link {
    height: 50px;
    width: auto;
    padding-right: 20px;
  }

  .footer_text {
    order: 2;
    padding-right: 2%;
  }

  .close {
    font-size: calc(5px + (10 - 5) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
  }

  .footer_text button {
    order: 2;
    padding-right: 2%;
    font-size: calc(6px + (12 - 6) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
    text-decoration: none;
    color: #cccccc;
    font-style: normal;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }

  .footer_text a:link {
    font-size: calc(6px + (12 - 6) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
    text-decoration: none;
    color: #cccccc;
  }

  .footer_text a:visited {
    text-decoration: none;
    color: #cccccc;
  }

  .footer_text p {
    font-size: calc(6px + (12 - 6) * ((100vw - 1000px) / (2000 - 1000)));
    line-height: 1.9em;
    text-decoration: none;
    color: #cccccc;
  }

  @media only screen and (max-width: 1400px) {
  
    .edge {
      width: 100%;
      height: auto;
      background-image: none;
      margin-top: 0%;
      background-color: rgba(256, 256, 256, 1);
    }

    .textbox {
      width: 100%;
      height: auto;
      background-color: rgba(256, 256, 256, 1);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      position:relative;
      padding: 20px;
      padding-top: 0px;
      margin: auto;
      padding-bottom: 30px;
    }

    .textbox h1{
      font-size: calc(20px + (30 - 20) * ((100vw - 400px) / (800 - 400)));
      font-style: normal;
      font-weight: 300;
      margin-bottom: 0.3em;
    }

    .textbox h2{
      font-size: calc(18px + (27 - 18) * ((100vw - 400px) / (800 - 400)));
      font-style: normal;
      font-weight: 300;
      padding-top: 2em;
      padding-bottom: 0.6em;
    }
    
    .textbox p{
      font-size: calc(14px + (21 - 14) * ((100vw - 400px) / (800 - 400)));
      line-height: 1.5em;
      text-align: left;
    } 

    .textbox a:link{
      font-size: calc(14px + (21 - 14) * ((100vw - 400px) / (800 - 400)));
      line-height: 1.5em;
      text-decoration: none;
      color: #000000;
    } 

    .textbox a:visited{
      text-decoration: none;
      color: #000000;
    } 

    .footer_text a:link{
      font-size: calc(14px + (21 - 14) * ((100vw - 400px) / (800 - 400)));
      line-height: 1.9em;
      text-decoration: none;
      color: #cccccc;
      margin: 0;
    }

    .footer_text a:visited{
      text-decoration: none;
      color: #cccccc;
    }

    .footer_text p{
      font-size: calc(14px + (21 - 14) * ((100vw - 400px) / (800 - 400)));
      line-height: 1.9em;
      text-decoration: none;
      color: #cccccc;
      margin: 0;
    }

    .footer_text button{
      font-size: calc(14px + (21 - 14) * ((100vw - 400px) / (800 - 400)));
      line-height: 1.9em;
      text-decoration: none;
      color: #cccccc;
      margin: 0;
    }

    .close {
      font-size: calc(35px + (70 - 35) * ((100vw - 1000px) / (2000 - 1000)));
    }

    .header {
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      left: 0px;
      top: 0px;
      width: 100%;
      height: 180px;
      background: linear-gradient(to bottom,rgba(45, 45, 45, 1),rgba(45, 45, 45, 1),rgba(45, 45, 45, 0.8),rgba(45, 45, 45, 0) );
      backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px)
    }

    .headspace {
      height: 8%;
    }

    .footer {
      padding: 10px;
      padding-top: 15px;
      width: 100%;
      height: auto;
      background-color:  rgba(45, 45, 45, 1);
    }

     .bg {
      display: flex;
      top: 0;
      left: 0;
    }

    .bg_mobil {
      width: 100%;
      min-height: auto;
    }

    .spacer {
      height: 50px;
    }
    .spacer2 {
      height: 0px;
    }
    .invisible-link {
      top: 10%;
      left: 20%;
      right: 25%;
      bottom: 65%;
    }

    .icon {
      display: flex;
    }

    .contact-link {
      padding-bottom: 20px;
    }

}
