@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: rgb(85, 84, 84);
  font-family: 'Be Vietnam Pro', sans-serif;
}

.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-10px) scale(2.3);
}

.foreground {
  transform: translateZ(-5px) scale(1.6);
}

.background,
.foreground {
  position: absolute;
  height: 100vh;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.title {
  position: absolute;
  top: 15%;
  left: 50%;
  font-size: 6rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 5px black;
  transform: translate(-50%, -40%);
}

@media (max-width: 480px) {
  .title  {
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    font-size: 5rem;
    font-weight: 600;
    padding: 0;
    width: 100%;
    text-align: center;
  }
}

section {
  padding: 5rem 17rem;
  background-color: white;
  color: #333;
}

@media (max-width: 480px) {
  section {
    padding: 2rem;
  }
}

p {
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 2rem;
}

h3 {
  font-size: 2.2rem;
  line-height: 1.5;
  text-align: center;
  margin: 5rem 0 4.2rem 0;
  color: rgb(85, 84, 84);
}

@media (max-width: 480px) {
  h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 3rem 0;
  }
}


img {
  width: 70%;
  padding: 0 6rem;
  margin-bottom: 2rem;
}

@media only screen and (max-width: 480px) {
  img {
    width: 100%;
    padding: 0;
  }
}