/* #Hero */
#hero {
  position: relative;
  width: 100%;
  height: 50vw; 
  overflow: hidden;
}

#hero::before {
  content: ""; 
  background-image: url("../img/hero.jpg");
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: hero 3s forwards;
}

#hero-inner {
  background-color: rgba(0, 0, 0, 0.4); 
  text-align: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-inner h2 {
  font-size: 2.5rem; 
  padding-top: calc(50vw / 2 - 1.25rem); 
}

@keyframes hero {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

  /* responsive */

@media screen and (max-width: 768px) {
  #hero-inner h2 {
    font-size: 1.5rem; 
  }
}

/* .index-section */

.index-section {
  clear: both;
}

.index-section-img {
  width: 10%;
  min-width: 100px; 
  max-width: 200px;
}

.index-section-img img {
  width: 100%; 
}

  /* responsive */

@media screen and (max-width: 768px) {
  .index-section-img {
    width: 6%; 
    min-width: 60px;
  }
}

  /* #aboutus */

#aboutus .index-section-img {
  margin-right: 20px; 
  float: left;
}

    /* responsive */

@media screen and (max-width: 768px) {
  #aboutus .index-section-img {
    margin-right: 10px; 
  }
}

  /* #thoughts */

#thoughts .index-section-img {
  margin-left: 20px; 
  float: right;
}

    /* responsive */

@media screen and (max-width: 768px) {
  #thoughts .index-section-img {
    margin-left: 10px; 
  }
}

  /* #strength */

#strength-s {
  display: none;
}

#strength-l {
  width: 100%;
}

.strength-l-elem {
  transform: scale(1.0); 
  transition: transform 0.5s ease-in-out;
}

#strength-l-1:hover {
  transform: scale(1.1) translateY(-40px); 
}

#strength-l-2:hover {
  transform: scale(1.1) translateX(-80px); 
}

#strength-l-3:hover {
  transform: scale(1.1) translateX(-100px) translateY(-60px); 
}

@media screen and (max-width: 768px) {
  #strength-l {
    display: none;
  }

  #strength-s {
    display: block; 
    width: calc(100% - 0.9 * max(0px, (100vw - 480px)));
    margin: 0 auto;
  }
}
