@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;700&display=swap');

* {
  margin: 0;
}

body {
  font-family: 'Lato', sans-serif;
}

.parent {
display: grid;
grid-template-columns: repeat(18, 1fr);
grid-template-rows: repeat(23, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
width: 100vw;
height: 100vh;
}

.back-left { grid-area: 1 / 1 / 24 / 11; }
.back-right { grid-area: 1 / 11 / 24 / 19; }
.front-left { grid-area: 4 / 4 / 20 / 11; }
.front-right { grid-area: 4 / 11 / 20 / 16; }

.back-left {
  background-color: #E56E67;
  background-image: url('../images/product-designer-bg.svg');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: auto 90vh;
}

.back-right {
  background-color: #33829E;
  background-image:  url('../images/artist-bg.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto 90vh;
}

.front-left {
  background-color: #124761;
  background-image:  url('../images/product-design.svg');
  background-repeat: no-repeat;
  background-position: 100% 75%;
  background-size: 30vw auto;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.5);
}

.front-right {
  background-color: #fff;
  background-image: url('../images/art.svg');
  background-repeat: no-repeat;
  background-position: 0% 75%;
  background-size: 21vw auto;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.5);
}

.front-right:hover, .front-left:hover {
  cursor: pointer;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 5vh;
  font-weight: 700;
  margin: 6vh 2vw 15vh 2vw;
  line-height: 0.9;
  color: #000;
}

h1 span {
  font-size: 3vh;
  font-weight: 300;
}

.front-left h1{
  text-align: right;
  color: #fff;
}

.arrow {
  display: block;
  background-color: #E6635C;
  background-size: contain;
  will-change: transform;
  transition: 200ms;
  height: 100px;
  padding: 0 32px;
  float: left;
  color: #fff;
  border-radius: 0 100px 100px 0;
  line-height: 5.5;
  font-size: 18px;
  transition: 500ms;
}

.arrow:hover {
  background-color: #D64A43;
}

.front-right .arrow {
  float: right;
  border-radius: 100px 0 0 100px;
}

@media screen and (max-width: 1024px) {

  .parent {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(12, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  }

  .back-left { grid-area: 1 / 1 / 7 / 15; }
  .back-right { grid-area: 7 / 1 / 13 / 15; }
  .front-left { grid-area: 2 / 3 / 7 / 13; }
  .front-right { grid-area: 7 / 3 / 12 / 13; }

  h1 {
    font-size: 3vh;
    margin: 2vh 3vw 10vh 3vw;
    line-height: 1.1;
  }

  h1 span {
    font-size: 3vh;
  }

  .back-left {
    background-size: auto 45vh;
  }

  .back-right {
    background-size: auto 55vh;
  }

  .front-left {
    background-size: 44vw auto;
  }

  .front-right {
    background-size: 42vw auto;
  }

  .arrow {
    font-size: 16px;
    height: 72px;
    line-height: 4.5;
    padding: 0 24px;
  }


}

@media screen and (max-width: 540px) {


  h1 {
    margin: 2vh 3vw 8vh 3vw;
  }

  .front-left {
    background-size: 33vh auto;
  }

  .front-right {
    background-size: 33vh auto;
  }

  .arrow {
    font-size: 14px;
    height: 72px;
    line-height: 5;
    padding: 0 16px;
  }


}
