/* Reset (vorgefertigte Abstände vernichten) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Helvetica, sans-serif;
  font-size: 40px;
  background-color: #ff0000;
}

/* Schriften */

h1 {
  color: rgb(246, 133, 244);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  font-size: 550px;
  text-align: center;
}

h2 {
  font-size: 150px;
  text-align: center;
}

h3 {
  font-size: 75px;
  margin-top: 50px;
  margin-bottom: -40px;
}

h4 {
  font-size: 75px;
  margin-top: 50px;
  margin-bottom: -40px;
  text-align: center;
}


div {
  color: red;
}

.green {
  color:rgb(249, 250, 181)
}

.blue {
  color: rgb(46, 65, 187);
}

/* Deine bestehenden Boxen */
#box1,
#box2,
#box3
#box4 {
  background-color: rgb(246, 133, 244);
}

/* Header */
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  gap: 5px;
  margin-bottom: 50px;
}

/* Links */
a {
  transition: 1s ease-in-out;
  text-decoration: none;
  font-size: 50px; 
  font-weight: bold;
  align-content: center;
  margin-top: 50px; 

}

a:hover {
  color: rgb(246, 133, 244);
  font-size: 10rem;
}

/* ==========================
   3 SPALTEN LAYOUT
   ========================== */

.grid-layout {
  column-count: 3;
  column-gap: 30px;
}

/* Nur Elemente mit class="box" bekommen den Stil */
.box {
  background-color: rgb(246, 133, 244);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;

  /* verhindert hässliche Umbrüche */
  break-inside: avoid;

  /* optional Schatten */
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.boxblau {
    background-color: rgb(46, 65, 187);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;

  /* verhindert hässliche Umbrüche */
  break-inside: avoid;

  /* optional Schatten */
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.boxgelb {
    background-color: rgb(253, 255, 138);
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;

  /* verhindert hässliche Umbrüche */
  break-inside: avoid;

  /* optional Schatten */
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}


/* Responsive */
@media (max-width: 900px) {
  .grid-layout {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .grid-layout {
    column-count: 1;
  }
}
