header {
  margin-top: 38px;
}

header .container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .container .header_menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
header .container .header_menu a {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: #000000;
  transition: .4s;
}
.header .container .header_menu a:hover{
  text-decoration: underline;
}
header .container .header_right_btn {
  padding: 10px 25px;
  background: #FFFFFF;
  border: 1px solid #3F85F3;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-transform: capitalize;
  color: #3F85F3;
}

.mobile_header, .mobile_menu {
  display: none;
}

.popup_background{
  pointer-events: all;
  background-color: rgba(0,0,0,.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: .4s;
}
.popup_background.active{
  opacity: 1;
  pointer-events: all;
}
.popup_elem{
  max-width: 886px;
  box-sizing: border-box;
  max-height: 100vh;
  height: max-content;
  overflow-y: scroll;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  z-index: 100;
  padding: 100px;
  background-image: url(../images/Ellipse-6.svg);
  background-position: center center;  
  border-radius: 20px 20px 20px 20px;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: .4s;
}
.popup_elem.active{
  opacity: 1;
  pointer-events: all;
}
.popup_elem form .form_title{
  font-family: "Montserrat", Sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 42px;
}

.popup_elem form .inner_form{
  margin-top: 40px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.popup_elem form .inner_form .small_field{
  box-sizing: border-box;
  width: calc(50% - 10px);
}
.popup_elem form .inner_form .small_field input{
  box-sizing: border-box;
    background-color: #ffffff;
    border-color: #FFFFFF;
    border-radius: 50px 50px 50px 50px;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;    
    height: 47px;
    padding: 6px 16px;
    width: 100%; 
    border: 0;
    outline: none;
}
.popup_elem form .inner_form .small_field input::placeholder{
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;   
}

.popup_elem form .inner_form .big_field{
  width: 100%;
}

.popup_elem form .inner_form .big_field textarea{
  width: 100%;
  background-color: #ffffff;
  border-color: #FFFFFF;
  border-radius: 10px;
  height: 113px;
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  resize: none;
  outline: none;
  box-sizing: border-box;
  padding: 6px 16px;
}
.popup_elem form .inner_form .big_field textarea::placeholder{
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.popup_elem form .inner_form input[type=submit]{
  margin-top: 10px;
  background: #33A752;
  border-radius: 50px;
  outline: none;
  border: 0;
  background-image: url(../images/arrow.png);
  background-repeat: no-repeat;
  background-size: inherit;
  background-position-x: calc(100% - 50px);
  background-position-y: center;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-transform: capitalize;
  color: #FFFFFF;
  padding: 16px 97px 16px 50px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .popup_elem{
    padding: 20px 10px 20px 10px;
  }
  .popup_elem form .form_title{
    font-size: 20px;
    line-height: 28px;
  }
  .popup_elem form .inner_form{
    margin-top: 20px;
    gap: 20px;
  }
  .popup_elem form .inner_form .small_field{
    width: 100%;
  }
  header {
    display: none;
  }
  .mobile_header {
    display: block;
    padding: 0 20px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
    background: inherit;
    transition: 0.5s;
  }
  .mobile_header.blured {
    background-color: #FFFFFF;
  }
  .mobile_header.active {
    background: #FFFFFF;
    background-image: url(../images/back_mobile.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  .toggle_menu {
    width: 30px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .toggle_menu div {
    width: 100%;
    height: 1px;
    background-color: #3F85F3;
    transition: 0.3s;
  }
  .toggle_menu.active {
    justify-content: center;
  }
  .toggle_menu.active div:nth-child(2) {
    display: none;
  }
  .toggle_menu.active div:nth-child(1) {
    transform: rotate(45deg);
  }
  .toggle_menu.active div:nth-child(3) {
    transform: rotate(138deg);
    margin-top: -1px;
  }
  .mobile_menu {
    display: flex;
    height: calc(100vh - 75px);
    position: fixed;
    left: -100%;
    top: 75px;
    width: 100%;
    background: #FFFFFF;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    background-image: url(../images/back_mobile.png);
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.5s;
  }
  .mobile_menu.active {
    left: 0;
  }
  .mobile_menu ul {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .mobile_menu ul li {
    width: 100%;
    padding: 20px 0 10px;
    border-bottom: 1px solid #3F85F3;
    text-align: center;
  }
  .mobile_menu ul li a {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #000000;
  }
  .mobile_menu .header_mob_btn {
    margin-top: 25px;
    padding: 10px 25px;
    background: #FFFFFF;
    border: 1px solid #3F85F3;
    border-radius: 50px;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    text-transform: capitalize;
    color: #3F85F3;
  }
}