* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s;
}

body {
  position: relative;
  background: url(../img/background.svg);
}

h1 {
  color: white;
  margin-bottom: 23px;
  margin-left: 20px;
  font-weight: 800;
}
h1 span {
  color: #FFBD00;
}

.header {
  margin: 34px 20px 70px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header p {
  color: white;
  font-weight: 400;
  font-size: 16px;  
  line-height: 20px;
  text-align: right;
}

/*внесение изменений №1 - начало */
  .privacy {
    position: relative;
  }
  .privacy ul {
    color: white;
  }
  .privacy p {
    color: white;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  .privacy li {
    color: white;
    margin-left: 20px;
    margin-right: 20px;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: justify;
    list-style-type: none;
  }
/*внесение изменений №1 - конец */

.homepage {
  position: relative;
}
.homepage img {
  width: 100%;
}
.homepage ul {
  position: absolute;
  bottom: 147px;
}
.homepage li {
  margin-left: 40px;
  color: #FFBD00;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  list-style: disc;
}
.homepage__socials {
  margin-top: -4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0 15px 0;
  background-color: #FFBD00;
}
.homepage__socials p {
  margin-top: 13px;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
}
.homepage__links {
  display: flex;
  justify-content: center;
  grid-gap: 30px;
}

.section__header {
  padding-top: 80px;
  padding-bottom: 36px;
  background-color: white;
}
.section__header h2 {
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  letter-spacing: -0.01em;
}
.section__header h2 span {
  color: #FFBD00;
}

.block {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  background-color: white;
  position: relative;
}
.block img {
  width: 100%;
}
.block h3 {
  position: absolute;
  display: block;
  padding: 7px 10px 7px 7px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  background-color: #FFBD00;
  border-radius: 5px;
  bottom: 20px;
  left: 20px;
}
.block button {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 27px;
  background: #D7D7D7;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.4);
  height: 20px;
  width: 20px;
  border-radius: 100%;
  border: none;
  outline: hidden;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #282626;
}
.block__tip {
  overflow: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  bottom: 71px;
  width: 237px;
  border-radius: 10px;
  opacity: 1;
  padding: 10px 5px;
  padding-left: 27px;
  min-height: 105px;
}
.block__tip_hidden {
  opacity: 0;
  min-height: 0px;
  height: 0;
}
.block__tip ul li {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
}
.block__tip p {
  margin-top: 7px;
  max-width: 179px;
  font-weight: 400;
  font-size: 8px;
  line-height: 10px;
  color: #282626;
}
.block__tip p span {
  font-weight: 700;
  font-size: 8px;
  line-height: 10px;
  color: #94251D;
}

.assortiment footer {
  background: #FFBD00;
  padding: 85px 0;
  display: flex;
  justify-content: center;
}
.assortiment footer button {
  background: #94251D;
  border-radius: 102px;
  padding: 18px;
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.01em;
  border: none;
  outline: none;
  color: white;
}

.catalog footer {
  background: white;
  padding: 85px 0;
  display: flex;
  justify-content: center;
}
.catalog footer button {
  background: #FFBD00;
  border-radius: 102px;
  padding: 18px;
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.01em;
  border: none;
  outline: none;
  color: black;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__socials {
  margin-top: 33px;
  display: flex;
  justify-content: center;
  grid-gap: 30px;
  margin-bottom: 24px;
}
/*внесение изменений без Захарова - начало */
.footer li {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-decoration-line: underline;
  list-style-type: none;
}
/*внесение изменений без Захарова - конец */
.footer p {
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  color: #000000;
  margin-bottom: 30px;
  background-color: #FFBD00;
  padding: 7px 15px 7px 15px;
}
.footer p > a{
  text-decoration: none;
  color: #000000;
}

.form-1 {
  opacity: 1;
  top: 0;
  position: fixed;
  z-index: 111;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
.form-1__hidden {
  opacity: 0;
  pointer-events: none;
}
.form-1 form {
  padding: 24px 24px 65px; /* Изменение нижнего паддинга для спуска кнопок на 10px */
  grid-gap: 24px;
  width: 320px;
  height: 310px;
  background: #D7D7D7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-1 form p {
  margin-bottom: 40px; /* Увеличиваем отступ между текстом и кнопками */
}

.form-1 form input {
  width: 272px;
  height: 37px;
  border: none;
  outline: none;
  padding: 10px;
  background: #FFFFFF;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form input ::-moz-placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form input :-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form input ::placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form textarea {
  resize: none;
  width: 272px;
  height: 179px;
  background: #FFFFFF;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form textarea ::-moz-placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form textarea :-ms-input-placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form textarea ::placeholder {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #717171;
}
.form-1 form button {
  background: #FFBD00;
  border-radius: 102px;
  padding: 18px;
  font-weight: 800;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.01em;
  border: none;
  outline: none;
  color: black;
  width: 157px;
}

.form-2 {
  opacity: 1;
}
.form-2__hidden {
  opacity: 0;
  pointer-events: none;
}
.form-2 form {
  position: relative;
  padding: 24px 24px 65px;
}
.form-2 button {
  justify-self: flex-end;
}
.form-2 p {
  font-size: 14px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #282626;
  position: absolute;
  bottom: 102px;
}
.form-2 p.contact-form__connect-message{
  position: static;
  margin-bottom: 7px;
}

@media (min-width: 676px) {
  body {
    width: 576px;
    margin: 0 auto;
  }

  .form-1 {
    left: 0;
  }
}

form {
  position: relative;
}
.preloader {
  opacity: 0;
  position: absolute;
  bottom: 67px;
  right: 30px;
}

.preloader_active {
  opacity: 1;
}

.contact-form__message {
  position: absolute;
  bottom: 15px;
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  letter-spacing: -0.01em;
  color: #808080;
  text-align: center;
  height: 34px;
  width: 246px;
  transition: none;
}
#go-to-top-button{
  cursor: pointer;
  position:absolute;
  bottom:25px;
  right:10%;
  display:block;
  align-items: center;
  width: 40px;
  cursor: pointer;
}
#go-to-top-button i{
  margin: 9px auto;
  width:15px;
  height:22px;
  display:block;
  background: url("../img/arrowsToTop.png") no-repeat;
  background-size: 100% 100%;
}
