@font-face {
  font-family: "GolosTitle";
  src: url("./fonts/Golos-Text_DemiBold.ttf");
}

@font-face {
  font-family: "GolosText";
  src: url("./fonts/Golos-UI_Regular.ttf");
}

html {
  box-sizing: border-box;
  font-family: "GolosText";
}

body {
  background-color: #e0e9f7;
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 32px;
}

header {
  text-align: center;
}

.img-logo {
  width: 250px;
}

main {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1 {
  text-align: center;
  font-size: 64px;
  margin-bottom: 48px;
  font-family: "GolosTitle";
}

.btn-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

#services-buttons {
  width: 50%;
}

#social-buttons {
  width: 30%;
  justify-content: space-between;
}

#test-buttons {
  width: 80%;
}

.btn {
  background: #cc0029;
  font-size: 24px;
  color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-social {
  margin-right: 16px;
  width: 28px;
}

.img-vk {
  width: 32px;
}

.img-ok {
  width: 16px;
}

.btn:hover {
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.rectangle-blue {
  position: absolute;
  z-index: -10;
  top: 200px;
  left: 20%;
  rotate: 10deg;
  width: 1400px;
  height: 1024px;
  border: 3px solid white;
  border-radius: 60px;
  background: #ccdef5;
  background: linear-gradient(
    325deg,
    rgba(204, 222, 245, 1) 50%,
    rgba(245, 250, 255, 1) 100%
  );
}

.rectangle-purple {
  position: absolute;
  z-index: -11;
  top: -150px;
  left: -2%;
  rotate: 22deg;
  width: 334px;
  height: 334px;
  border-radius: 32px;
  background: #cab4d8;
  opacity: 40%;
  filter: blur(12px);
}

.rectangle-orange {
  position: absolute;
  z-index: -11;
  top: -150px;
  right: -10%;
  rotate: 22deg;
  width: 477px;
  height: 477px;
  border-radius: 32px;
  background: #F29AB2;
  opacity: 20%;
  filter: blur(12px);
}

.rectangle-green {
  position: absolute;
  z-index: -11;
  top: 80%;
  left: -10%;
  rotate: -13deg;
  width: 700px;
  height: 300px;
  border-radius: 32px;
  background: #8BCBB8;
  opacity: 30%;
  filter: blur(12px);
}

@media (max-width: 991px) {
  #social-buttons {
    width: 50%;
  }

  #services-buttons {
    width: 70%;
  }

  .rectangle-blue {
    left: 10%;
  }

  .rectangle-purple {
    top: -200px;
    left: -10%;
  }

  .rectangle-orange {
    top: 0;
    right: -200px;
  }

  .rectangle-green {
    left: 0%;
  }
}

@media (max-width: 767px) {
  .img-logo {
    width: 150px;
  }

  h1 {
    font-size: 48px;
    margin-bottom: 32px;
  }

  #social-buttons {
    width: 50%;
  }

  #services-buttons {
    width: 80%;
  }

  .btn {
    font-size: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .img-social {
    width: 20px;
    margin-right: 12px;
  }

  .img-ok {
    width: 16px;
  }

  .rectangle-blue {
    width: 680px;
    height: 500px;
    left: 20%;
    rotate: 25deg;
  }

  .rectangle-purple {
    width: 190px;
    height: 190px;
    top: -50px;
    left: -40px;
  }

  .rectangle-orange {
    width: 190px;
    height: 190px;
    top: 0;
    right: -50px;
  }

  .rectangle-green {
    width: 210px;
    height: 130px;
    left: 0;
  }
}

@media (max-width: 575px) {
  body {
    padding-left: 10px;
    padding-right: 10px;
  }

  .img-logo {
    width: 135px;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  #social-buttons {
    width: 80%;
  }

  #services-buttons {
    width: 90%;
  }

  .btn {
    font-size: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .img-social {
    width: 16px;
    margin-right: 8px;
  }

  .img-ok {
    width: 12px;
  }

  .rectangle-blue {
    width: 632px;
    height: 462px;
    left: 0;
    top: 170px;
    rotate: 25deg;
  }

  .rectangle-purple {
    width: 140px;
    height: 140px;
    top: 150px;
    left: -100px;
    opacity: 50%;
  }

  .rectangle-orange {
    width: 140px;
    height: 140px;
    top: -10%;
    opacity: 40%;
  }

  .rectangle-green {
    width: 210px;
    height: 130px;
    z-index: -9;
    top: 350px;
    left: 50%;
    opacity: 50%;
  }
}
