@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700");

:root {
  --color-blue: #005cff;
  --color-gray: #f2f2f2;
  --color-black: #1d1d1d;
  --max-width: 850px;
}

body {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  line-height: 1.4;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: var(--color-black);
  font-weight: 400;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  text-align: left;
  margin: 0;
}
h2,
h3 {
  font-size: 90px;
  line-height: 1;
  font-weight: 700;
}
h3 {
  font-weight: 400;
  color: var(--color-blue);
}
h4 {
  letter-spacing: 3px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  width: 100%;
  padding-left: 40px;
  margin-bottom: -5px;
}
h4 span {
  color: var(--color-blue);
}
.xl {
  font-size: 16px;
  color: var(--color-blue-2);
  font-weight: 300;
  text-align: center;
}

svg {
  fill: currentColor;
}

main {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  z-index: 2;
}
main::before {
  content: "";
  z-index: 0;
  width: 1050px;
  height: 772px;
  position: absolute;
  top: -255px;
  left: -236px;
  opacity: .6;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 60%;
  z-index: 3;
}
.left {
  width: 40%;
  align-items: flex-start;
}
.lines {
  width: 300px;
  height: 160px;
  border-left: 2px solid var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  margin-top: 100px;
}

.right img {
  max-width: 250px;
  margin-right: -50px;
}

.triangle {
  position: fixed;
  bottom: -50px;
  width: 120%;
  height: 100px;
  background-color: var(--color-gray);
  transform: rotate(-2.5deg);
  z-index: 3;
}

@media only screen and (max-width: 900px) {
  main {
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    overflow: hidden;
  }
  main::before {
    transform: rotate(109deg) scalex(-1);
    top: -69px;
    left: -324px;
  }
  .col {
    position: absolute;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: flex-start;
  }
  .right img {
    max-width: 250px;
    padding: 50px 30px;
    margin-right: 0;
    position: absolute;
  }
  .text {
    position: absolute;
    top: 350px;
  }
  h2, h3 {
    font-size: 60px;
    text-align: center;
  }
  .lines {
    position: absolute;
    width: 50px;
    height: 200px;
    margin-top: 0;
    top: 360px;
    left: 10%;
  }
  h4 {
    position: absolute;
    width: 300px;
    top: 480px;
  }
  h4 span {
    display: block;
    margin-top: 12px;
  }
}

@media only screen and (max-width: 340px) {
  .lines {
    visibility: hidden;
  }
}