@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-color: rgb(28 43 9);
  --bg-menu-color: rgb(120 116 17);
  --button-bg: #5d7210;
  --button-bg-hover: #9cc22c;
  --text-color: rgba(247, 248, 255, 1);
  --main-color: rgb(152, 136, 29);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mt60 {margin-top: 60px !important;}

body {
  font-family: 'Fira Sans', 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 {
  position: absolute;
}

.bg-img-2 {
  right: 0;
  top: 400px;
}

.bg-img-1 {
  left: -50px;
  top: 1060px;
}

.bg-img-3 {
  right: 0;
  top: 1700px;
}

.toggle-body {
  overflow-y: hidden;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 15px;
}

h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--main-color);
  text-align: center;
  margin: 20px;
}

h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--main-color);
  text-align: center;
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 23.68px;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-bottom: 2px solid var(--main-color);
}

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: 10px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.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;
}

.menu-left {
  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;
  margin: 20px 0px;

}

.menu-list-item {
  display: flex;
  gap: 10px;
  padding: 26px;
  cursor: pointer;
}

.menu-list {
  display: flex;
  flex-direction: column;
  width: 250px;
  background-color: var(--bg-menu-color);
  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;
  height: 719px;
}

.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;
}

.menu-toggle {
  display: flex !important;
  position: absolute;
  align-items: start;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 100;
  background-color: var(--bg-color);
  padding: 31px 15px;
  width: 100%;
  height: 120vh;
}

.menu-toggle .menu-list {
  display: flex;
  border: none;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  left: 0 !important;
  padding: 0px 20px;
  background: transparent;
}

.menu-toggle .menu-list a {
  display: block;
  width: 100%;
  padding: 16px 10px;
  text-align: center;
}

.menu-toggle .menu-list svg {display: none;}

.menu-toggle .menu-list .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-left-toggle .logo {display: none;}
.menu-left-toggle {justify-content: end !important;}
.menu-left-toggle .burger-menu span {background-color: var(--text-color);}

.menu a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  color: var(--main-color);
}

.menu-right {
  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 20px 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: 16px;
  margin-top: 8px;
  width: 100%;
}

.content-section p span {
  color: var(--main-color);
  text-decoration: underline;
}

.content-section ul,
.content-section ol {
  margin-left: 30px;
}

.content-section ul li,
.content-section ol li {
  margin-top: 8px;
}

img {
  display: block;
  margin: 15px auto;
  max-width: 100%;
}

.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;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-content span {
  color: var(--main-color);
  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-list:hover .menu-list-item a {display: block;}
  .menu-list:hover .menu-list-item {justify-content: center;}
  .menu-list:hover {
    left: -1px;
  }
}

@media (max-width: 1420px) {
  .menu-list-item a {display: none;}
  .menu-list-item {justify-content: right;}
  .menu-list {
    left: -190px;
  }
}

@media (max-width: 680px) {
  header {
    border-bottom: 1px solid var(--main-color);
  }

  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;
  }

  .menu-left {
    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;}

  .menu-right {
    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%;}

  .menu-right button {
    width: 100%;
  }

  .bg-img-1,
  .bg-img-2,
  .bg-img-3 {
    display: none;
  }

  .table-row {
    flex-direction: column;
    gap: 15px;
  }

  .table-row .mobile {
    font-size: 16px;
    font-weight: 600;
  }
  
  .menu-list {height: auto;}
}