@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Jura:wght@300;400;500;600;700&display=swap");

body,
html {
  padding: 0;
  margin: 0;
  min-width: 350px;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-flow: column;
  background: #fff;
  color: #031121;
  font-weight: 400;
  position: relative;
  min-height: 100vh;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-image: url(images/bg.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-size: cover;
  background-position: center;
}

a {
  color: #031121;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  opacity: 0.7;
}

h1 {
  font-family: "Jura", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.12;
  margin: 0 0 57px 0;
}

.wrapper {
  width: calc(100% - 40px);
  max-width: 1720px;
  margin: 0 auto;
}

.button {
  padding: 11px 17px;
  font-weight: 600;
  background: #89fd02;
  border-radius: 16px;
  margin-left: -11px;
  display: inline-block;
  margin-bottom: 50px;
}

main {
  flex-grow: 1;
  display: flex;
  flex-flow: column;
}

.wrapper-2 {
  flex-grow: 1;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  max-width: 1220px;
  justify-content: center;
}

.main {
  max-width: 550px;
  margin: 50px 0;
}

.main__text {
  font-weight: 400;
  font-size: 20px;
  max-width:300px;
}

p {
  margin: 0;
  margin-bottom: 20px;
}

.logo {
  margin: 52px 0 52px 0;
  margin-left: -11px;
}

.foot-item {
  max-width: 345px;
  margin-right: 75px;
}

.foot-item p {
  margin-bottom: 30px;
  font-size: 12px;
}

footer .wrapper-2 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-flow: row;
  flex-wrap: wrap;
}

.ellipse-1 {
  background-image: url(images/image.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 5%;
  width: 100%;
  height: 100%;
  max-width: 637px;
  max-height: 930px;
  z-index: -1;
  opacity: 1;
  bottom: 0;
}

@media screen and (max-width: 1200px) {
  h1 {
    font-size: 32px;
    max-width: 300px;
  }
}
@media screen and (max-width: 1000px) {
  .foot-item {
    width: 100%;
  }

  footer .wrapper-2 {
    flex-flow: column;
  }
  .ellipse-1 {
    height: 80%;
  }
}

@media screen and (max-width: 800px) {
  .ellipse-1 {
    height: 50%;
  }
}

@media screen and (max-width: 670px) {
  .ellipse-1 {
    position: relative;
    width: 100%;
    height: 400px;
    left: 0;
    margin: 50px auto 0 auto;
    background-position: bottom center;
  }
}
