/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 50px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #555; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

#myBtn:hover {
  background-color: #FDC300; /* Add a dark-grey background on hover */
  transition: 0.5s;
}
#myBtn svg{
  transition: 0.2s;
}
#myBtn:hover svg{
  height: 40px;
  transition: 0.5s;
}
.block1{
  margin-top: 100px;
}
.menu{
  position: absolute;
  width: 100%;
  height: 130px;
  transition: 0.2s;
  z-index: 110;
}
.block{
  margin-top: 100px;
  width: 100%;
  height: 700px;
}
.xx{
  display: flex;
  flex-direction: column;
}
.menu_wraper{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: fit-content;
  align-items: center;
  margin-top: 40px;
}
.textlogo{
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.logotext{
  color: #FDC300;
  font-family: 'Montserrat';
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.8px;
  font-variant: all-small-caps;
  
}
.punktmenu{
  display: flex;
  flex-direction: row;
  gap:23px;
  margin-left: -50px;
}
.punkti{
  color: black;
  text-decoration: none;
  font-family: 'Montserrat';
  font-size: 18px;
  font-weight: 400;
  transition: 0.2s;
}
.punkti:hover{
  transition: 0.5s;
  color: #FDC300;
  text-decoration: none;
}
.punkti1{
  color: black;
  text-decoration: none;
  font-family: 'Montserrat';
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline #FDC300;
  cursor: default;
  transition: 0.2s;
}
.drop_down{
  display: none;
  min-width: 100px;
}
.punkti-drop{
  color: black;
  text-decoration: none;
  font-family: 'Montserrat';
  font-size: 18px;
  font-weight: 400;
  padding: 20px;
  display: block;
}
.punkti1:hover .drop_down{
  display: block;
}
.phone{
  width: 200px;
  height: 44px;
  border-radius: 20px;
  background: #FDC300;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:10px;
  border:none;
}
.phone_p{
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}
.bukovel{
  color: black;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: -5px;
}
.header_wraper{
  padding-top: 102px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}
.logoandtext{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.logo{
  width: 173px;
  height: 173px;
  background-image: url(/img/logo.png);
  background-size: 100% 100%;
}
.kvadrik{
  background-image: url(/img/kvadro.png);
  width: 697px;
  height: 604px;
  background-size: 100%;
  transform: scaleX(-1);
  align-self: flex-end;
  position: absolute;
  margin-top: 190px;
}
.header_left_text{
  color: #FFF;
  width: 862px;
  font-family: 'Montserrat';
  font-size: 36px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 115px;
}
.plogoandtext{
  color: #FFF;
  width: 630px;
  font-family: 'Montserrat';
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.48px;
  margin-top: 50px;
}
.yellow{
  color: #FDC300;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.wraper {
    max-width: 1300px;
    margin: 0 auto;
    height: auto;
}
.h1formain {
  font-size: 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.social{
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 20px;
}
.social a{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.instagram{
  width: 36px;
  height: 36px;
  background-size: 100% 100%;
  background-image: url(/img/instagram.png);
}
.facebook{
  width: 36px;
  height: 36px;
  background-size: 100% 100%;
  background-image: url(/img/facebook.png);
}
.hamburger-menu{
  display: none;
}
#menu__toggle {
  opacity: 0;
}
/* стилизуем кнопку */
.menu__btn {
  display: flex; /* используем flex для центрирования содержимого */
  align-items: center;  /* центрируем содержимое кнопки */
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: -8px;
  cursor: pointer;
  z-index: 111;
}
/* добавляем "гамбургер" */
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: black;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
  
}
.menu__btn > span::after {
  content: '';
  top: 8px;
  
}
.black {
  display: flex;
  align-items: center;
  position: relative;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 111;
  margin-top: -7px;
}
.black > span,
.black > span::before,
.black > span::after {
display: block;
position: absolute;
width: 100%;
height: 2px;
background-color: black;
}
.menu__box {
  display: flex;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  flex-direction: column;
  text-align: center;
  background-color: white;
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  z-index: 100;
  overflow: hidden;
}
/* элементы меню */
.menu__item {
  display: block;
  padding: 12px 24px;
  width: 80%;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
}
.menu__item:hover {
  background-color: #CFD8DC;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
  background-color: black;
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background-color: black;
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background-color: black;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
}
#menu__toggle:checked .menu{
  position: fixed;
  background-color: white;
  height: 100px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 10px 0px;
  z-index: 112;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
transition-duration: .25s;
}
.menu__box {
transition-duration: .25s;
}
.menu__item {
transition-duration: .25s;
}
.menu__box li{
  display: flex;
  justify-content: center;
}
.menu__box li:nth-child(1){
  margin-top: 150px;
}
.social1{
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-self: center;
  margin-top: 30px;
}
.instagram{
  width: 36px;
  height: 36px;
  background-image: url(/img/instagram.png);
  background-size: 100% 100%;
}
.facebook{
  width: 36px;
  height: 36px;
  background-image: url(/img/facebook.png);
  background-size: 100% 100%;
}
.xx{
  display: flex;
  flex-direction: column;
}
.for404_button{
    width: 310px;
    height: 44px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
}
.for404_button:hover{
    gap: 50%;
    transition: 0.5s;
    text-decoration: none;
    color: #000;
}
.for404_p_button{
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}
.blocks{
    margin-top: 160px;
    margin-bottom: 20px;
}
.blocks_wraper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.blocks_h1{
    color: #000;
    font-family: 'Montserrat';
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.64px;
}
.blocks_p{
    color: #000;
    font-family: 'Montserrat';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.48px;
    width: 730px;
    margin-top: 40px;
}
.block7{
  margin-top: 100px;
  margin-bottom: 50px;
}
.block7_wraper{
  display: flex;
  flex-direction: column;
}
.block7_topblock{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.block7_phone{
  width: 310px;
  height: 54px;
  border-radius: 20px;
  border: 2px solid #FDC300;
  color: #000;
  font-family: 'Montserrat';
  font-size: 20px;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.block7_phone:hover{
  scale: 1.05;
  transition: 0.5s;
}
.contact-form{
  display: flex;
  flex-direction: column;
}
.contact-form input {
  border: 0 none;
  width: 420px;
  height: 54px;
  font-family: 'Montserrat';
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.50);
  font-size: 20px;
  font-weight: 400;
  padding-left: 15px;
  margin-bottom: 20px;
  outline: none;
  background: #fff;
  border-radius: 20px;
}
.contact-form .btn {
  border: none;
  width: 310px;
  height: 54px;
  border-radius: 20px;
  background: #FDC300;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.50);
  color: #000;
  font-family: 'Montserrat';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn svg{
  transition: 0.2s;
}
.btn:hover svg{
  margin-left: 4px;
  margin-bottom: 4px;
  transition: 0.2s;
}
.block7_mainblocks{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.block7_leftblock{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
}
.bottom_h1{
  color: #000;
  font-family: 'Montserrat';
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.56px;
  margin-top: 50px;
}
.warning_block{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.warning{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.warning_svg{
  width: 20.896px;
  height: 18.103px;
  background-image: url(/img/warning.png);
  background-size: 100% 100%;
}
.warning_p{
  color: #000;
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.32px;
}
.block7_rightblock{
  align-self: flex-end;
}
.block7_rightblock iframe{
  width: 640px;
  height: 394px;
  border-radius: 20px;
  
}
.abo{
  display: none;
}
.error_label{
  display: none;
  color: red;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 20px;
  transition: 0.5s;

}
.first_block_h1 {
  color: #000;
  font-family: 'Montserrat';
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.64px;
}
  .for404_button1{
    width: 310px;
    height: 44px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
  }
  .for404_button1:hover{
    gap: 50%;
    transition: 0.5s;
    text-decoration: none;
    color: #000;
}
  #myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 50px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #555; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

#myBtn:hover {
    background-color: #FDC300; /* Add a dark-grey background on hover */
    transition: 0.5s;
}
#myBtn svg{
    transition: 0.2s;
}
#myBtn:hover svg{
    height: 40px;
    transition: 0.5s;
}
.textlogo{
  cursor: pointer;
}
#img{
    width: 300px;
    height: 300px;
}
.glav_block_wraper{
  display: flex;
  gap: 20px;
}
.glav_block{
  margin-top: 160px;
}

.photos{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  height: auto;
}

.photo {
  margin-bottom: 80px;
  width: 30%;
  height: auto; 
}
.img-thumbnail {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  cursor:pointer;
  object-fit: cover;
  position: relative;
}
.img-fluid {
  width: 100%;
  height: auto;
}
.for404_button1{
  width: 310px;
  height: 44px;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: black;
  background-color: #FDC300;
  border-radius: 10px;
  gap: 10px;
  transition: 0.2s;
}
.for404_button1:hover{
gap: 50%;
transition: 0.5s;
text-decoration: none;
color: black;
}
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 30px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 120; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #555; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}

#myBtn:hover {
  background-color: #FDC300; /* Add a dark-grey background on hover */
  transition: 0.5s;
}
#myBtn svg{
  transition: 0.2s;
}
#myBtn:hover svg{
  height: 40px;
  transition: 0.5s;
}
@media screen and (max-width: 1330px) {
  .wraper{
    max-width: 1200px;
  }
  .img-thumbnail{
    height: 400px;
  }
  .block7_rightblock iframe{
    width: 500px;
  }
}
@media screen and (max-width: 1230px) {
  .wraper{
    max-width: 1100px;
  }
  .block7_rightblock iframe {
    width: 350px;
  }
}
@media screen and (max-width: 1130px) {
  .wraper{
    max-width: 1000px;
  }
}
@media screen and (max-width: 1030px) {
  .punktmenu{
    display: none;
  }
  .social{
    display: none;
  }
  .hamburger-menu{
    display: block;
  }
  .wraper{
    max-width: 900px;
  }
  .img-thumbnail{
    height: 350px;
  }
  .block7_mainblocks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block7_rightblock{
    width: 100%;
    margin-top: 50px;
}
.block7_rightblock iframe {
    width: 100%;
}
}
@media screen and (max-width: 930px) {
  .wraper{
    max-width: 800px;
  }
  .img-thumbnail{
    height: 325px;
  }
}
@media screen and (max-width: 830px) {
  .abo {
    display: block;
    color: #000;
    font-family: 'Montserrat';
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.56px;
    margin-top: 0px;
  }
  .block7_topblock {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.block7_phone {
  width: 100%;
  height: 54px;
  border-radius: 20px;
  border: 2px solid #FDC300;
  color: #000;
  font-family: 'Montserrat';
  font-size: 20px;
  letter-spacing: 0.4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  margin-top: 40px;
}
.contact-form {
  margin-top: 40px;
}
.contact-form input {
  border: 0 none;
  width: 100%;
  height: 54px;
  font-family: 'Montserrat';
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.50);
  font-size: 20px;
  font-weight: 400;
  padding-left: 15px;
  margin-bottom: 20px;
  outline: none;
  background: #fff;
  border-radius: 20px;
}
.contact-form .btn {
  border: none;
  width: 100%;
  height: 54px;
  border-radius: 20px;
  background: #FDC300;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.50);
  color: #000;
  font-family: 'Montserrat';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
  .wraper{
    max-width: 700px;
  }
  .first_block_h1 {
    color: #000;
    font-family: 'Montserrat';
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.64px;
  }
}
@media screen and (max-width: 730px) {
  .wraper{
    max-width: 600px;
  }
  .photo  {
    width: 48%;
  }
  .for404_button {
    width: 240px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
  }
}
@media screen and (max-width: 630px) {
  .wraper{
    max-width: 500px;
  }
  .for404_button {
    width: 200px;
    height: 34px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
  }
  .for404_button1{
    display: flex;
    margin-top: 20px;
    width: 100%;
  }
}
@media screen and (max-width: 530px) {
  .wraper{
    max-width: 400px;
  }
  .photo {
    width: 100%;
  }
  .img-thumbnail{
    height: 400px;
  }
  .for404_button {
    width: 310px;
    height: 44px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
  }
  .abo {
    display: block;
    color: #000;
    font-family: 'Montserrat';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.56px;
    margin-top: 0px;
}
.bottom_h1 {
  color: #000;
  font-family: 'Montserrat';
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.56px;
  margin-top: 50px;
}
.first_block_h1 {
  color: #000;
  font-family: 'Montserrat';
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.64px;
}
}
@media screen and (max-width: 430px) {
  .wraper{
    max-width: 350px;
  }
  .photo img {
    max-width: 100%;
    height: auto;
    width: 350px;
  }
  .for404_button {
    width: 310px;
    height: 44px;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: black;
    background-color: #FDC300;
    border-radius: 10px;
    gap: 10px;
    transition: 0.2s;
  }
}