@import url('blocks/fonts.css');

:root {
  --grey-color: #E0E0E0;
  --green-color: #48733b;
  --text-color: #384850;
  --red-color: rgb(185, 74, 74);
}

h1, h2, h3, h4, h5, h6, p, body {
  padding: 0;
  margin: 0;
}

*, *:after, *:before {
  box-sizing: border-box
}

*::selection {
  color: white;
  background-color: var(--green-color);
}

.footer *::selection,
.header *::selection,
.hero *::selection {
  color: white;
  background-color: var(--red-color);
}

img {
  display: block;
}

.btn-reset {
  border: none;
  outline: none;
  background: none;
}


a {
  display: block;
  color: inherit;
  text-decoration: none;
}

a, input {
  outline: none
}


ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

body {
 font-family: 'Regular';
 font-size: 16px;
 color: #384850;
}

.container {
  max-width: 80%;
  margin: 0 auto;
}

.button {
  width: 250px;
  padding: 15px 15px;
  font-family: 'Regular';
  font-size: 16px;
  color: white;
  border-radius: 30px;
  text-align: center;
  transition: all ease .2s;
}


.section__title {
  display: inline-block;
  margin-bottom: 50px;
  margin-top: 37px;
  font-family: 'Bold';
  font-size: 80px;
  line-height: 1;
  color: var(--grey-color);


}

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  filter: sepia(60%);
  z-index: 19;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}

.open {
  opacity: 1;
  visibility: visible ;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  visibility: hidden;
}


/* header */

.bg {
  position: relative;
}

.header__bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.header__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.header {
  margin-bottom: 250px
}

.header__logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo__image {
  margin-right: 10px;
}

.logo__text {
  margin-right: 10px;
  font-family: 'Bold';
  color: white;
  font-size: 20px;
  transform: translateY(-2.5px);
}

.logo__text--short {
  display: none;
}

.header__top {
  display: flex;
  flex-direction: row;
  min-height: 120px;
}

.header__nav {
  display: flex;
  align-items: center;
  margin-right: auto;
  font-style: 'Regular';
  font-size: 14px;
  color: white;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav-item:not(:last-of-type) {
  margin-right: 50px;
}

.header__nav-link {
  font-style: 'Regular';
  font-size: 14px;
  font-weight: 600;
  color: white;
}


.header__social {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.header__burger {
  display: none;
  transform-origin: center;
  transform: translateY(1px) rotateY(180deg);
  justify-self: flex-start;
}

.header__burger rect {
  transition: width .3s ease;
}

.header__burger:active rect:nth-child(2) {
  width: 25px;
}

.header__burger:active rect:nth-child(3) {
  width: 18px;
}

.burger__nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  bottom: 0;
  width: 65%;
  background-color: #ECECEC;
  box-shadow: -3px 0 10px 0px rgb(0 0 0 / 80%);
  transform: translateX(-102%);
  transition: transform .3s ease;
  overflow-x: hidden;
}

.burger__nav.is-active {
  transform: none;
}

.burger__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
}

.burger__nav-item {
  margin-bottom: 50px;
}

.burger__nav-link {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: black;
}

.burger__icon {
}

/*Текст заголовка на фотке
*/

.hero {
  padding-bottom: 560px;
  margin-bottom: 30px;
}

.hero__description {
  width: 40%;
  font-family: 'Regular';
  font-size: 16px;
  color: white;
  margin-bottom: 15px;
  line-height: 22px;
}

.hero__title {
  padding: 0;
  font-family: 'Bold';
  font-size: 80px;
  color: white;
  background: none;
}

.hero__btns {
  display: flex;
  flex-direction: row;
}

.hero__button {
  border: 1px solid white;
}

.hero__button:first-child {
  margin-right: 30px;
}

.button:hover {
  background-color: white;
  color: #384850;
}


/*О проекте*/

.about {
  position: relative;
  min-height: 870px;
  max-height: 100vh;
}

.about__title {
}

.about__image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0px;
  right: 0;
  z-index: -1;
}

.about__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.about__text {
  width: 60%;
  font-size: 16px;
  margin-bottom: 10px;
}

.about-project p:last-child {
  margin-bottom: 0px;
}

/*Цифры*/

.numbers__list {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.numbers__group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
}

.numbers__group:first-child {
  margin-bottom: 50px;
}

.numbers__item:not(:last-child) {
  margin-bottom: 50px;
}

.numbers__row:first-child {
  margin-bottom: 50px;
}

.numbers__item {
  flex-basis: 20%;
  margin-right: 5%;
  position: relative;
}

.numbers__item:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: #8D97C4;
  z-index: -1;
  opacity: .2;
}

.numbers__item:last-child {
  margin-right: 0;
}

.numbers__head {
  font-family: 'Bold';
  font-size: 50px;
  margin-bottom: 20px;
}

.numbers__text {
  width: 85%;
}

/*Карта местности*/

.map__title {
  margin-bottom: 50px;
}

.map__image {
  width: 100%;
}

.map__img {
  width: 100%;
}

.i4ewOd-pzNkMb-haAclf {
  visibility: hidden;
  opacity: 0;
}

/*Жить в разнообразии*/

.live__title {
  margin-top: 70px;
  margin-bottom: 50px;
}

.live__grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  grid-gap: 30px;
  margin-bottom: 25px;
}

.live__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.live__image {
  margin-bottom: 30px;
}

.live__text {
  margin-bottom: 30px;
}

.live__img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}



/* section Material */

.questions {
  margin-bottom: 70px;
}

.questions__heading {
  margin-bottom: 39px;
}

.accordion {
  font-family: 'Montserrat';
}

.accordion-item {
  position: relative;
}

.accordion-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px 15px;
}

.ui-state-focus .accordion-title {
  border: none;
  /* outline: 3px solid var(--green-color); */
}

.ui-state-focus {
  outline: none;
}

.ui-accordion-header-active .accordion-title {
  color: var(--green-color);
}

.ui-accordion .ui-accordion-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 20px 0;
  background: none;
  border-right: none;
  border-left: none;
  border-radius: 0;
}

.ui-accordion .ui-accordion-header:hover .accordion-title {
  color: var(--green-color);
}

.ui-accordion .ui-accordion-header:active .accordion-title {
  color: black;
}

.accordion-title {
  position: relative;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-family: 'Regular';
  font-weight: 700;
  color: #384850;
  outline: 3px solid rgba(0, 0, 0, 0);
  transition: color, outline, .3s ease;
}

.accordion-title--small {
  display: block;
  width: 75%;
  font-size: 14px;
  line-height: 1.5em;
  font-style: italic;
}

.questions__question-btn {
  background: none;
  border: none;
  cursor: pointer;
}


.questions__question-btn:focus {
  outline: none;
}

.questions__question-btn:focus + .accordion-title:focus {
  color: var(--green-color);
}


.ui-accordion .ui-accordion-header ellipse,
.ui-accordion .ui-accordion-header path {
  transition: fill .3s ease;
}


.ui-accordion .ui-accordion-header:hover ellipse {
  fill: var(--green-color);
}

.ui-accordion .ui-accordion-header-active:visited ellipse {
  fill: #ECECEC ;
}

.ui-accordion .ui-accordion-header:active ellipse {
  fill: #ECECEC
}

.ui-accordion .ui-accordion-header:hover path{
  fill: white
}


.ui-accordion-header-icon {
  display: none;
}

.ui-accordion .accordion-item .ui-accordion-header {
  border-bottom: none;
  border-top: none;
}

.accordion-item {
  border-top: 2px solid var(--grey-color);
  transition: border-top, border-bottom, .3s ease;
}

.accordion-item:last-child {
  border-bottom: 2px solid var(--grey-color);
}

.accordion-item:hover {
  border-top: 2px solid var(--green-color);
}

.accordion-item:hover + .accordion-item {
  border-top: 2px solid var(--green-color);
}

.accordion-item:last-child:hover {
  border-bottom: 2px solid var(--green-color);
}

.ui-accordion .ui-accordion-content {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 40px;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
  color: black;
  border-right: none;
  border-left: none;
  border-top: none;
}

.ui-accordion .ui-accordion-header-active {
  padding: 20px 0 20px 0;
}

.ui-accordion .ui-accordion-header-active {
  border-bottom: none;
  border-top: 1px solid var(--grey-color);
}


.ui-accordion .ui-accordion-header path {
  transform-origin: center;
  transition: transform .3s ease;
}

.ui-accordion .ui-accordion-header-active path {
  transform-origin: center;
  transform: rotate(45deg);
}

.accordion-text {
  position: relative;
  display: flex;
  margin: 0;
  padding: 10px;
  font-family: 'Regular';
  color: white;
  background-color: var(--green-color);
  border-radius: 10px;
  transition: transform .3s ease;
}

.accordion-text:hover {
  background-color: var(--red-color);
}

.accordion-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* min-height: 200px; */
}

.accordion-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.accordion-link_description {
  color: rgb(185, 185, 185);
  font-style: italic;
  line-height: 1.5em;
}

.accordion-link_title {
  font-weight: 400;
  margin-bottom: auto;
  color: white;
  line-height: 1.5em;
}

/* .accordion-text:not(:last-child) {
  margin-bottom: 1rem;
} */

.ui-accordion .accordion-item .ui-accordion-content {
  border-bottom: none;
}

/* pocasts */

.podcasts {
  margin-bottom: 70px;
}

.podcasts__link {
  margin-top: 15px;
}



/* Petition */

.petition {
  background: var(--red-color);
}

.petition__container {
  padding-top: 100px;
  padding-bottom: 100px;
}

.petition__button {
  width: 70%;
  margin: 0 auto;
  font-family: 'Bold';
  font-size: 50px;
  letter-spacing: 5px;
  color: white;
  border: 3px solid white;
}


/* FOOTER */

.footer {
  background-color: #48733B;
}

.footer__container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  min-height: 100px;
}

.footer__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* .footer__logo {
  margin-right: auto;
} */


.footer__nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer__nav-item:not(:last-child) {
  margin-right: 30px;
}

.footer__nav-link {
  font-style: 'Regular';
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.footer__social-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer__social-img {
  height: 20px;
}

.footer__social-img--yt {
  height: 35px;
  margin-right: 15px;
}

.footer__social-img--tg {
  height: 25px;
  margin-right: 15px;
}

.footer__social-img--vk {
  margin-right: 25px;
}

.footer__author {
  margin-top: 50px;
}

.footer__end {
  text-align: center;
  margin-bottom: 5px;
  font-size: 12px;
  color: white;
}
