
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'roboto_400_normal', Arial, Helvetica, Sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.3rem;
}

main {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-a {
  position: relative;
  top: 6rem;
}

.main-a section {
  position: absolute;
  width: 52vw;
  height: 100vh;
}

.triggers {
  width: 5vw;
  height: 100vh;
  z-index: 2;
  position: absolute;
}

.move {
  width: inherit;
  height: 55vh;
}

/* .ani1 {
  background-color: red;
}
.ani2 {
  background-color: blue;
}
.ani3 {
  background-color: gray;
}
.ani4 {
  background-color: purple;
} */

/* ----------------------------------------------------- TYPOGRAPHY */

.main-a h1,
.main-a h2,
.main-a h3,
.main-a h4,
.main-a h5,
.main-a h6 {
  font-family: 'roboto_slab_400_normal', Didot, Courier, Sans-serif;
  text-align: center;
}

.main-a h1 {
  padding: 0.5rem 1rem;
  font-size: 2.4rem;
  line-height: 3.2rem;
  color: var(--light-color);
  z-index: 1;
}

.main-a h2 {
  font-weight: 400;
}

/* ----------------------------------------------------- TOOLS */
.inv {
  color: var(--light-color);
}

.highlight {
  color: var(--primary-color);
}

/* ----------------------------------------------------- SCENES & CONTENT */
.scene-1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scene-2{
  max-width: 750px;
  transform: translateY(-5px);
}

.scene-2 .content-2 {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  justify-content: center;
}

/* ----------------------------------------------------- ELEMENTS */

.circle-line {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
}

.circle {
  position: absolute;
  width: 25%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.product {
  width: 80%;
}

.smartphone {
  opacity: 0;
  grid-column-start: 2;
  grid-row-start: 2;
  grid-row-end: 5;
  position: relative;
  top: 2rem;
}

.smartphone-content {
  color: var(--secondary-color);
  position: absolute;
  font-size: 2.5rem;
  line-height: 3rem;
  padding: 2.3rem 2.5rem;
}

.icons-1,
.icons-2 {
  place-self: center;
  max-width: 50%;
  opacity: 0;
}

.qr {
  grid-column: 1;
  grid-row: 2;
}

.rfid {
  grid-column: 1;
  grid-row: 3;
}

.nfc {
  grid-column: 3;
  grid-row: 2;
}

.beacon {
  grid-column: 3;
  grid-row: 3;
  max-height: 50%;
}

.register {
  grid-column: 1;
  grid-row: 2;
}

.like {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-height: 50%;
}

.shopping {
  grid-column: 3;
  grid-row: 2;
}

/* ----------------------------------------------------- MEDIA */


@media only screen and (min-width: 901px) and (max-width: 1250px) {
  .main-a section {
    width: 55vw;
  }

  .main-a h1 {
    font-size: 2.3rem;
    line-height: 3.1rem;
  }

  .smartphone-content {
    font-size: 2.1rem;
    line-height: 2.6rem;
    padding: 1.8rem;
  }

  .scene-2 {
    transform: translateY(55px);
  }
}

@media only screen and (min-width: 701px) and (max-width: 900px) {
  .main-a section {
    width: 65vw;
  }

  .smartphone-content {
    font-size: 1.8rem;
    line-height: 2.3rem;
    padding: 1.8rem;
  }

  .scene-2 {
    transform: translateY(70px);
  }
}

@media only screen and (min-width: 501px) and (max-width: 700px) {
  .main-a section {
    width: 74vw;
  }

  .main-a h1 {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .smartphone-content {
    padding: 1.2rem;
    font-size: 1.6rem;
    line-height: 2.1rem;
  }

  .scene-2 {
    transform: translateY(100px);
  }
}

@media only screen and (min-width: 331px) and (max-width: 500px) {
  .main-a section {
    width: 85vw;
  }

  .main-a h1 {
    font-size: 1.8rem;
    line-height: 2.3rem;
  }

  .scene-2 {
    transform: translateY(120px);
  }

  .smartphone-content {
    padding: 1rem;
    font-size: 1.1rem;
    line-height: 1.6rem;
  }
}

@media only screen and (max-width: 330px) {
  .main-a section {
    width: 100vw;
  }

  .smartphone-content {
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6rem;
  }

  .main-a h1 {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }

  .scene-2 {
    transform: translateY(75px);
  }
}
