@font-face {
  font-family: "TimesNewArial";
  src: url("../fonts/TimesNewArialVF.woff2");
  font-variation-settings: "srff" 100, "ital" 0, "wght" 70;
}


@font-face {
  font-family: "Blur"; /* set name */
  src: url("../fonts/Blur_Medium.ttf"); /* url of the font */
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  background: rgb(0, 0, 0);
  z-index: 1;
  font-family: "TimesNewArial", sans-serif; 
  font-variation-settings: "srff" 0, "ital" 0, "wght" 70;
  font-size: 12px;
  font-weight: normal; 
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {

  display: flex;
  justify-content: center;
  align-items: center;  

}

a,
button,
input,
label {
  cursor: pointer;
}

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

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 40vw;
  height: auto;
}

h1 {
  font-family: "Blur";
  color: white;
  text-align: center;

  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.1;
  margin: 1.2rem 0 1.2rem; /* margin: oben | links+rechts | unten */
}

.subtitle {
  font-family: "Blur";
  color: white;
  text-align: center;

  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.25;
  margin: 1.2rem 0 1.2rem; /* margin: oben | links+rechts | unten */
}

.title-text {
  font-family: "Blur";
  color: white;
  text-align: left;

  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.1;
  margin: 1.2rem 0 1.2rem; /* margin: oben | links+rechts | unten */
}

.content-text {
  font-family: "Blur";
  color: white;
  text-align: left;

  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.25;
  margin: 1.2rem 0 1.2rem; /* margin: oben | links+rechts | unten */
}

.window {
  /* position: relative; */
  width: 50vw;               /* overall size — adjust as you like */
  height: 70vh;
  /* margin: 2vh auto; */           /* centers the window on the screen */
  /*  background-color: lightgrey; */
  display: flex;
  flex-direction: column;
  /* overflow: hidden;  */       /* keeps content tidy inside */
  justify-content: center;
  align-items: center;
  
}

.text-block {
  background-color: none;
  
  width: 60vw;          /* exakt gleiche Breite wie das Bild */
  max-width: 800px;     /* optional, damit es nicht riesig wird */
  display: flex;
  flex-direction: column;
  align-items: left;
}

.grid-block {
  background-color: none;
  
  width: 60vw;          /* exakt gleiche Breite wie das Bild */
  max-width: 800px;     /* optional, damit es nicht riesig wird */
  display: flex;
  flex-direction: column;
  align-items: left;
}

.logo-block { 
  width: 40vw;          /* exakt gleiche Breite wie das Bild */
  max-width: 600px;     /* optional, damit es nicht riesig wird */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-block img {
  width: 100%;
  height: auto;
}

.main {
  background-color: rgb(255, 136, 136);
  width: 100%;
  height: 100%;
  position: relative;
  margin: 2vh auto;
  padding: 1rem 0;

  display: flex;
  justify-content: center; /* centers logo horizontally */
  align-items: center;     /* centers logo vertically */
}


.about     { 
  position: fixed;  
  top: 2vh; 
  left: 2vw;
}

.telegram    { 
  position: fixed;
  top: 2vh;   
  right: 2vw; 
}

.maps  { 
  position: fixed;
  bottom: 2vh; 
  left: 2vw; 
}

.tools { 
  position: fixed;
  bottom: 2vh; 
  right: 2vw; 
}

.about,
.telegram,
.maps,
.tools {
  text-decoration: none;
  color: white;
  text-align: center;

  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.1;
  margin: 1.2rem 0 1.2rem; /* margin: oben | links+rechts | unten */

  text-shadow:
  0.5px 0 currentColor,
 -0.5px 0 currentColor;
}

.about:hover,
.telegram:hover,
.maps:hover,
.tools:hover {
  color: white;

  transform: skew(-20deg);  
  text-shadow:
  0.5px 0 currentColor,
 -0.5px 0 currentColor;

  /* 
  color: black;
  background-image: url("../img/Hover-Bild-Eins.png");
  background-size: 100%; 
  background-position: center;
  background-repeat: no-repeat;

  mix-blend-mode: normal;

  text-shadow:
  0.5px 0 currentColor,
 -0.5px 0 currentColor;
  
  padding: 0.1em 0.6em;

  filter: contrast(120%); */
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* zwei gleich breite Spalten */
  gap: 2rem;                      /* Abstand zwischen den Spalten */
}


@media (max-width: 768px) {

  img {
  width: 80vw;
  height: auto;
}

  .logo-block {
  width: 80vw;          /* exakt gleiche Breite wie das Bild */
  max-width: 400px;     /* optional, damit es nicht riesig wird */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-block img {
  width: 100%;
  height: auto;
}



  .about     { 
  position: fixed;  
  top: 2vh; 
  left: 5vw;
}

.telegram    { 
  position: fixed;
  top: 2vh;   
  right: 5vw; 
}

.maps  { 
  position: fixed;
  bottom: 2vh; 
  left: 5vw; 
}

.tools { 
  position: fixed;
  bottom: 2vh; 
  right: 5vw; 
}

.tool-grid {
    grid-template-columns: 1fr; /* nur eine Spalte */
  }


}
