section {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 10% 60px 5%;
  /* padding-top: 0;
  padding-right: 10%;
  padding-bottom: 80px;
  padding-left: 10%; */
  text-align: left;
}
section.profile {background-position: center top;}
section.hero {background-position: center 80%;}

.hero-content,
.profile-content,
.info-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  color: white;
  margin-left: 0;
  padding: 0;
  transform: none;
}
.description {
  max-width: 350px;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-content .section-label {
  text-transform: uppercase;
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 0.5rem;
}

.title {
  font-weight: 700;
  color: white;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.big-letter {
  font-size: 2.6rem;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
}

.small-letter {
  font-size: 1.8rem;
  display: inline-block;
  vertical-align: bottom;
  line-height: 1;
}

.hero-content h1
/* .profile-content h2,
.info-content h3  */
{
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-content p,
.profile-content p,
.info-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-outline {
  display: inline-block;
  width: 160px;
  padding: 0.6rem 0rem;
  text-align: center;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  /* margin-top: 2rem; */
}

.hero-content .btn-outline {
  margin-top: 1.2rem;
}
/* .hero-content .title {
  margin-bottom: 1.2rem;
} */
.btn-outline:hover {
  background-color: #fff;
  color: #000;
}




@media (max-width: 600px) {
  section {
    padding: 0 1.5rem 40px 1.5rem;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: center;
    min-height: 100vh;
  }
    .hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
  }

  .profile,
  .info-block {
    background-size: cover !important;
    background-position: 87% center !important;
    background-repeat: no-repeat !important;
    width: 100vw;
    height: 100vh;
  }

  .hero-content,
  .profile-content,
  .info-content {
    position: relative;
    z-index: 2;
    padding: 0rem;
    text-align: start;
    font-size: 1rem;
    line-height: 1.6;
  }
  /* .hero-content,
  .profile-content,
  .info-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 0.5rem;
  } */

  .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
  }


  .description {
    max-width: 100%;
  }

  .hero-content .section-label {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .title,
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .big-letter {
    font-size: 2rem;
  }

  .small-letter {
    font-size: 1.4rem;
  }

  .hero-content p,
  .profile-content p,
  .info-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .btn-outline {
    width: 100%;
    max-width: 150px;
    font-size: 0.9rem;
    padding: 0.6rem 0;
    border-radius: 8px;
  }

  .btn-outline:hover {
    background-color: white;
    color: black;
  }

  .hero-content .btn-outline {
    margin-top: 1rem;
  }
  
  
}
