/* mein block ist row textaktuell mein column*/

.block {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h6 {
  text-align: center;
  
}



.textaktuell {
    flex: 0 0 calc(33.3333% - 8px); /* Anpassung für drei Divs nebeneinander mit 8px Abstand */
    max-width: calc(33.3333% - 8px);
    padding: 0 4px;
    /*background-color: aqua;*/
    
    margin-bottom: 50px;
    
    display: flex;
}


.blockaktuell {
    margin-top: 20px;
    vertical-align: middle;
   
    margin-left: 10px;
    
    padding: 20px;
    width: 580px;
    height: 500px;
}






.ersterbeitrag {
    color: black;
    text-decoration: none;
    text-align: center;
    text-align: justify;
    
  }

 .beitrag {
    padding-left: 25px;
    padding-right: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: rgba(255, 255, 255, 0.384);
    width: 90%;
    height: 225px;
    margin-top: -10px;
    padding-top: 10px;
    
   

    /*unten auf einer ebene*/
    display: flex;
  flex-direction: column;
  justify-content: space-between;
  
 }

  body {
    background-color: rgb(226, 226, 226);

    
  }
  .bildaktuell {
    margin-bottom: 10px;
    margin-top: 10px;

    background-image: url('chorbild.jpg');
    background-size: cover;
    background-position: center;
    width: 90%;
    height: 250px; /*verändert die höhe des bildes*/
    
    position: relative;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }

/* dieser Block kann einfach, in der theorie kopiert werden und darunter nochmal eingefügt werden. .kirchgangbild
wird dann durch den neuen namen erstetz bsp: .neuername....*/
.kirchgangbild {
  margin-bottom: 10px;
    margin-top: 10px;

    background-image: url('2024 Kirchgang Ehrungen 1.jpg'); /* hier muss dann in dem Kopierten neuen Block, einmal die Datei des Bildes geändert werden*/
    background-size: cover;
    background-position: center;
    width: 90%;
    height: 250px; /*verändert die höhe des bildes*/
    
    position: relative;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.chorabendbild {
  margin-bottom: 10px;
    margin-top: 10px;

    background-image: url('2024_08 Freude 2.jpg'); /* hier muss dann in dem Kopierten neuen Block, einmal die Datei des Bildes geändert werden*/
    background-size: cover;
    background-position: center;
    width: 90%;
    height: 250px; /*verändert die höhe des bildes*/
    
    position: relative;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

  .linie {
    border: 1px solid #000; /* Beispielhafte Linienfarbe */
    margin-bottom: 3px; /* Beispielhafter Abstand zwischen Linie und Text */
  }
  
  .datum {
    text-align: left;
    font-size: 13px;
    font-weight: lighter;
    margin-left: 5px;
  }
  
  .meinLink {
    text-decoration: none; /* Entfernt die Standard-Unterstreichung für Links */
    color: rgb(148, 34, 57); /* Beispielhafte Linkfarbe */
    margin-top: -38px;
    display: block; /* Macht den Link zu einem Blockelement, um den Abstand zu steuern */
    text-align: right;
    margin-right: 5px;
    
  }

  .unten {
    margin-bottom: 5px;
    width: 100%;
  margin-top: auto;
   
  }

@media (max-width: 767px) {
    .beitrag {
        height: 250px;
      width: 300px;
    }
    .blockaktuell {
        margin-bottom: 20px;
    }
  .bildaktuell {
    width: 100%;
  }
  .textaktuell { 
    margin-left: -65px;
  }

}



@media (max-width: 1220px) {
  .beitrag {
    line-height: 21px;
  }
}




@media (max-width: 1200px) {
    .textaktuell {
        flex: 0 0 calc(50% - 8px); /* Anpassung für zwei Divs nebeneinander mit 8px Abstand */
        max-width: calc(50% - 8px);
    }
    .beitrag {
      line-height: normal;
    }
    
}

@media (max-width: 800px) {
    .textaktuell {
        flex: 0 0 100%; /* Ein Div pro Zeile */
        max-width: 100%;
    }
    .linie {
      margin-bottom: 10px;
    }
    .datum {
      padding-bottom: 5px;
    }
}

@media (max-width: 1020px) {
  .block {
    margin-left: 70px;
  }
}