@charset "utf-8";
/* CSS default */

#articlePart {
  margin-top: 20px;
  margin-bottom: 20px;
}

.picContainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.picElement {
    max-width: calc(50% - 2rem);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.awardPiece {
  width:50%;
  height: auto;
}

.awardee {
  width:100%;
  height: auto;
}

.picContainer h4 {
    font-size: 1rem;
}


/* Styles for the article container */
.articleContainer {
}

.articleTitle {
    font-size: 1.5rem; 
    margin-bottom: 10px; 
}

.articleBody {
    line-height: 2; 
}


/* Media query for tablets */
@media screen and (min-width: 485px) and (max-width: 959px) {
.picContainer {
   flex-direction: column;
   align-content: center;
   max-width: 100%;
}
.picElement {
    max-width: 100%;
}
.picContainer h4 {
    margin: 1rem 0;
}

.awardPiece {
  width:70%;
  height: auto;
}

.awardee {
  width:80%;
  height: auto;
}
    .articleContainer h4 {
        font-size: 1.3rem;
        color: var(--main-color-2);
    }
}

/* Media query for phones */
@media screen and (max-width: 485px) {
    .picContainer {
        flex-direction: column;
        align-content: center;
        max-width: 100%;
    }
.picElement {
    max-width: 100%;
}
.awardPiece {
  width:70%;
  height: auto;
}

.awardee {
  width:80%;
  height: auto;
}
  .body h2 {
    margin: 0rem 0 1.5rem;
    font-size: 1.2rem;
    padding: 0.8rem 0.8rem 0.8rem;
  }
    .articleContainer h4 {
        font-size: 1rem;
        color: var(--main-color-2);
    }
}