#header{
    padding: 8px 0 0 0;
    width: 100%;
}
.header-container{
    /* display: grid;
    grid-template-columns: 80px 5fr 4fr; */
    gap: 20px;
    display: flex;
    justify-content: space-between;
}
.header-menu-list, .header-submenu{
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}
.header-submenu{
  gap: 16px;
}
.header-menu-list__item a{
    color: var(--text-color);
    font-size: 20px;
    display: inline-flex;
    width: 100%;
    font-weight: 600;
}
.menu_dropdown__item a{
  font-weight: 400;
}

.header-menu-list__item{
    display: flex;
    gap: 5px;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}
.header-menu_dropdown {
    display: none;
    position: absolute;
    top: 24px;
    border-radius: 3px;
    border: 1px solid var(--line-color);
    background: var(--white);
    min-width: 230px;
    z-index: 1;
    padding: 12px 0;
    transition: 0.3s;
}
.menu_dropdown__item{
    padding: 0 12px;
    transition: 0.3s;
}
.menu_dropdown__item>a{
    color: var(--text-color);
    transition: 0.1s;
}
.menu_dropdown__item:hover{
    background-color: var(--main-yellow);
}
.menu_dropdown__item:hover a{
    color: var(--white);
}
.header-menu-list__item.header-menu_arrow::after{
  content: "";
  background-image: url("../img/ico/chevron-dwn.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 8px;
  transition: 0.3s;
}
.header-menu-list__item:hover>a{
    color: var(--main-yellow);
}
.header-menu-list__item:hover .header-menu_dropdown{
    display: grid;
    gap: 12px;
}
.header-menu-list__item.header-menu_arrow:hover::after{
    rotate: -180deg;
    background-image: url("../img/ico/chevron-dwn__yellow.svg");
}

#footer{
    background-color: var(--main-blue);
    margin-top: 100px;
    color: var(--white);
    padding: 56px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-top{
  display: grid;
  grid-template-columns: repeat(6, 1fr) 40px;
  gap: 20px;
}
.footer-list__item{
    margin-bottom: 12px;
}
.footer-list__item>a{
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
}
.footer-list__item:first-of-type>a{
    font-size: 20px;
}
.footer-divider{
    width: 100%;
    border-top: 1px solid var(--white);
    margin: 80px 0;
}
.footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-sociallist{
    display: flex;
    gap: 24px;
}

.footer-list__item:hover>a{
    color: var(--main-yellow);
}
.footer-sociallist__item svg>path{
    transition: 0.3s;
}
.footer-sociallist__item:hover svg>path{
    fill: var(--main-yellow);
}
.footer-bottom__rights{
  display: flex;
  align-items: center;
  gap: 8px;
}



/*******************LANG CHANGER****************************/
.site-language__link,
.language-change .site-language__link{
  color: var(--text-color);
  font-size: 20px;
}

.site-language__link:hover{
  color: var(--main-yellow);
}
.site-language{
  display: flex;
  position: relative;
  gap: 4px;
}
.language-change{
  display: none;
  position: absolute;
  left: -12px;
  top: 24px;
  border-radius: 3px;
  border: 1px solid var(--line-color);
  background: var(--white);
  z-index: 1;
  padding: 12px;
  transition: 0.3s;
}
.site-language::after{
  content: "";
  background-image: url("../img/ico/chevron-dwn.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 8px;
  transition: 0.3s;
}
footer .site-language__link{
  color: var(--white);
}
footer .site-language__link:hover{
  color: var(--main-yellow);
}
footer .site-language::after{
  background-image: url("../img/ico/chevron-dwn__white.svg");
}
.site-language:hover .language-change{
  display: block;
}
.site-language:hover::after{
  rotate: -180deg;
  background-image: url("../img/ico/chevron-dwn__yellow.svg");
}

/****************************MOBILE MENU****************************/
.mobile-nav{
    display: none;
    left: -100vw;
}
/* body.open, body:after {
  overflow: hidden
} */
body.open{
  position: relative;
}
.b-nav, body:after {
  position: absolute;
  right: 0;
}
body.open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9;
  height: 200vh;
  background-color: rgba(0,0,0,0.4);
}
.header-menu_dropdown.active{
  display: block;
}
.b-nav {
  background: var(--white) none repeat scroll 0 0;
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  z-index: 12;
  height: 100vh;
  box-sizing: border-box;
  transition: .7s;
  display: grid;
}
.b-nav ul {
  padding: 0 40px;
}
.b-nav li:first-child {
  margin-top: 0px
}
.b-nav.open {
  right: 0;
}
.b-menu {
  cursor: pointer;
  display: block;
  height: 66px;
  padding-top: 16px;
  position: relative;
  transition: all 0.4s;
  width: 43px;
  z-index: 12;
  right: 10px;
  -webkit-transition: all .4s ease;
}
.b-bun--bottom, .b-bun--mid, .b-bun--top {
  height: 2px;
  width: 25px
}
.b-bun {
  background: var(--text-color);
  transition: all .4s ease
}
.b-brand, .b-bun {
  position: relative;
  -webkit-transition: all .4s ease
}
.b-bun--top {
  top: 0
}
.b-bun--mid {
  top: 8px
}
.b-bun--bottom {
  top: 16px
}
.b-container {
  position: absolute;
  right: 0px;
  top: 20px;
}
.b-container:hover:not(.open) .bun-bottom, .b-container:hover:not(.open) .bun-mid, .b-container:hover:not(.open) .bun-top {
  background: #2196f3
}
.b-container.open .b-bun--top {
  background: var(--text-color);
  top: 9px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg)
}
.b-container.open .b-bun--mid {
  opacity: 0
}
.b-container.open .b-bun--bottom {
  background: var(--text-color);
  top: 5px;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg)
}
.b-container.open .b-brand {
  color: #fff
}

.mobile-list-nav{
  display: grid;
  gap: 8px;
  overflow-y: scroll;
  width: 100%;
  height: 40vh;
}
.mobile-list-nav__link>a{
    color: var(--text-color);
}
.mobile-nav_contact {
  display: grid;
  justify-content: center;
  background-color: var(--main-blue);
  text-align: center;
  gap: 8px;
  margin-top: auto;
  padding: 20px;
  justify-items: center;
  height: 100%;
}
.mobile-nav_contact .main-button{
  max-height: 42px
}
.mobile-list-nav__link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.mob_dropdown{
  display: none;
  transition: height 0.6s;
  padding-left: 20px;
  gap: 10px;
  margin-top: 20px;
  height: 10;
}
.mob_dropdown.active{
  display: grid;
}
.mob_dropdown__item{
  color: var(--text-color);
}
.mobile-nav_header{
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav_header h2{
  text-transform: uppercase;
}

.mobile-nav_contact a{
  color: var(--white);
}
.mobile-list-nav__btn{
  background: transparent;
  border: none;
  background-image: url('../img/ico/chevron-dwn.svg');
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 16px;
  transition: 0.3s;
}
.mobile-list-nav__btn.active{
  rotate: -180deg;
  background-image: url("../img/ico/chevron-dwn__yellow.svg");
}


@media screen and (max-width: 1600px) {

  .header-menu-list__item a,
  .site-language__link,
  .language-change .site-language__link{
    font-size: 18px;
  }
  #footer{
    padding: 56px 0;
}

}
@media screen and (max-width: 1420px) {
    .footer-top{
        display: flex;
        gap: 30px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .header-menu-list__item a,
    .site-language__link,
    .language-change .site-language__link{
      font-size: 16px;
    }
}
@media screen and (max-width: 1240px) {
  .header-menu-list, .header-submenu {
      gap: 15px;
  }
}
@media screen and (max-width: 1200px) {
    #footer{
        margin-top: 60px;
        padding: 32px 0;
    }
    .header-container{
        display: grid;
        grid-template-columns: 80px 1fr 30px;
        gap: 30px;
    }
    .header-menu-list, .header-submenu{
        display: none;
    }
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .footer-divider{
        margin: 60px 0;
    }
    .mobile-nav{
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .footer-list__item>a{
        font-size: 12px;
    }
    .footer-list__item:first-of-type>a{
        font-size: 16px;
    }
    .footer-list__item {
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 768px){
  .footer-divider{
      margin: 30px 0;
  }
  .footer-bottom__rights{
      font-size: 12px;
  }
  .footer-list__item img{
    max-height: 100px;
  }
  .site-language__link,
  .language-change .site-language__link{
    font-size: 14px;
  }
  footer .language-change {
    left: -6px;
    top: 0;
    transform: translateY(-100%);
  }
}


@media screen and (max-width: 576px){
  .footer-bottom__rights{
      font-size: 10px;
  }
  .footer-list__item>a{
      font-size: 14px;
  }
  .footer-list__item:first-of-type>a{
      font-size: 12px;
  }
  .footer-list__item {
      margin-bottom: 0px;
  }
  #footer {
      padding: 24px 0 10px 0;
  }
  .header-container {
    display: grid;
    grid-template-columns: 80px 1fr 35px;
    gap: 10px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 23px;
}
}
.psyholog-footer svg{
    fill: #fff;
    height: 30px;

}

.psyholog-footer:hover svg{
    fill: var(--main-yellow);
}
