@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:wght@400;500&family=Rubik:wght@400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #fff;
  color: white;
  font-family: "Rubik", sans-serif;

  overflow-x: hidden;
  overflow-y: auto;
}
.wrapper {
  max-width: 1070px;
  width: calc(100% - 30px);
  margin: 0 auto;
}
section#home {
  padding-top: 60px;
}
section#home .wrapper {
  position: relative;
}
section#home h1 {
  color: #fff;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 600;
  font-family: "Jost", sans-serif;
  margin-bottom: 50px;
}
section#home h1 span {
  color: #99a5cb;
  font-family: "Jost", sans-serif;
  font-weight: 600;
}
section#home a.to-info {
  height: 60px;
  padding: 0 60px;
  background-color: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0px 8px 46px 0px rgba(153, 165, 203, 0.58);
  text-decoration: none;
  width: fit-content;
  margin-bottom: 95px;
}
section#home a.to-info img {
  margin-left: 10px;
}
section#home .wrapper::after {
  content: "";
  width: 1130px;
  height: 1130px;
  background-image: url("../images/pages/badge.png");
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  right: -214px;
  top: -305px;
  z-index: -1;
}
section#home .text {
  background: linear-gradient(
    90deg,
    rgba(16, 22, 43, 0) -0.86%,
    rgba(20, 27, 51, 0.494),
    31.33%,
    rgba(23, 30, 58, 0.494),
    50.62%,
    rgba(25, 33, 62, 0.506) 70.05%,
    rgba(29, 37, 71, 0) 100%
  );
  padding: 45px 40px;
  text-align: center;
  line-height: 1.7;
  font-size: 18px;
  margin-bottom: 10px;
}
section#info .wrapper {
  display: flex;
  align-items: flex-start;
  position: relative;
}
section#info .content {
  width: calc(100% - 400px);
  padding-left: 100px;
  padding-bottom: 35px;
  flex-shrink: 0;
}
section#info .content article {
  display: block;
  padding-top: 35px;
}
section#info .content article h2 {
  font-size: 64px;
  font-weight: 600;
  color: #000;
  margin-bottom: 35px;
  font-family: "Jost", sans-serif;
  line-height: 0.8;
}
section#info .content article p {
  font-size: 16px;
  color: #000;
  font-family: "Jost", sans-serif;
  line-height: 1.8;
}

section#info aside {
  width: 400px;
  border-right: 1px solid #d9d9d9;
  padding: 35px 0;
  padding-right: 15px;
  padding-top: 20px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
}
section#info ul.navbar {
  padding-top: 20px;
}
section#info ul.navbar li a {
  color: #424242;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  transition: 0.2s;
  padding-left: 0;
  display: block;
}
section#info ul.navbar li a::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #ebc736;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  opacity: 0;
  transition: 0.2s;
}
section#info ul.navbar li a:hover::after,
section#info ul.navbar li a.active::after {
  transform: translate(0, -50%);
  opacity: 1;
}
section#info ul.navbar li a:hover,
section#info ul.navbar li a.active {
  padding-left: 20px;
  font-weight: 600;
}
section#info ul.navbar li {
  margin-bottom: 10px;
  list-style: none;
}
section#info ul.navbar li:last-of-type {
  margin-bottom: 0;
}
header {
  padding-top: 45px;
  padding-bottom: 45px;
}
footer {
  padding-top: 70px;
  padding-bottom: 70px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: center;
}
.top img {
  display: block;
  margin: 0 20px;
}
b {
  font-size: 18px;
  font-weight: 500;
  display: block;
  width: 300px;
  line-height: 1.3;
}
sup {
  font-size: 18px;
  font-weight: 600;
  line-height: 0.1;
}

span,
sup {
  font-family: "Roboto", sans-serif;
}

.bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottom img {
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;
}

.bottom p {
  text-align: center;
  color: #fff;
  font-size: 22px;
}

.bottom p a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}
.bottom p a:hover {
  text-decoration: underline;
}

a.back {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: fit-content;
  padding: 20px;
  background-color: #ebc736;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

a.to-top {
  position: fixed;
  bottom: 15px;
  right: 30px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ebc736;
  transition: 0.2s;
  transform: translateY(0);
}

a.to-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

a.back img {
  margin-right: 10px;
}

.top b span,
.text span {
  font-size: 20px;
  padding: 0 2px;
}

@media screen and (max-width: 1024px) {
  .top img {
    margin: 0 10px;
    width: 70px;
  }

  .top b span {
    font-size: 10px;
  }

  .text span {
    font-size: 15px;
  }

  section#info .wrapper {
    flex-direction: column;
  }

  section#info aside {
    border: none;
    padding: 0;
    padding-top: 20px;
    position: static;
    width: 100%;
  }

  a.to-top {
    right: 15px;
  }

  .top {
    margin-bottom: 0;
  }

  .top b {
    font-size: 7px;
  }

  section#info ul.navbar {
    display: none;
  }

  section#info .content {
    padding-left: 0;
    width: 100%;
  }

  section#info .content article h2 {
    font-size: 35px;
    margin-bottom: 20px;
  }

  section#info .content article p {
    font-size: 14px;
    line-height: 1.6;
  }

  .bottom p {
    font-size: 14px;
  }
  .bottom p a {
    text-decoration: underline;
  }

  .bottom img {
    width: 30px;
  }

  section#home {
    padding-top: 0;
  }

  section#home a.to-info {
    margin: 0 auto;
    margin-bottom: 20px;
    height: 45px;
    padding: 0 40px;
    font-size: 14px;
  }

  section#home h1 {
    text-align: center;
    font-size: 35px;
    line-height: 1;
    margin-bottom: 25px;
  }

  section#home .text {
    padding: 20px 0;
    font-size: 14px;
  }

  section#home .wrapper::after {
    left: 50%;
    top: -150px;
    z-index: -1;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-size: contain;
    right: initial;
  }
}
