@font-face {
  font-family: Comfortaa;
  src: url("../assets/fonts/Comfortaa/static/Comfortaa-Bold.801965b04368.ttf");
}

@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/Montserrat/Montserrat-Regular.ee6539921d71.ttf");
}

@font-face {
  font-family: Montserrat-bold;
  src: url("../assets/fonts/Montserrat/Montserrat-Bold.ade91f473255.ttf")
}

@font-face {
  font-family: Montserrat-SemiBold;
  src: url("../assets/fonts/Montserrat/Montserrat-SemiBold.c641dbee1d75.ttf")
}

body {
  background-color: #f6f6f6;
}

.burger-menu {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: white;
  display: none;
  animation-name:showMenu;
  animation-fill-mode:forwards;
  animation-duration:.5s;
  z-index:1000;
}

.burger-switch {
  display: flex;
  justify-content: center;
  padding-top: 1.5vh;
  border-bottom: 1px solid;
  padding-bottom: 1.5vh;
  border-color:grey;
}

.burger_item {
  position: relative;
}

.close-burger {
  font-size: 27px;
  position: absolute;
  left: 5vw;
  top: 1.5vh;
}

.own-content {
  margin-left: 120px;
  margin-right: 120px;
  margin-top: 1em;
}

/* Верхнее меню */
.logo {
  width: 100%;
}

.logo img {
  max-width: 250px;
  max-height: 73px;
}

.top-menu {
  width: 80%;
  margin-left: auto;
}

p {
  margin: 0px;
}

.top-menu li {
  list-style: none;
}

.top-menu li:last-child {
  margin-right: 0px;
}

.top-menu ul {
  display: flex;
  justify-content:space-around;
}

.consultation {
  color: #00aeff;
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 35px;
  text-align: left;
  padding-top: 5px;
  border-bottom: 1px dashed;
}

.consultation:hover {
  cursor: pointer;
}

/* Модальное окно (при нажатии на "Замовити консультацию") */

.consultation_modal {
  width: 562px;
  height: 450px;
  box-shadow: 0 0 9px rgba(99, 112, 140, 0.26);
  border-radius: 10px;
  background-color: #ffffff;
  position: absolute;
  left:50%;
  z-index:3;
  top:20vh;
  transform:translateX(-50%);
  display: none;
}
.modal-item{
  width:80%;
  height:100%;
  margin:0 auto;
  display:flex;
  flex-direction: column;
  justify-content:center;
}
.modal-text{
  margin-bottom:23px;
  color: #000000;
font-family: Comfortaa;
font-size: 18px;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
line-height: 25px;
text-align: center;
}
.modal-form{
  display:flex;
  flex-direction:column;
}
.modal-form input{
  margin-top:17px;
  height: 49px;
border-radius: 10px;
background-color: #f6f6f6;
border:none;
}
.modal-form input:focus{
  outline:none;
}
.modal-form input:placeholder{
font-family: Montserrat;
font-weight: 400;
font-style: normal;
letter-spacing: normal;
line-height: 25px;
left:10%;
}
.close-modal{
  position:absolute;
  top:4%;
  right:5%;
  font-size:25px;
  color:#e2dede;
}
.close-modal:hover{
  color:red;
  cursor: pointer;
}
.modal-button{
  width: 204px;
height: 43px;
box-shadow: 0 0 2px 1px rgba(47, 23, 7, 0.36);
border-radius: 21px;
background-color: #0099ff;
border:none;
margin:0 auto;
margin-top:64px;
color: #f6f6f6;
font-family: Montserrat;
font-size: 16px;
font-weight: 700;
font-style: normal;
letter-spacing: normal;
line-height: 34.13px;
text-align:center;
}


.number {
  color: #00aeff;
  height:100%;
  font-family: "Montserrat-SemiBold";
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 40px;
  text-align: left;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height:100%;
}

.number:hover {
  cursor: pointer;
}

.switch {
  width: 210px;
  height: 43px;
  box-shadow: 0 0 3px 1px rgba(112, 109, 108, 0.15);
  border-radius: 21px;
  background-color: #ffffff;
  position: relative;
  display: flex;
  text-align: center;
}

.switch:hover {
  cursor: pointer;
}

.slider {
  width: 108px;
  height: 43px;
  box-shadow: 0 0 2px 1px rgba(48, 47, 46, 0.10);
  border-radius: 21px;
  border: 2px solid rgba(255, 188, 0, 0.95);
  background-color: #ffbc00;
  position: absolute;
  right: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition-duration:.5s;
}

.cabinet {
  width: 204px;
  height: 42px;
  box-shadow: 0 0 2px 1px rgba(47, 23, 7, 0.10);
  border-radius: 21px;
  background-color: #0099ff;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.forHome {
  font-size: 13px;
  position: absolute;
  left: 5%;
  top: 30%;
  color: #303669;
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 34.13px;
  text-align: left;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
}

.forBiznes {
  color: white;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 34.13px;
  text-align: left;
  /* Text style for "газ для до" */
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.own-cabinet {
  margin: 0 auto;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: 34.13px;
  text-align: left;
  /* Text style for "Особистий" */
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  color: #f6f6f6;
}

/* мова */


.lang{
  position:relative;
  font-family:Montserrat;
  letter-spacing:1px;
  width:40px;
  color:#817fa1;
}
.first-lang,.second-lang{
  position:absolute;
}
.lang:hover{
  cursor: pointer;
}

.last-child:hover>.lang>.second-lang{
  display:block;
  position:absolute;
  top:30px;
}

.arrow{
  position:absolute;
  left:100%;
}
.second-lang{
  display:none;
}

.second-lang:hover{
  transition-duration:.5s;
  text-shadow: 3px 3px 6px rgba(150, 150, 150, 1);
  color:#58bafc;
}
.first-lang:hover{
  transition-duration:.5s;
  text-shadow: 3px 3px 6px rgba(150, 150, 150, 1);
  color:#58bafc;
}
/* Нижнее меню */
.bottom-menu {
  margin-top: 43px;
}

.acc-mobile {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.acc-mobile img {
  width: 35px;
  height: 35px;
  margin-top:20px;
}

.bottom-menu ul {
  padding:0px;
  display: flex;
  justify-content:space-between;
  margin: 0px;
}

.bottom-menu li {
  list-style: none;
  font-family: Montserrat-bold;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: 40px;
  text-align: left;
  text-transform: uppercase;
  margin-right:0px;
}
.bottom-menu li:hover{
  color:#ff3e81;
}

a{
  text-decoration:none!important;
  color:inherit;
}

.bottom-menu li:last-child {
  margin-right: 0px;
}
.bottom-menu a:hover{
  color:#ff3e81!important;
}

.bottom-menu a:target{
  color:pink!important;
}
.bottom-menu a:active{
  color:#ff3e81!important;
}
.activeLink{
  color:pink;
}

.bottom-menu li:hover {
  cursor: pointer;
}


/* АДаптив */



@media(max-width:1880px) {
  .bottom-menu li {
    margin-right: 100px;
  }
}

@media(max-width:1790px) {
  .bottom-menu li {
    margin-right: 80px;
  }
}
@media(max-width:1600px) {
  .own-content {
    margin-left: 30px;
    margin-right: 30px;
  }

  .lang{
    font-size:19px;
  }

  .bottom-menu ul {
    justify-content: space-between;
  }

  .bottom-menu li {
    margin: 0px;
  }

  .bottom-menu li:last-child {
    margin: 0px;
  }
}


@media(max-width:1366px) {

  .number {
    padding-top: 8px;
  }

  .bottom-menu {
    margin-top: 40px;
  }
}

@media(max-width:1280px) {

  .number{
    font-size:16px;
  }
  .consultation{
    font-size:12px;
  }
  .switch {
    width:160px;
    height: 40px;
  }

  .slider {
    width:50%;
    height: 100%;
  }

  .forBiznes p{
    font-size:11px;
  }
  .cabinet {
    width:160px;
    height: 40px;
  }

  .logo {
    top: 0px;
  }
  .logo img{
    width:220px;
  }

  .lang{
    font-size:15px;
  }
  .bottom-menu li{
    font-size:12px;
  }

  .forHome{
    width:50%;
  }
  .forHome p {
    font-size: 11px;
  }

  .own-cabinet {
    font-size:12px;
  }

  .bottom-menu {
    margin-top: 35px;
  }
}

@media(max-width:1280px) {
  .close {
    top: -10%;
  }

}

@media(max-width:1266px) {
  .own-cabinet {
    font-size: 14px;
  }

  .forHome p {
    font-size: 13px;
  }

  .forBiznes {
    font-size: 13px;
  }

  .consultation {
    font-size: 14px;
  }

  .number {
    font-size: 18px;
  }

  .bottom-menu {
    margin-top: 30px;
  }

  .cabinet {
    width: 190px;
  }

  .bottom-menu li {
    font-size: 13px;
  }
}
  @media(max-width:1240px) {
    .top-menu ul {
      justify-content: space-between;
    }

    .top-menu li {
      margin: 0px;
    }

    .consultation_modal{
      width:500px;
      height:390px;
    }
    .d-them {
      font-size:14px;
    }
}

@media(max-width:1166px) {
  .logo img {
    width:210px;
  }

  .bottom-menu li {
    font-size: 12px;
  }

  .consultation {
    font-size: 14px;
  }

  .number {
    font-size: 19px;
  }

  .logo {
    top: 0px;
  }
}

@media(max-width:1100px){
  .cabinet{
    width:160px;
  }
  .switch{
    width:140px;
  }
  .forBiznes p{
    font-size:10px;
  }
  .forHome p{
    font-size:10px;
  }
  .number{
    font-size:17px;
  }
  .consultation{
    font-size:12px;
  }
}
@media(max-width:1069px) {

  .bottom-menu ul {
    padding: 0px;
  }

  .b-menu {
    margin-top: 15px;
  }

  .switch {
    width: 140px;
  }

  .forHome p {
    font-size: 13px;
  }

  .forBiznes p {
    font-size: 13px;
  }


  .cabinet {
    width: 160px;
  }

  .top-menu-item ul {
    padding: 0px;
  }

  .forHome p {
    font-size: 10px;
  }

  .forBiznes p {
    font-size: 10px;
  }

  .number {
    font-size: 16px;
  }

  .close {
    top: -10%;
  }
}

@media(max-width:991px) {
  .switch {
    width: 230px;
    height: 45px;
  }

  .slider {
    width: 50%;
  }

  .forHome p {
    font-size: 15px;
  }

  .forBiznes p {
    font-size: 15px;
  }

  /* Адаптация верхнего меню в бургер  */
  .top-menu {
    display: none;
  }

  .bottom-menu ul {
    flex-direction: column;
  }

  .bottom-menu li {
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 50px;
    margin-top: 1em;
  }

  .apadt-menu {
    justify-content: flex-start;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fa-bars {
    font-size: 30px;
    color: #01aeff;
  }

  .logo {
    width: 170px;
    margin-left: 2em;
  }

  .adapt-cabinet {
    justify-content: flex-end;
  }

  .cabinet {
    width: 160px;
    height: 45px;
    margin-top: 10px;
  }

  .cabinet-bur{
    margin:0 auto;
    margin-top:50px;
  }

  .own-cabinet {
    font-size: 12px;
  }

  .consultation {
    text-align: center;
    border: none;
    font-size: 18px;
    padding: 0px;
  }

  .consultation_modal{
    width:450px;
    height:340px;
    padding-left:1em;
    padding-right:1em;
    z-index:1500;
  }
  .modal-item{
    width:100%;
  }
  .modal-form input{
    width:80%;
    margin:0 auto;
    margin-top:10px;
    height:45px;
  }
  .modal-form input:placeholder{
    font-size:10px;
  }
  .modal-text{
    font-size:13px;
    margin-top:10px;
  }
  .modal-button{
    width:150px;
    height:38px;
    margin-top:30px;
  }
}

@media(max-width:790px) {
  .own-content {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media(max-width:769px){
  .logo {
    width: 160px;
  }
  .logo img{
    width:160px;
  }
  .acc-mobile img{
    margin-top:10px;
  }
}
@media(max-width:690px) {
  .fa-user-circle {
    font-size: 30px;
  }

  .cabinet {
    margin-top: 3em;
  }
  .consultation_modal{
    width:400px;
    height:320px;
  }
  .modal-form input{
    height:38px;
  }
  .modal-form input:placeholder{
    font-size:13px;
  }
  .close-modal{
    top:2px;
  }
  .modal-button{
    width:120px;
    font-size:13px;
  }
}

@media(max-width:490px) {

  .cabinet {
    width: 50%;
  }

  .bottom-menu li {
    font-size: 14px;
  }

  .consultation {
    font-size: 16px;
  }

  .switch {
    width: 200px;
    height: 40px;
  }

  .own-cabinet {
    font-size: 12px;
  }

  .b-menu {
    margin-top: 25px;
  }

  .j-button {
    padding: 0px;
    padding-left: 15px;
  }

  .forBiznes p {
    font-size: 13px;
  }

  .forHome p {
    font-size: 13px;
  }
  .consultation_modal{
    width:90vw;;
    height:300px;
  }
  .modal-text{
    font-size:12px;
  }
  .close-modal{
    font-size:22px;
  }
  .modal-text{
    margin-top:15px;
    margin-bottom:15px;
  }
  .modal-form input{
    height:40px;
  }
  .bottom-menu li{
    font-size:14px;
  }
  .consultation{
    font-size:15px;
  }
  .cabinet{
    width:35%;
  }
  .own-cabinet{
      font-size:11px;
  }
}


@media(max-width:390px) {

  .own-content {
    margin-left: 10px;
    margin-right: 10px;
  }
  .own-cabinet{
      font-size:11px;
      text-align:center;
      line-height:20px;
  }
  .cabinet{
    width:50%;
  }
  .b-text {
    font-size: 12px;
  }
  .acc-mobile img {
    width:25px;
    height:25px;
    margin-top:10px;
  }

  .logo img {
    width: 120px;
  }
  .modal-form input{
    height:34px;
  }
  .switch{
    width:170px;
  }
  .forHome{
    font-size:12px;
  }
}


@keyframes showMenu {
  0%{
    transform:translateX(-100%);
  }
  100%{
    transform:translateX(0%);
  }
}

@keyframes closeMenu {
  0%{
    transform:translateX(0%);
  }
  100%{
    transform:translateX(-100%);
  }
}
