@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
  --bg-color: rgb(21 21 93);
  --bg-menu-color: #4A4E69;
  --button-bg: #4742b7;
  --button-bg-hover: #352cfb;
  --text-color: rgba(247, 248, 255, 1);
  --main-color: rgb(186 50 40);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mt40 {margin-top: 40px !important;}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

header, main, footer {
  position: relative;
  z-index: 10;
}

.bg-img-1,
.bg-img-2,
.bg-img-3,
.bg-img-mob-1,
.bg-img-mob-2 {
  position: absolute;
}

.bg-img-2,
.bg-img-mob-1 {
  right: 0;
  top: 300px;
  opacity: 0.6;
}

.bg-img-1,
.bg-img-mob-2 {
  left: -80px;
  top: 1820px;
  opacity: 0.8;
}

.bg-img-3 {
  right: 0;
  top: 2200px;
}

.toggle-body {
  overflow-y: hidden;
}

h1 {
  font-size: 45px;
  font-weight: 700;
  color: var(--main-color);
  text-align: center;
  margin: 15px;
}

h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--main-color);
  text-align: center;
  margin: 10px;
}

h3 {
  font-size: 232x;
  font-weight: 700;
  color: var(--main-color);
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 23.68px;
}

.center-content img {
 display: block;
  margin: 15px auto;
  max-width: 100%;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0px 15px;
  max-width: 996px;
  height: 72px;
}

button {
  outline: none;
  padding: 10px 30px;
  cursor: pointer;
  border-radius: 20px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
}

.burger-menu {
  display: none;
  width: 27px;
  height: 18px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
  cursor: pointer;
  margin-right: 10px;
}

.burger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--main-color);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger-menu span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
}

.burger-menu span:nth-child(2) {
  top: 8px;
  transform-origin: left center;
}

.burger-menu span:nth-child(3) {
  top: 16px;
  transform-origin: left center;
}

.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

.burger-menu.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 17px;
  left: 8px;
}

.left-nav {
  display: flex;
  align-items: center;
  justify-content: start;
}

.logo span {
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 48px;
  color: var(--text-color);
  transition: all 0.4s;
}

.middle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.middle-btn button {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 30px;
  margin: 20px 0px;

}

.menu-item {
  display: flex;
  gap: 10px;
  padding: 26px;
  cursor: pointer;
}

.menu-content {
  display: flex;
  flex-direction: column;
  width: 250px;
  background-color: #78273e;
  padding: 42px 0px 42px 16px;
  position: absolute;
  left: -1px;
  top: 96px;
  z-index: 100;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border: 1px solid var(--main-color);
  transition: all 0.4s;
}

.active {
  background-image: url(images/active.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.active a {
  color: white !important;
}

.active svg path {
  fill: white;
}

.mob-menu-img {display: none;}

.menu-toggle {
  display: flex !important;
  position: absolute;
  align-items: start;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 100;
  background-color: #3342a4;
  padding: 31px 15px;
  width: 100%;
  height: 120vh;
}

.menu-toggle .menu-content {
  display: flex;
  border: none;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  left: 0 !important;
  padding: 0px 20px;
}

.menu-toggle .menu-content a {
  display: block;
  width: 100%;
  padding: 16px 10px;
  text-align: center;
}

.menu-toggle .menu-content svg {display: none;}

.menu-toggle .menu-content .active {
  background-image: none;
}

.menu-toggle .logo {display: none;}

.menu-toggle .active {
  background-color: white;
  border-radius: 50px;
  padding: 0px;
}

.menu-toggle .active a {color: var(--main-color) !important;}

.menu-toggle .mob-menu-img {
  display: block;
  position: absolute;
  z-index: 115;
  right: 0;
  bottom: 0;
}

.left-nav-toggle .logo {display: none;}
.left-nav-toggle {justify-content: end !important;}

.menu a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  color: var(--main-color);
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right:3%;
}

.login {
  background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box, var(--main-color) border-box;
  border: 1px solid transparent;
}

.login:hover {
  background: var(--main-color);
}

.registration {
  border: none;
  background: var(--button-bg);
}

.registration:hover {
  background: var(--button-bg-hover);
}

main {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 48px;
}

.content-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner {
  max-width: 996px;
  margin: 25px 20px 12px 20px;
  position: relative;
  left: 6%;
}

.banner img {
  width: 94%;
  height: auto;
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0px 20px;
  max-width: 996px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  left: 6%;
  padding-right: 6%;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 8px;
  width: 100%;
}

.content-section p span {
  color: var(--main-color);
  text-decoration: underline;
}

.content-section ul,
.content-section ol {
  margin-left: 18px;
}

.content-section ul li,
.content-section ol li {
  margin-top: 8px;
}

.middle-banner {
  max-width: 500px;
  margin: 8px 0px;
}

.middle-banner img {
  width: 100%;
  height: auto;
}


.table {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 20px;
}

.table .table-row:nth-child(odd){
  background-color: var(--main-color);
}

.table .table-row:nth-child(even){
  padding: 35px 20px;
}

.table-row p {
  font-size: 18px;
  font-weight: 400;
  color: white;
}

.table-row div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 63px;
  background-color: rgb(24 43 173);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content span {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.63px;
}

.mobile {display: none;}
.desktop {display: flex;}

@media (min-width: 680px) and (max-width: 1420px) {
  .menu-content:hover .menu-item a {display: block;}
  .menu-content:hover .menu-item {justify-content: center;}
  .menu-content:hover {
    left: -1px;
  }
}

@media (max-width: 1420px) {
  .menu-item a {display: none;}
  .menu-item {justify-content: right;}
  .menu-content {
    left: -190px;
  }
}

@media (max-width: 680px) {
  nav {
    height: 56px;
  }

  .menu {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .banner {
    margin-top: 31px;
  }

  button {
    padding: 10px 16px;
    font-size: 12px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .table-row p {
    font-size: 14px;
  }

  p {
    font-size: 14px;
  }

  header {
    z-index: 105;
  }

  .left-nav {
    width: 100%;
    justify-content: space-between;
    position: relative;
    z-index: 101;
  }

  div.logo {order: 1;}
  div.burger-menu {order: 2;}

  .mobile {display: block;}
  .desktop {display: none;}

  .right-nav {
    width: calc(100% - 30px);
    margin-right: 0;
  }

  main {
    top: 20px;
  }

  .registration {margin-top: 13px;}

  .content {
    left: 0;
    padding-right: 0px;
  }

  .banner {
    left: 0;
  }

  .banner img {width: 100%;}

  .right-nav button {
    width: 100%;
  }

  .bg-img-1,
  .bg-img-2 {
    display: none;
  }

  .table-row {
    flex-direction: column;
    gap: 15px;
  }

  .table-row .mobile {
    font-size: 16px;
    font-weight: 600;
  }
}