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

@font-face {
  font-family: sofia-pro;
  src: url("./fonts/Sofia\ Pro\ Regular.otf") format("opentype");
}
@font-face {
  font-family: sofia-pro;
  font-weight: bold;
  src: url("./fonts/Sofia\ Pro\ Bold.otf") format("opentype");
}

html {
  font-family: sofia-pro;
  color: #2b1e6b;
}

h1 {
  font-weight: bold;
  font-size: 41px;
  line-height: 1;
}

.wrapper {
  max-width: 1062.67px;
  max-height: 475px;
  width: 100%;
  padding-top: 44.7%;
  position: relative;
}

.content {
  max-width: 1062.67px;
  max-height: 475px;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f5f4f9;
  border-radius: 20px;
  top: 0;
  left: 0;
  overflow: hidden;

  display: flex;
}

.right {
  flex-grow: 1;
  padding: 0 3.02% 0 4.02%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.test {
  background-color: red;
  width: 100%;
  height: 100%;
}

.cover {
  width: 44.2%;
  height: auto;
}

p {
  padding-right: 17%;
  font-size: 18px;
  line-height: 24px;
  margin: 34px 0;
}

a {
  font-size: 21px;
  color: #4b22dd;
  text-decoration: none;
}

@media screen and (max-width: 1090px) {
  h1 {
    font-size: 41px;
  }

  p {
    font-size: 15px;
    line-height: 20px;
    margin: 34px 0;
  }

  a {
    font-size: 21px;
  }
}

@media screen and (max-width: 1000px) {
  h1 {
    font-size: 37px;
  }

  p {
    font-size: 15px;
  }

  a {
    font-size: 17px;
  }
}

@media screen and (max-width: 850px) {
  h1 {
    font-size: 32px;
  }

  p {
    font-size: 12px;
    margin: 26px 0;
  }

  a {
    font-size: 16px;
  }
}

@media screen and (max-width: 673px) {
  .content {
    border-radius: 8.44px;
  }

  h1 {
    font-size: 27.9px;
  }

  p {
    font-size: 10.145px;
    line-height: 13.5px;
    margin: 20.26px 0;
  }

  a {
    font-size: 14.413px;
  }
}

@media screen and (max-width: 573px) {
  h1 {
    font-size: 24px;
  }

  p {
    font-size: 9px;
    line-height: 12px;
  }

  a {
    font-size: 12.5px;
  }
}

@media screen and (max-width: 530px) {
  h1 {
    font-size: 20px;
  }

  p {
    font-size: 8px;
    line-height: 11px;
  }

  a {
    font-size: 11.5px;
  }
}

@media screen and (max-width: 440px) {
  h1 {
    font-size: 17px;
  }

  p {
    font-size: 7px;
    line-height: 10px;
  }

  a {
    font-size: 10.3px;
  }
}

@media screen and (max-width: 380px) {
  h1 {
    font-size: 15px;
  }

  p {
    font-size: 6px;
    line-height: 8px;
  }

  a {
    font-size: 9.5px;
  }
}
