html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}

/* Grundlayout der Seite */
body{

    padding: 20px 20px;
    background-color: rgb(114, 162, 228);
}

.Titel {
  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;

  font-size: 60px;
  padding: 40px;
  color: rgb(220, 10, 115);
}

/* Textbereich innerhalb des Grid-Layouts */
.art-text {
  grid-column: 1 / 3;   /* spannt sich über zwei Spalten */
  grid-row: 2;    /* zweite Zeile im Grid */      
  
  background-color: rgba(219, 234, 248, 0.15);
  padding: 40px;
  
  font-family: "Amatic SC", sans-serif;
  color: rgb(230, 15, 122);
  
  /* Zentriert den Inhalt vertikal */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-text1 {

  grid-column: 1 / -1;
  padding: 40px 20px;

  font-family: "Amatic SC", sans-serif;
  font-size: 40px;
  line-height: 1.6;
  color: rgb(230, 15, 122);

  background-color: rgba(255, 255, 255, 0.12);

}

/* Überschrift im Textbereich */
.art-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
}

/* Absatz im Textbereich */
.art-text p {
  font-size: 22px;
  line-height: 1.5;
  max-width: 420px;
}

/* Video passt sich an die Box an */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  
}



.hamburger{
    background-color: rgb(104, 134, 223);
    
    position: fixed;
    top: 0;
    right: 0;

    width: 60px;
    height: 60px;

    background-image: url(menu_60dp_1F1F1F_FILL0_wght400_GRAD0_opsz48.svg);
    background-position: center;
    background-repeat: no-repeat;

}

.hamburger.active{
    background-image: url(close_60dp_1F1F1F_FILL0_wght400_GRAD0_opsz48.svg);
}

nav{
    display: none;
}

nav a{
    display: block;
    border-bottom: 1px solid rgb(82, 93, 176);
    padding: 20px;

    text-decoration: none;
    color: rgb(82, 93, 176);

}

.show-me-visible {
    display: block;
}

@media (min-width: 768px) {
  .featured {
    margin-left: -76px;
    margin-right: -76px;
  }
}

/* Grid für die Artworks */
.art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 30px;

}  

 .box {
   position: relative;
  height: 350px;
  overflow: hidden;
 }

 /* Standard-Grid-Verhalten für Boxen */
 .box:not(.featured) {
  grid-row: auto;
}

/* Hervorgehobenes Element */
 .featured {
  grid-column: 1 / -1;
  height: 480px;
}

/* Bilder füllen ihre Box */
.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    
/* Anpassungen speziell für die Artwork-Seite */
.artwork-page .Titel,
.artwork-page nav {
  max-width: 100%;
  margin: 20px 0;
}



/*standart einstellungen für bilder*/
img{
    width: 100%;
    height: auto;
    display: block;
 
}


@media (min-width: 768px) {

    .hamburger{
        display: none;
    }

nav {
    display: flex;
    gap: 1px;
    justify-content: flex-end;
    
}

nav a {

  font-family: "Amatic SC", sans-serif;
  font-weight: 700;
  font-style: normal;

  font-size: 25px;
  color:rgb(136, 159, 236);

    display: block;
    background-color: rgb(82, 93, 176);
    text-decoration: none;
    padding: 20px;
}

nav a:hover {
    color: rgb(80, 71, 195);
    background-color: white;
} 

}

