@import url('https://fonts.googleapis.com/css2?family=Montserrat: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;
}

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 {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  cursor: pointer;
}

:root {
  --main-color: #e9db21;
  --light-color: #ffffff;
  --dark-color: #000000;
  --bacground-color: #512258;
  --main-font-family: 'Montserrat', sans-serif;
  --main-font-weight: 400;
  --main-font-size: 16px;
  --name-font-size: 36px;
  --nameSmall-font-size: 40px;
  --logo-font-size: 22px;
  --title-font-size: 48px;
  --btn-font-size: 16px;
}

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);
}
.wrapper {
  min-height: 100%;
  overflow: clip;

  display: flex;
  flex-direction: column;
}
.wrapper > main {
  flex: 1 1 auto;
}

[class*="__container"]{
  padding: 0 15px;
  margin: 0 auto;
  max-width: 1200px;
}

.name {
  font-weight: 600;  
  color: var(--main-color);
  margin: 10px 0;
}

/* mobile__menu */

.mobile__menu {
  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 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 span::after, .mobile__menu span::before{
  content: "";
  display: block;
  height: 2px;
  width: 30px;
  background-color: var(--light-color);
  transition: all .3s;
  position: absolute;
  top: -7px;
}
.mobile__menu span::before {
  transition: all 0.3s;
  top: 7px;
}
.mobile__menu-close {
  background-color: transparent;
}
.mobile__menu-close span {
  background-color: transparent;
  transition: all 0.3s;
}
.mobile__menu-close span::after {
  top: 0;
  height: 5px;
  transform: rotateZ(135deg);
  transition: all 0.3s;
}
.mobile__menu-close span::before {
  top: 0;
  height: 5px;
  transform: rotateZ(-135deg);
  transition: all 0.3s;
}
.mobile__menu--follow {
  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 */

.btn__totop {
  position: fixed;
  background-color: var(--main-color);
  right: 20px;
  bottom: 20px;
  border-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: 100;
}
.btn__totop::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");
}
.btn__totop:hover {
  background-color: var(--dark-color);
  transition: all .3s;
}
.btn__totop-none {
  opacity: 0;
  pointer-events: none;
}

/* -------------HEADER------------- */

.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  gap: 15px;
}
.header__logo {
  font-weight: 700;
  font-size: var(--logo-font-size);
  line-height: 121%; /* 29px */
  color: var(--light-color);
  text-transform: uppercase;
  flex: 1 1 auto;
}
.menu {
  display: flex;
  justify-content: center;
  flex: 2 1 auto;
}
.menu ul {
  display: flex;
  flex-direction: row;
  gap: 29px;
}
.menu li {
  font-size: var(--main-font-size);
  line-height: 133%; /* 24px */
  transition: all .3s;  
  position: relative;
}
.menu li::before {    
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: var(--main-color);
  visibility: hidden;
  border-radius: 5px;
  transform: scaleX(0);
  transition: .25s linear;
}
.menu li:hover:before,
.menu li:focus:before {
  visibility: visible;
  transform: scaleX(1);
}
.menu__link {
  color: var(--light-color);
  font-size: var(--main-font-size);
}

.header__block {
  display: flex;
  gap: 20px;
}
.block__btn {
  font-size: var(--btn-font-size);
  display: inline-block;
  box-sizing: border-box;
  padding: 12px 24px;
  font-weight: 600;
  line-height: 1.25; /* 20px */
  transition: all .3s;
  z-index: 5;
}
.block__btn:hover,
.block__btn:focus {
  scale: 1.1;
  transition: all .3s;
}
.block__btn-log {
  color: var(--light-color);
  border: 1px solid var(--light-color);
  border-radius: 10px;
}
.block__btn-log:hover {
  border: 1px solid var(--main-color);
  color: var(--main-color);

}
.block__btn-reg {
  color: var(--light-color);
  background: var(--main-color);
  border-radius: 10px;
}
.block__btn-reg:hover {
  color: var(--main-color);
  background: var(--light-color);
}


/* -------------MAIN------------- */

.main__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 30px;
  position: relative;
}
.main__container img {
  max-width: 670px;
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 5;
}
.main__title {
  max-width: 470px;
  line-height: 52px; /* or 133% */
  font-weight: 700;
  font-size: var(--title-font-size);
  color: var(--light-color);
  text-align: center;
}
.main__title span {
  color: var(--main-color);
}
.main__container::after {
  content: "";
  position: absolute;
  bottom: 110px;
  right: -640px;
  width: 886px;
  height: 886px;
  border-radius: 100%;
  background: linear-gradient(75.96deg, #FFC83A 13.64%, #FF008A 46.53%, #6100FF 78.88%);
  z-index: 3;
  opacity: 0.4;
  filter: blur(60px);
}

/* -------------INFO------------- */

.information__container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}
.information__container p {
  font-size: var(--main-font-size);
  line-height: 189%; /* or 34px */
  color: var(--light-color);
  text-indent: 20px;
}
.information__container a {
  text-decoration-line: underline;
  color: var(--main-color);
}
.information__container ul {
  padding-left: 40px;
  line-height: 189%; /* or 34px */ 
}
.information__container ul li { 
  list-style: disc;
}
.information__container ol {
  padding-left: 40px;
  line-height: 189%; /* or 34px */ 
}
.information__container::before {
  content: "";
  position: absolute;
  top: 240px;
  left: -610px;
  width: 886px;
  height: 886px;
  border-radius: 100%;
  background: linear-gradient(75.96deg, #FFC83A 13.64%, #FF008A 46.53%, #6100FF 78.88%);
  z-index: 3;
  opacity: 0.4;
  filter: blur(60px);
}

/* -------------PROFILE------------- */

.information__container img {
  margin: 0 auto;
  width: 70%;
  display: block;
}
.information__name {
  font-size: var(--name-font-size);
  line-height: 94%; /* or 34px */
}
.information__name--two {
  font-size: var(--nameSmall-font-size);
  line-height: 121%; /* 34px */
  text-align: center;
}

/* -------------MODUL------------- */

.information__table {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-bottom: 101px;
  margin-bottom: 50px;
}

.information__container 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;
}
.information__container tr {
  border-top: 1px solid var(--light-color);
  border-bottom: 1px solid var(--light-color);
}
.information__container td:last-child {
  text-align: right;
}
.information__container td {
  padding: 20px;
}
.table-fourColumn td {
  width: 310px;
}
.table-threeColumn td:nth-child(2) {
  text-align: center;
}

/* -------------FOOTER------------- */

.footer__container {
  text-align: center;
  padding: 36px 0;
  position: relative;
}
.footer__container p {
  font-size: var(--main-font-size);
  line-height: 156%; /* or 28px */
  position: relative;
  z-index: 5;
}
.footer__container::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translate(-50%, 30%);
  width: 1288px;
  height: 1022px;
  background: url("../images/BG__footer.svg") 0 0 no-repeat;
  z-index: -5;
  background-size: cover;
}

/* -------------MEDIA------------- */

@media (max-width: 768px) {
  :root {
    --name-font-size: 30px;
    --title-font-size: 32px;
  }
  
  .mobile__menu {
    display: flex;
  }

  .header__container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
  }
  .header__logo {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
  }
  .menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 315px;
    height: 100%;
    z-index: 50;
    background-color: var(--main-color);
    transform: translate(-100%, -100%);
    transition: transform 1s;
  }
  .menu ul {
    flex-direction: column;
    gap: 50px;
    padding-top: 180px;
    padding-left: 30px;
  }
  .menu--open {
    transform: translateX(0);
    transition: transform 1s;
  }
  .block {
    margin: 0;
    flex-direction: column;
    text-align: center;
  }
  .block__btn {
    width: 250px;
  }

  .main__container {
    flex-direction: column;
  }
  .main__title {
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: center;
  }

  .information__container p {
    text-indent: 0;
  }
  
  .profile__container {
    padding-top: 30px;
  }

  .name {
    margin: 0 0;
  }

  .information__table {
    padding-bottom: 0;
  }
  .information__container table {
    font-size: 16px;
    line-height: 20px;
  }
  .table-fourColumn td {
    width: 45%;
  }
  .information__container td:nth-child(2) {
    text-align: right;
}
  .information__container tr {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .table-threeColumn tr {
    flex-wrap: nowrap;
  }
  .information__container td {
    max-width: 50%;
    padding: 20px 5px;
  }

  .footer__container {
    padding: 40px 0;
  }
  .footer__container p {
    letter-spacing: 0.01em;
  }
}

@media (max-width: 480px) {
  .main__container {
    padding-top: 0;
    padding-bottom: 0;
  }
  .main__container::after {
    display: none;
  }
  .main__container img {
    display: none;
  }
  .information__container::before {
    display: none;
  }
  .footer__container::before {
    display: none;
  }
}