@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');

html {
  background-color: #fff;
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
}

body {
  color: #111;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 400;
  overflow-x: hidden;
}

h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-top: 2em;
  text-align: center;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  margin: 0 auto;
  max-width: 1920px;
  padding: 0 3%;
}

.main {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  width: 100%;
}

.main__content {
  margin-top: 1rem;
  width: 100%;
}

.main__image {
  align-self: flex-end;
  flex: 1 1 100%;
  margin: 0 -5%;
  position: relative;
  width: 100%;
}

.main__image img {
  object-fit: cover;
  width: 100%;
}

.main__image .image-gradient {
  background: linear-gradient(
    180deg,
    #fff 0,
    rgba(255, 255, 255, 0) 98.93%
  );
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: 4rem;
    text-align: left;
  }

  body {
    position: relative;
  }

  .container {
    padding-right: 0;
  }

  .main {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .main__content {
    margin-top: 5rem;
  }

  .main__image {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    z-index: -1;
  }
  .main__image .image-gradient {
    background: linear-gradient(
      90deg,
      #fff 0,
      rgba(255, 255, 255, 0) 98.93%
    );
  }

  .main__image img {
    height: 100%;
    object-fit: cover;
  }
}
