@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@400;500;600;700&display=swap');

/* RESET.CSS */

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background-color: transparent;
  color: var(--light-color);
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  margin: auto;
}

h1 {
  font-weight: 700;
  font-size: 40px;
  line-height: 64px;
  color: var(--color-primary);
  max-width: 1240px;
  margin: 20px auto;
  text-align: center;
}
@media (max-width: 590px) {
  h1 {
    word-wrap: break-word;
    word-break: break-all;
    line-height: 50px;
  }
}
@media (max-width: 450px) {
  h1 {
    font-size: 32px;
  }
}

h2 {
  font-weight: 700;
  font-size: 34px;
  line-height: 44px;
  text-align: center;
  margin: 20px 0;
  color: var(--color-yellow);
}
@media (max-width: 450px) {
  h2 {
    font-size: 30px;
    line-height: 40px;
  }
}

h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  margin: 20px 0;
  text-align: center;
  color: var(--color-yellow);
}
@media (max-width: 450px) {
  h3 {
    color: var(--color-violet-lt);
    font-size: 28px;
    line-height: 34px;
  }
}
}

a {
  color: inherit;
  cursor: pointer;
}

:root {
  --main-color: #DD98FE;
  --light-color: #ffffff;
  --black-color: #000000;
  --dark-color:  #222222;
  --bacground-color: #222222;
  --main-font-family: 'Alumni Sans', sans-serif;
  --main-font-weight: 400;
  --main-font-size: 18px;
  --logo-font-size: 24px;
  --title-font-size: 45px;
  --subtitleBig-font-size: 36px;
  --subtitleSmall-font-size: 28px;
}

html, body {
  font-family: var(--main-font-family);
  font-weight: var(--main-font-weight);
  font-size: var(--main-font-size);
  background: var(--bacground-color);
  color: var(--light-color);
  min-height: 100%;
  width: 100%;
  overflow-x: clip;
}
[class*="__container"] {
  max-width: 1310px;
  padding: 0 15px;
  margin: 0 auto;
  height: 100%; 
}

/* mobile__menu-link */

.mobile__menu-link {
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 100;
  height: 72px;
  width: 90px;
  border-radius: 50%;
  transition: all .3s;
}  
.mobile__menu-link span {
  display: block;
  height: 2px;
  width: 30px;
  background-color: var(--light-color);
  border-radius: 3px;
  margin: 3px 0px;
  transition: all .3s;
  position: relative;
}
.mobile__menu-link span::after, .mobile__menu-link span::before{
  content: "";
  display: block;
  height: 2px;
  width: 30px;
  background-color: var(--light-color);
  transition: all .3s;
  position: absolute;
  top: -7px;
}
.mobile__menu-link span::before {
  transition: all 0.3s;
  top: 7px;
}
.mobile__menu-link--close {
  background-color: transparent;
}
.mobile__menu-link--close span {
  background-color: transparent;
  transition: all 0.3s;
}
.mobile__menu-link--close span::after {
  top: 0;
  height: 5px;
  transform: rotateZ(135deg);
  transition: all 0.3s;
}
.mobile__menu-link--close span::before {
  top: 0;
  height: 5px;
  transform: rotateZ(-135deg);
  transition: all 0.3s;
}
.mobile__menu-link--scroll {
  box-shadow: 0 1px 8px var(--main-color);
  background-color: var(--main-color);
  left: 20px;
  top: 16px;
  height: 40px;
  width: 50px;
  transition: all .5s .4s ;
} 

/* BTN-UP */

.upButton {
  position: fixed;
  background: linear-gradient(90deg, #4e26f4 0%, #f453db 100%);
  right: 20px;
  bottom: 0px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 50px;
  transition: all .3s;
  opacity: 1;
  pointer-events: all;
  z-index: 10;
}
.upButton::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}
.upButton:hover {
  background-color: var(--dark-color);
  transition: all .3s;
}
.upButton--hide {
  opacity: 0;
  pointer-events: none;
}



/* -------------HEADER------------- */


.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 15px;
}
.header__logotype {
  margin: 0;
  font-weight: 700;
  font-size: var(--logo-font-size);
  line-height: 121%; /* 29px */
  color: var(--light-color);
  text-transform: uppercase;
  flex: 1 1 auto;
}
.header__navigation {
  display: flex;
  justify-content: center;
  flex: 2 1 auto;
}
.header__navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 28px;
  z-index: 5;
}
.header__navigation li {
  font-size: var(--main-font-size);
  line-height: 133%; /* 24px */
  transition: all .3s;
  cursor: pointer;
}
.header__navigation li:hover, 
.header__navigation li:focus {
  scale: 1.1;
  transition: all .3s;
}
.header__box {
  display: flex;
  gap: 30px;
}
.header__box-btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 13px 49px;
  font-weight: 600;
  line-height: 1.25;
  transition: all .3s;
  z-index: 5;
  border-radius: 40px;
  font-size: 19px;
}
.header__box-btn:hover, 
.header__box-btn:focus {
  scale: 1.1;
  transition: all .3s;
}
.header__box-btn--login {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  background: linear-gradient(90deg, #4e26f4 0%, #f453db 100%);
  color: var(--dark-color);
}
.header__box-btn--signin {
  color: var(--dark-color);
  background: linear-gradient(90deg, #4e26f4 0%, #f453db 100%);
}

/* -------------screen------------- */


.screen {
  padding-top: 30px;
}
.screen__container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
}
.screen__container::before {
  content: "";
  top: 0%;
  left: 1170px;
  position: absolute;
  width: 1150px;
  height: 1050px;
  background: url("../images/main.png") 0 0 no-repeat;
  z-index: 3;
}
.screen__title { 
  max-width: 1614px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 700;
  font-size: var(--title-font-size);
  line-height: 60px;
  padding-left: 26px;
  text-align: center;
}
.screen__title span {
  background: linear-gradient(88.32deg, #C0B7E8 -0.01%, #8176AF 54.78%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -------------description------------- */

.description__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 5;
  max-width: 1600px;
}
.description__wrapper::before {
  content: "";
  position: absolute;
  top: 768px;
  left: -60px;
  width: 2000px;
  height: 500px;
  z-index: 3;
  background: url("../images/BG__description.svg") 0 0 no-repeat;
}
.description__wrapper p {
  font-size: var(--main-font-size);
  line-height: 189%; /* or 34px */
  text-indent: 20px;  
  color: var(--light-color);
  position: relative;
  z-index: 5;
}
.description__wrapper a {
  text-decoration-line: underline;
  color: var(--main-color);
}

.description__wrapper img {
  max-width: 100%;
  display: block;
  margin: auto;
}
}
.description__wrapper ul {
  padding-left: 60px;
  line-height: 189%; /* or 34px */ 
  position: relative;
  z-index: 5;
}
.description__wrapper ul li {
  list-style: disc;
}
.description__wrapper ol {
  padding-left: 60px;
  line-height: 189%; /* or 34px */ 
  position: relative;
  z-index: 5;
}

.description__wrapper .image--two {
  margin: 0 auto;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  max-height: 300px;
  max-width: 800px;
  object-fit: cover;
  object-position: 50% 50%;
}
.description__title {
  max-width: 415px;
  margin: 10px auto;
  font-weight: 600;
  font-size: 36px;
  line-height: var(--subtitleBig-font-size);  
  text-align: center; 
  padding: 0 7px 27px 7px;
  border-bottom: 1px solid var(--main-color);
  position: relative;
  z-index: 5;
}
.description__subtitle {
  max-width: 414px;
  margin: 10px auto;
  font-weight: 600;
  font-size: var(--subtitleSmall-font-size);
  line-height: 34px;
  text-align: center; 
  padding: 0 43px 27px 42px;
  border-bottom: 1px solid var(--main-color);
  position: relative;
  z-index: 5;
}

/* SUMMARY */

.description__summary {
  padding-bottom: 120px;
  padding-top: 20px;
}
.description__summary {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1000px;
  position: relative;
}
.description__summary::before {
  content: "";
  position: absolute;
  bottom: 130px;
  left: -80px;
  width: 2000px;
  height: 850px;
  z-index: 3;
  background: url("../images/BG__summary.svg") 0 0 no-repeat;
}
.description__summary table {
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
  font-weight: 500;
  font-size: var(--main-font-size);
  line-height: 22px;
  color: var(--light-color);
  border-collapse: collapse;  
  z-index: 5;
}
.description__summary tr {
  border-top: 1px solid var(--light-color);
  border-bottom: 1px solid var(--light-color);
}
.description__summary td:last-child {
  text-align: right;
}
.description__summary td {
  padding: 20px;
}
.description__summary-four td {
  width: 310px;
}
.description__summary-three td:nth-child(2) {
  text-align: center;
}

.footer__container {
  text-align: center;
  padding: 36px 0;
}
.footer__container p {
  font-size: 18px;
  line-height: 156%; /* or 28px */
}

@media (max-width: 768px) {
  .mobile__menu-link {
    display: flex;
  }

  .header__container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
  }
  .header__logotype {
    margin: 0;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
  }
  .header__navigation {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 315px;
    height: 100%;
    z-index: 50;
    background-color: var(--dark-color);
    transform: translateX(-100%);
    transition: transform 1s;
  }
  .header__navigation ul {
    flex-direction: column;
    gap: 50px;
    padding-top: 180px;
    padding-left: 30px;
  }
  .header__navigation--open {
    transform: translateX(0);
    transition: transform 1s;
  }
  .header__box {
    margin: 0;
    flex-direction: column;
    text-align: center;
  }
  .header__box-btn {
    width: 250px;
  }

  .screen {
    padding: 0;
  }
  .screen__title {
    padding: 15px 0 15px;
    font-size: 30px;
    line-height: 45px;
  }
  .screen__container::before {
    display: none;
  }

  .description__wrapper::before {
    display: none;
  }
  .description__summary::before {
    display: none;
  }

  .main__pers {
    padding: 30px 0 50px;
  }
  .description__title {
    font-size: 26px;    
    padding: 0;  
    margin: 0 auto;
    border-bottom: none;
  }
  .description__subtitle {
    font-size: 22px;
    padding: 0;  
    margin: 0 auto;
    border-bottom: none;
  }


  .description__summary {
    padding-bottom: 50px;
  }
  .description__summary table {
    font-size: 16px;
    line-height: 20px;
  }
  .description__summary-four td {
    width: 45%;
  }
  .description__summary td:nth-child(2) {
    text-align: right;
}
  .description__summary tr {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .description__summary-three tr {
    flex-wrap: nowrap;
  }
  .description__summary td {
    max-width: 50%;
    padding: 20px 5px;
  }

  .footer__wrapper {
    padding: 40px 0;
  }
  .footer__wrapper p {
    letter-spacing: 0.01em;
  }
}