* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

body {
  background-color: #f9e7bf;
}

main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scrollable {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
}
.line {
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: #eead93;
  position: absolute;
  left: 50%;
}
.image-item {
  position: relative;
  width: 300px;
  height: 480px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: #fff; */
  perspective: 1000px;
  transform-style: preserve-3d;
}

.img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transform-style: preserve-3d;
}

h1 {
  font-size: 4rem;
  color: #8a513a;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0%, -50%);
  text-transform: uppercase;
}

p {
  /* display: none; */
  width: 100%;
  position: absolute;
  color: #8a513a;
  line-height: 1.6;
  top: 40%;
  left: 65%;
  max-width: 400px;
}

@media only screen and (max-width: 990px) and (min-width: 600px) {
  h1 {
    top: 20%;
    font-size: 3.5rem;
    left: 8%;
  }

  p {
    top: 80%;
    left: 52%;
    max-width: 360px;
  }
}

@media only screen and (max-width: 599px) and (min-width: 200px) {
  h1 {
    top: 16%;
    font-size: 3rem;
    left: 8%;
  }

  .image-item {
    height: 400px;
  }

  p {
    top: 80%;
    left: 8%;
    font-size: 0.9rem;
    max-width: 340px;
  }
  .line {
    background-color: #f5deaa;
  }
}
