/* CoCo Container */
.coco-container {
  text-align: center;
  background: url("/themes/CoCo/img/dashboard/cropped-IAO_CoCo_NeuerHeaderQuadrate.png");
  background-size: 100% 90px; 
  background-repeat: no-repeat;
  background-position: left center; 
  background-color: #d6dde3;
  padding: 20px 0;
  height: 90px; 
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; 
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: -20px;
}

.button-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  width: 200px;
  text-align: center;
}

.button-container .btn-primary,
.button-container .secondary-button {
  background-color: #4d6d7f;
  color: white;
  border: none;
}

.button-container .btn-primary:hover,
.button-container .secondary-button:hover {
  background-color: #527588;
  color: #ffffff;
}


/* Sections */
.sections {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 30px; 
  padding-right: 30px; 
  margin-left: auto;
  margin-right: auto;
}

.section {
  width: 100%;
  max-width: 300px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.section p {
  display: flex;
  align-items: flex-start; 
  gap: 10px; 
  margin: 0 20px 0 20px; 
  font-weight: bold;
}

.section p:first-of-type {
  margin-top: 20px; 
  margin-bottom: 20px;
}

.section p:nth-of-type(2) {
  margin-bottom: 20px; 
}

.section p i {
  flex-shrink: 0; 
}

.section p span {
  display: block; 
}

.section-overlay {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; 
  overflow: hidden;
}

.section-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-overlay h2 {
  position: absolute;
  top: 43.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(6,163,160,0.8);
  color: rgb(255, 255, 255);
  padding: 10px 0;
  border-radius: 5px;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

/* Video Container */
.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: calc(100% - 60px); 
  min-width: 560px; 
  padding: 0 30px;
  box-sizing: border-box; 
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}

.video-container iframe {
  width: 560px;
  height: 315px;
}

@media (max-width: 600px) {
  .video-container {
    flex-direction: column;
    align-items: center;
    width: 100%; 
    min-width: auto;
  }

  .video-container iframe {
    width: 100%; 
    max-width: 560px;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}


