.beyond {
  height: auto;
  background-color: black;
}

.beyond-header {
  height: 20vh;
  color: white;
  font-family: "Open Sans";
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.beyond-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  text-align: center;
  justify-content: space-evenly;
  width: 100%;
}

.beyond-title {
  margin: 0;
  font-size: 24px;
}

.beyond-header-text {
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.beyond-subtitle {
  margin: 0;
  font-size: 18px;
  margin-top: 12px;
  padding-left: 16px;
  padding-right: 16px;
}

.beyond-lines {
  position: absolute;
  display: flex;
  width: 100%;
  height: 20vh;
  top: 0;
  align-items: center;
  /* padding-left: 100px; */
}

.beyond-header-line {
  /* position: absolute; */
  background-color: white;
  height: 1px;
  width: 30%;
  /* left: 100px; */
}

/* Beyond Grids */
.beyond-sections {
  height: 80vh;
  /* margin: 2rem; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.beyond-container {
  height: 40vh;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: last baseline;
}

.beyond-container > a > img{
    object-fit: cover
}

.beyond-announcements,
.beyond-recruitment,
.beyond-projects,
.beyond-segments,
.beyond-BoT {
  transition: transform 0.3s;
  width: 100%;
  height: 100%;
  /* object-fit: fill; */
  object-position: bottom;
  position: absolute;
  top: 0;
  left: 0;
  /* margin: 0 auto; */
}

.beyond-campaign {
  transition: transform 0.2s;
  width: 100%;
  height: 100%;
  /* object-fit: fill; */
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
}

.beyond-announcements:hover,
.beyond-recruitment:hover,
.beyond-projects:hover,
.beyond-campaign:hover,
.beyond-segments:hover,
.beyond-BoT:hover {
  transform: scale(1.2);
  opacity: 0.5;
}

.beyond-section-title {
  position: absolute;
  color: white;
  z-index: 10;
  font-family: "Open Sans";
  bottom: 40px;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px black;
}

@media (max-width: 768px) {
  .beyond-sections {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  .beyond-container {
    height: 27vh;
  }

  .beyond-announcements,
  .beyond-recruitment,
  .beyond-projects,
  .beyond-segments,
  .beyond-BoT,
  .beyond-campaign {
    object-fit: cover;
  }

  .beyond-section-title {
    font-size: 18px;
  }
  
    .beyond-title{
      font-size: 20px;
  }

  .beyond-header-line {
    width: 40px;
    height: 0.5px;
  }

  .beyond-subtitle {
    font-size: 12px;
  }

  .beyond-header-line {
    width: 16%;
  }
}
