/* @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Wix+Madefor+Display:wght@400..800&display=swap'); */


*, *::before, *::after {
    box-sizing: border-box;
  }

  /* * {
    outline: 1px solid red;
  } */
  
html {
    height: 100%;
    background: linear-gradient(125deg, #006878, #ef8466);
    background-attachment: fixed;
    touch-action: pan-y;  
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Manrope', 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
    color: white;
    background: linear-gradient(125deg, #006878, #ef8466);
    background-attachment: fixed;
    touch-action: pan-y;     
    overflow-x: hidden;
    overflow-y: auto; 
}

.container {
    min-height: 100vh;
    position: relative;
    padding: 2em 6em 2em 6em; /* was 6em */
}

.logo {
    position: absolute;
    top: 4em;
    right: 6em;
    width: 100%;
    max-width: 300px;
  }
  
  .logo img {
    width: 100%;
    height: auto;
    display: block;
  }

.title {
    font-size: 3.5em;
    margin-top: 6em;
    font-weight: 800;
    color: black;
}

.headline {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    margin-top: 2em;
    font-weight: 500;
    line-height: 1.6em;
}

.publications-text {
    font-size: 1.7rem;
    color: rgb(0, 0, 0);
    margin-top: 1em;
    font-weight: 500;
    line-height: 1.6em;
}

.hyperlink {
    color: white;
}
.event-title {
    font-size: 2.5em;
    color: rgb(255, 255, 255);
    margin-top: 4em;
    font-weight: 700;
}

.event-text {
    font-size: 2.5rem;
    color: rgb(0, 0, 0);
    font-weight: 700;
}

.event-date {
    font-size: 2.5em;
    color: rgb(255, 255, 255);
    font-weight: 700;
}

.email-text {
    font-size: 2rem;
    color: rgb(0, 0, 0);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.email-text:hover {
    color: white;
}

.pdf-link {
    text-decoration: none;
    color: black;
}

.pdf-link:hover {
    color: rgb(69, 37, 37);
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 2.5em;
    padding-top: 2em;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5em;
    padding-top: 2em;
}

.box {
    color: black;
    text-align: left;
    border: 6px solid black;
    min-height: 300px;
    padding: 1.5em 1em;
    margin-bottom: 2em;
}


.imprint {
    font-size: 1.5em; /*was 2*/
    color: rgb(0, 0, 0);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-top: 6em; /*was 4em*/
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5em;
  justify-content: center;
  align-items: center; 
}


/*=======================*/
/*imprint html*/

.container-imprint {
    padding: 6em 6em;
    max-width: 100%;
}

.link {
    text-decoration: underline;
    color: aliceblue;
}

.close-btn {
    position: absolute;
    top: 2em;
    right: 4em;
    font-size: 2em;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    color: black;
}

.close-btn:hover {
    color: rgb(123, 122, 122);
}

.text-imprint {
    font-size: 1rem;
    color: rgb(255, 255, 255);
    margin-top: 1em;
    font-weight: 500;
}

.imprint:hover {
    color: white;
}



@media (max-width: 768px) {
    .container {
      padding: 2em;
    }
    .container-imprint {
      padding: 2em;
    }
    .title {
      font-size: 2.5em;
    }
    .headline,
    .text-imprint {
      font-size: 1rem;
    }
    .event-title,
    .event-text,
    .event-date {
      font-size: 2em;
    }

    .email-text {
        font-size: 1.8em;
    }

    .imprint {
      font-size: 1.2em;
    }
    .close-btn {
      top: 1em;
      right: 1em;
      font-size: 1.5em;
    }

    /* .logo {
        position: relative;
        font-size: 0.5vw;

        margin-right: -7em;
        margin-top: -5em;
      } */

      .logo {
        position: absolute;
        top: 4em;
        right: 0em;
      }
      
      .logo img {
        width: 90%;
        height: auto;
      }
  }
  
  @media (max-width: 603px) {
    .container,
    .container-imprint {
      padding: 2.5em;
    }

    .logo {
        position: absolute;
        top: 4em;
        right: 0em;
      }
      
      .logo img {
        width: 80%;
        height: auto;
      }

    .title {
      font-size: 2.2em;
    }
    .headline,
    .text-imprint {
      font-size: 1em;
    }
    .event-title,
    .event-text,
    .event-date {
      font-size: 1.8em;
    }

    .email-text {
        font-size: 1.6em;
    }
    .imprint {
      font-size: 1.2em;
    }
    .close-btn {
      font-size: 1.4em;
    }

    /* .box {
        height: auto;
        min-height: unset;
      } */

      /* .box {
        min-height: 220px;
        max-height: 600px;
        min-width: 200px;
        max-width: 350px;
      } */

      /* .logo {
        position: relative;
        font-size: 2vw;
      } */
  }

  @media (max-width: 500px) {

    .container,
    .container-imprint {
      padding: 1.5em;
    }
    .title {
      font-size: 2em;
    }
    .headline,
    .text-imprint {
      font-size: 1em;
    }
    .event-title,
    .event-text,
    .event-date {
      font-size: 1.8em;
    }

    .email-text {
        font-size: 1.3em;
    }

    .imprint {
      font-size: 1.2em;
    }
    .close-btn {
      font-size: 1.2em;
    }

    .box {
        height: auto;
    }

    .logo {
      position: relative;
      margin: 0em 6em;
      width: 100%;
    }

    .logo img {
      width: 70%;
      max-width: 200px;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    .grid-two {
      grid-template-columns: 1fr;
    }
    .grid-three {
      grid-template-columns: 1fr;
    }
  }
  




/* ============== */
/* logo css */
 
/* .logo {
    position: relative;
    font-size: 1.5vw;
    transform: translateX(4.5em);
    margin-top: -5em;
}

.critical {
    position: absolute;
    top: 2.60em;
    right: 6.6em;
    font-size: 2.5em;
    color: black;
    text-align: right;
    font-weight: 500;
}

.agency {
    position: absolute;
    top: 2.45em;
    right: 3em;
    font-size: 2.5em;
    color: black;
    text-align: right;
    font-weight: 500;
}

.sublogo {
    position: absolute;
    top: 14.5em; 
    right: 27.9em;
    font-size: 0.7em;
    color: rgb(0, 0, 0);
    font-weight: 400;
}


.sublogo2 {
    position: absolute;
    top: 15.5em; 
    right: 26em;
    font-size: 0.7em;
    color: rgb(0, 0, 0);
    font-weight: 100;
} */
