@charset "UTF-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

a,
a:visited {
  text-decoration: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

html {
  height: 100%;
}

body {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  color: #fff;
  /* background-color: rgba(26, 128, 221, 1); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), #161616),
    url(https://q.implant.kiev.ua/assets/5-a4309ce5.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 20%;
  overflow: hidden;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 1 auto;
}

body {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-align: left;
}

.container {
  width: 100%;
  max-width: 1240px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/*---------------------------------------------------header---------------------------------------*/
.header {
  position: relative;
  width: 100%;
  z-index: 13;
}

.header__menu_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1200px) {
  .header__menu_container {
    margin-top: 30px;
  }
}
@media (min-width: 1024px) {
  .header__menu_container {
    justify-content: space-between;
  }
}
.header__menu_container .logo {
  width: 121px;
  padding-bottom: 30px;
}

.header__menu_container .logo img {
  width: 100%;
}

@media (min-width: 1200px) {
  .header__menu_container .logo img {
    width: 100%;
    height: auto;
  }
}
.header_menu,
.header_menu ul {
  flex-direction: row;
  align-items: center;
}

@media (min-width: 1199px) {
  .header_menu {
    display: flex;
  }
}
.header_menu ul {
  width: 100%;
  display: flex;
  gap: 29px;
  justify-content: space-between;
  margin: 0;
}

.header_menu ul li {
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  color: #fff;
}

.header_menu ul li a {
  font-family: inherit;
  color: inherit;
}

.header__menu_container .company_info {
  display: none;
  flex-direction: column;
  align-items: end;
}

@media (min-width: 1024px) {
  .header__menu_container .company_info,
  .header__menu_container .header__button {
    display: flex;
  }
}
.header__menu_container .company_info a {
  color: #fff;
}

.header__menu_container .company_info .working_time {
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #bdbac2;
}

.header__menu_container .header__button,
.header__menu_container .lang {
  display: none;
}

@media (min-width: 1024px) {
  .header__menu_container .company_info,
  .header__menu_container .header__button {
    display: flex;
  }
}
.btn {
  display: inline-block;
  border-width: 1px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  padding: 12px 30px;
  background-color: #fff;
  border-radius: 40px;
}
@media (max-width: 610px) {
  .btn {
    padding: 18px 80px;
  }
}
@media (max-width: 465px) {
  .btn {
    padding: 16px 40px;
  }
}
@media (max-width: 390px) {
  .btn {
    padding: 12px 20px;
  }
}

/*---------------------------------------------------main---------------------------------*/
main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main__title {
  font-size: 46px;
  margin-bottom: 65px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}
@media (max-width: 730px) {
  .main__title {
    font-size: 26px;
  }
}

.main__button {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main__button-yes {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 22px;
  width: 600px;
  height: 100px;
  background-color: #4caf50;
}
@media (max-width: 610px) {
  .main__button-yes {
    width: 100%;
    /* Зменшуємо ширину кнопки */
    font-size: 18px;
  }
}
@media (max-width: 390px) {
  .main__button-yes {
    font-size: 16px;
  }
}
.main__button-yes:hover {
  background-color: #66bb6a;
}

.main__button-no {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 22px;
  width: 600px;
  height: 70px;
  align-self: flex-end;
  background-color: #800020;
}
@media (max-width: 610px) {
  .main__button-no {
    width: 100%;
    /* Зменшуємо ширину кнопки */
    font-size: 18px;
    /* Зменшуємо розмір шрифту, якщо потрібно */
  }
}
.main__button-no:hover {
  background-color: #993033;
}

/*---------------------------------------------popup--------------------------------------------------*/
body._lock {
  overflow: hidden;
}

.popup.open {
  opacity: 1;
  visibility: visible;
  overflow-y: scroll;
}

.popup.open .popup__content {
  transform: translate(0px, 0px);
  opacity: 1;
}

.popup {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.8s ease 0s;
}
.popup:target {
  opacity: 1;
  visibility: visible;
}
.popup:target .popup__content {
  transform: translate(0, 0);
  opacity: 1;
}
.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 30px 10px;
}
@media (min-width: 610px) {
  .popup__body {
    justify-content: center;
  }
}
.popup__content {
  background-color: #fff;
  color: #000;
  max-width: 800px;
  padding: 30px;
  position: relative;
  transition: all 0.8s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
}
@media (max-width: 610px) {
  .popup__content {
    width: 100%;
  }
}
.popup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #000;
}
.popup__title {
  font-size: 40px;
  margin-bottom: 1em;
  font-family: Arial, Helvetica, sans-serif;
}
.popup__form {
  width: 600px;
}
@media (max-width: 610px) {
  .popup__form {
    width: 100%;
  }
}
.popup__input {
  font-size: 20px;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.popup__textarea {
  font-size: 20px;
  width: 100%;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 4px;
  min-height: 150px;
  /* Мінімальна висота для textarea */
  box-sizing: border-box;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}
