@charset "utf-8";
/* CSS Document */

.logo {
  max-width: 350px;   /* Desktop-GRÖSSE */
  height: auto;
}

body {
  min-height: 100vh;
  background: linear-gradient(
    to top,
    #BEEFAF,  /* sanftes Pastellgrün unten */
    #D4F7C8,  /* sehr helles, weiches Grün */
    #E8FCDC,  /* leicht gelbgrünes Pastell */
    #F8FFF1   /* fast weißes, warmes Lichtgrün */
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


.flex{   
    display: flex; 
    justify-content: center; 
    align-items: center;
}


.img-fluid {
  display: block;
  max-width: 100%;  /* Bild passt sich immer dem Container an */
  height: auto;     /* Proportionen bleiben */
  border: none;
  opacity: 1; /* sofort sichtbar */
  transition: opacity 1s ease-in-out;
}

main {
  display: block;   
  max-width: 1300px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 25px;
  color: #333;
  height: auto;
}

.grid-container {
  display: grid;
  font-size: 1.1rem;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1F175C;
  grid-template-columns: auto auto;
}

/* Style the navigation menu */
.navbar {
  width: 100%;
  background-color: white;
}

/* Navigation links */
.navbar a {
    float: left;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: rgba(239,10,14,1);
    text-decoration: none;
    font-size: 1.6rem;
    width: 16%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
    text-align: left; /* If you want the text to be centered */
    font-weight: bolder;
}


.item1 {
    grid-area: 1 / 1 /span 1 / span 1;
    margin-left: 30px;
}

.item2 {
    grid-area: 2 / 1;
    margin-top: 30px;
    padding: 30px 30px 0 30px;
    max-width: 600px;
    background-color: #F2FBEF; /* sehr helles, neutrales Pastellgrün */
    border-radius: 30px;
    height: auto;
}

.item3 {
    grid-area: 2 / 2 ;
    padding-left: 60px;
    margin-top: 30px;
    max-width: 600px;
    height: auto;
    text-align: center;
  }

@media (max-width: 900px) {

  body {
    font-size: 0.9rem;
  }
      .logo {
    max-width: 200px;
}
    
  .grid-container {
  font-size: 0.9rem;
    grid-template-columns: 1fr;
  }

  .item1 {
    grid-area: auto;
    margin-left: 15px;
    margin-bottom: 10px;
  }

  .item2,
  .item3 {
    grid-area: auto;
    max-width: 100%;
    margin: 15px;
    padding: 20px;
    padding-left: 15px;
  }

  /* Navbar: nicht über die ganze Breite, eher wie ein kleiner Button */
  .navbar {
    background-color: transparent; /* weißer Balken weg */
  }

  .navbar a {
    float: none;              /* float weg */
    display: inline-block;    /* nur so breit wie Text */
    width: auto;              /* nicht 100% */
    font-size: 1.2rem;        /* etwas kleiner als 1.6rem */
    padding: 4px 10px;        /* dezente Fläche */
    text-align: left;
  }

  main {
    margin-top: 15px;
    padding-bottom: 15px;
  }
}




 



