h2 {
  font-size: 2rem;
}

header {
  min-height: 32em;
    /* aspect-ratio: 4 / 5; */

  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
  object-fit: cover;
  object-position: center;
}

.box-shadow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  width: 100%;
  min-height: 32rem;

  text-align: center;
  color: white;

  background: #1b1b1b52;

  position: relative;
  z-index: 2;
}

/* Middle */

.middle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;

  width: 100%;
  padding: 2.5rem 0;
}

.middle-title {
  display: flex;
  flex-direction: column;

  width: 80%;

  & p {
    font-size: 1,2rem;
  }

  & hr {
    margin: 2rem 0;
  }
}

.middle-title h2{
  margin-bottom: 10px;
}

.ferry-card-container {
  display: flex;
  flex-direction: column;

  padding-bottom: 0.3rem;

  width: 80%;

  border-radius: 10px;

  box-shadow: 0px 0px 12px 0px #1b1b1b;
}

.fc-top {
  width: 100%;
  aspect-ratio: 19 / 7.5;
  overflow: hidden;

  border-radius: 10px 10px 0px 0px;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
  }

  &.citra-card img {
    object-position: center 50%;
  }

  &.dolphin-card img {
    object-position: center 50%;
  }
}



.fc-bottom {
  display: flex;
  justify-content: space-between;
  
  width: 100%;
  padding: 1rem;
}

.fc-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;

  .totaltrips-text {
    font-size: 1.7rem;
  }

  .destination-text {
    font-size: 1rem;
  }
}

.fc-bottom-middle {
  align-self: center;

  &.no-link {
    margin-right: auto;
  }
}

.fc-bottom-right {
  display: flex;
  align-items: center;

  padding-right: 3rem;

  & .vertical-line {
    height: 80%;
    margin-right: 3rem;

    border-left: 2px solid #a7a7a7;
  }

  & .fc-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
  }

  & .fc-links a {
    display: flex;
    align-items: center;

    text-decoration: none;
    color: #1b1b1b;

    & img {
      margin-right: 0.4rem;

      filter: brightness(0) saturate(100%) invert(5%) sepia(93%) saturate(26%) hue-rotate(314deg) brightness(108%) contrast(90%);
    }
  }
}

@media (max-width: 570px) {


  .box-shadow p{
    font-size: 1rem;
    text-align:  center;
    padding: 0 20px;
  }

  header{
    background-position: center;
  }
}

@media (max-width: 470px) {
  h1{
    font-size: 2.5rem;
    padding: 0 20px;
  }
  
  .middle-title{
    width: 85%;
  }

  .middle-title h2{
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .middle-section{
    gap: 2.5rem;
  }

  .middle-section p{
    padding-top: 20px;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .ferry-card-container{
    width: 85%;
  }

  .vertical-line{
    display: none;
  }

  .fc-bottom h2{
    font-size: 1.2rem;
  }

  .fc-bottom{
    flex-direction: column;
  }

  .fc-bottom-right{
    margin-top: 10px;
  }

  .fc-bottom-right img{
    width: 20px;
  }

  .fc-bottom-right .fc-links a{
    font-size: 0.8rem;
  }

  .fc-bottom-left{
    gap: 0;
  }

  .fc-bottom-left p.totaltrips-text{
    font-size: 1rem;
    padding-top: 20px;
  }

  .fc-bottom-left p.destination-text{
    font-size: 0.8rem;
    padding: 0;
  }

}