:root {
  /* main */
  --bg-color: #006A4E;
  --bg-color-dark: #F3F3F3;
  --text-color: #FFFFFF;
  --main-border-radius: 5px;

  /* header / footer */
  --header-background: linear-gradient(180deg, #004445 0%, #002021 100%);
  --footer-background: linear-gradient(-180deg, #004445 0%, #002021 100%);
  --header-text: #FFFFFF;
  --footer-text: #FFFFFF;

  --title-color: #041B5F;
  --title-color-hover: #ed0908;

  /* button */
  --button-border: 1px solid #C7C67B;
  --button-border-radius: 10px;
  --main-button-background: #C7C67B;
  --main-button-text: #000000;
  --main-button-text-hover: #C7C67B;
  --main-button-background-hover: transparent;

  /* block */
  --block-border-color: #C7C67B;

}

img.br50 {
  border-radius: 50%;
}

@font-face {
  font-family: FontAwesome;
  src: url('fonts/font-awesome-4.7.0/css/font-awesome.css');
}

@font-face {
  font-family: MainFont;
  src: url('fonts/Montserrat-Regular.ttf');
}

* {
  scroll-behavior: smooth;
  transition: all .5s;
  box-sizing: border-box;
}

html,
body {
  font-family: "MainFont", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

main {
  min-height: 100vh;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: #FFE345;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--text-color);
}

nav ul {
  list-style: none;
  padding: 0;
}

h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 26px;
}

p {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
  margin-left: 0px !important;
  margin-bottom: 10px !important;
}

ol,
ul:not(.headerMenu) {
  padding: 0;
  margin: 0;
  margin-bottom: 10px;
  list-style: none;
  font-size: 16px;
}

ul:not(.headerMenu) li {
  margin-left: 20px;
  list-style-type: disc;
  line-height: 25px;
}

ol li {
  margin-left: 40px;
  list-style-type: number;
}

img {
  width: 100%;
}

.halfSizeBlock {
  width: 50%;
}

.mainImage {
  width: 100%;
  margin: 20px 0;
  height: 400px;
  object-fit: cover;
  border-radius: var(--main-border-radius);
}

.mainBlock,
.headerBlock,
.aboutBlock,
.footerBlock {
  max-width: 1140px;
  margin: 0 auto;
}

.mainBtn {
  cursor: pointer;
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  line-height: 38px;
  font-weight: 500;
  color: var(--main-button-text);
  text-decoration: none;
  background-color: var(--main-button-background);
  border: var(--button-border);
  border-radius: var(--button-border-radius);
  animation-name: puls;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.mainBtn:hover {
  background: var(--main-button-background-hover);
  color: var(--main-button-text-hover);
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.topBtn {
  border-radius: 50%;
  position: fixed;
  width: 40px;
  height: 40px;
  bottom: 10px;
  right: 10px;
  background-color: #FFE345;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}


/* header */
header .mainBtn {
  width: 110px;
}

.headerLogo {
  display: flex;
}

.headerLogo:last-child {
  display: flex;
  justify-content: center;
}

.headerLogo a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.headerBlock nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.headerBlock .mainBtn {
  min-width: 95px;
}

header {
  width: 100%;
  z-index: 24;
  min-height: 70px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--header-background);
}

.headerBlock {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 10px;
}

.headerBlock ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 50px;
}

.headerBlock ul li a {
  font-size: 16px;
  color: var(--header-text);
  display: flex;
  align-items: center;
  padding: 5px 15px;
  text-align: center;
}

.headerBlock ul li a:hover {
  color: #F58446;
}

.activeLink {
  color: #FFE345 !important;
}

.header-toggler {
  display: none;
  color: #000000;
  background-color: #FFFFFF;
  z-index: 11;
}

.header-toggler::after {
  content: "\f0c9";
  font-family: "FontAwesome", sans-serif;
}

.header-toggler--open::after {
  content: "\f00d";
  font-family: "FontAwesome", sans-serif;
}

.headerBlock img {
  width: 145px;
}

.headerLogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 10;
}

.headerLogo div {
  display: flex;
  gap: 10px;
}


/* mainSection */
.mainSection {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  margin-top: 75px;
  text-align: center;
}

.mainBlock {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.overlay {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgb(0 0 0 / 0);
}

.mainBlock:hover .overlay {
  background: rgb(0 0 0 / .5);
}


/* aboutSection */
.aboutSection {
  padding: 10px;
}

.aboutBlock {
  background-color: #071903;
  border: 2px solid var(--block-border-color);
  padding: 10px;
}

.aboutBlock-flex {
  display: flex;
  align-items: center;
}

.aboutBlock-flex-30 {
  width: 30%;
}

.aboutBlock-flex-70 {
  width: 70%;
  padding: 10px;
}

.aboutBlock-flex-30-img:hover {
  background: rgb(0 0 0 / .5);
}

.aboutBlock-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.aboutBlock-buttons .mainBtn {
  width: 30%;
}

.aboutBlock-button .mainBtn {
  width: 25%;
}

.aboutBlock-buttonBlock .mainBtn {
  width: 40%;
}

.aboutBlock-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.aboutBlock-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.aboutBlock-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.aboutBlock-greenBlock {
  background-color: #205d0d;
  padding: 10px;
}

.aboutBlock-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.aboutBlock-whiteBorderBlock {
  border: 2px solid #FFFFFF;
  padding: 10px;
}

.aboutBlock-whiteBorderBlock img {
  max-width: 218px;
}

.img-1024 {
  max-width: 1024px;
  margin: auto;
  display: block;
}


/* footer */
footer {
  padding: 10px;
  background: var(--footer-background);
}

.footerBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  max-width: none;
}

hr {
  border-color: var(--block-border-color);
  height: 1px;
  width: 100%;
}

.footerLogo img {
  width: 150px;
}


/* media */
@media (max-width: 1100px) {
  .header {
    padding: 0 10px;
  }

  .headerMenu {
    position: fixed;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    right: 0;
    top: 0;
    transform: translateX(200%);
    width: 100%;
    height: 100%;
    background: var(--header-background);
    transition: 0.3s ease-in-out;
    z-index: 1;
    padding: 100px 30px 30px 30px;
    align-items: baseline;
  }

  .headerBlock {
    z-index: 2;
    flex-direction: column;
  }

  .header-menu--open {
    opacity: 1;
    transform: translateX(0);
  }

  header nav ul {
    flex-direction: column;
  }

  .header-toggler {
    display: flex;
    padding-right: 15px;
    align-items: center;
    position: absolute;
    left: 10px;
    top: 45px;
    padding: 6px;
    border-radius: 3px;
    width: 25px;
    height: 25px;
  }

  .headerBlock__logo::before {
    display: none;
  }

  .headerBlock__logo {
    justify-content: space-between;
  }

  .headerBlock ul {
    padding: 150px 0 0;
  }

  .header-menu--open+span {
    position: fixed;
  }

  .headerLogo {
    justify-content: center;
  }

  .headerBlock img {
    width: 107px;
    padding: 20px 0 10px;
  }

  .mainSection {
    margin-top: 120px;
  }
}

@media (max-width: 867px) {
  .aboutBlock-grid-6 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767px) {
  .aboutBlock-grid-6 {
    grid-template-columns: repeat(4, 1fr);
  }

  .aboutBlock-grid-4,
  .aboutBlock-grid-3,
  .aboutBlock-grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .aboutBlock-flex,
  .aboutBlock-buttons {
    flex-direction: column;
  }

  .aboutBlock-flex-30,
  .aboutBlock-flex-70,
  .aboutBlock-buttons .mainBtn,
  .aboutBlock-button .mainBtn,
  .aboutBlock-buttonBlock .mainBtn {
    width: 100%;
  }

  .footerLogo img {
    width: 60%;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .aboutBlock-flex-30-img {
    width: 50%;
  }

  .aboutBlock-flex-70 {
    display: flex;
    flex-direction: column;
  }
  
  .aboutBlock-flex-70 > h1 {
    order: 1;
  }

  .aboutBlock-flex-70 > h2 {
    order: 3;
  }
  
  .aboutBlock-flex-70 > p {
    order: 4;
  }

  .aboutBlock-flex-70 > .aboutBlock-buttons {
    order: 2;
    margin-bottom: 20px;
  }

}