@import url("https://fonts.googleapis.com/css2?family=Oranienbaum&display=swap");
.wrapper {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  letter-spacing: 2px;
  font-family: "Oranienbaum", serif;
  overflow: auto;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.header {
  background-image: url(../img/maxresdefault2.jpg);
  background-size: cover;
  height: 100vh;
}
.header__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
.header__items {
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0px 10px;
  max-width: 1000px;
  margin: 0 auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.header__item {
  padding: 10px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.header__pic {
  margin: 0 auto;
  width: 80px;
  border: 1px solid #f8db7b;
  background: #2f261a;
  border-radius: 50%;
  padding: 5px;
}
.header__image {
  position: relative;
  padding: 0px 0px 80% 0px;
}
.header__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.header__button {
  margin-top: 50px;
  margin-bottom: 80px;
}
.header__button a {
  padding: 20px 70px;
  background: #2f261a;
  color: #f8db7b;
  font-size: 22px;
  border-radius: 5px;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
.header__button a:hover {
  background: #f8db7b;
  color: #2f261a;
}
.header__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 10px;
}
.header__tel {
  margin-right: 10px;
}
.header__mail {
  margin-left: 10px;
}
.header__tel a, .header__mail a {
  color: #f8db7b;
  font-size: 18px;
  border: 1px solid #f8db7b;
  text-shadow: 1px 1px 1px black;
  border-radius: 5px;
  padding: 5px 10px;
}

.header::before {
  position: absolute;
  content: url(../img/png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
  top: 0;
  left: 0;
}

.header::after {
  position: absolute;
  content: url(../img/222png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
  bottom: 0;
  right: 0;
}

.h1 {
  font-size: 70px;
  letter-spacing: 3px;
  line-height: 70px;
  font-weight: 700;
  color: #f8db7b;
  text-shadow: 3px 2px 1px #030303;
  position: relative;
  margin-bottom: 10px;
}

.h2 {
  color: #2f2412;
  font-size: 35px;
  font-weight: 700;
  margin: 0 auto;
}

.h3 {
  color: #2f2412;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
}
.h3__white {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: #f8db7b;
}

.content {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.about {
  padding: 50px 10px;
  background: rgba(248, 219, 123, 0.664);
}
.about__items {
  padding: 0px 10px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 60% 20px 40%;
  grid-template-columns: 60% 40%;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.about__item p {
  color: #2f2412;
  font-size: 20px;
  line-height: 30px;
}
.about__item b {
  color: #2f2412;
  font-size: 35px;
  font-weight: 700;
}
.about__image {
  position: relative;
  padding: 0px 0px 80% 0px;
}
.about__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.jobs {
  padding: 50px 10px;
  text-align: center;
  background: rgba(195, 161, 96, 0.856);
}
.jobs__items {
  margin-top: 50px;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, auto));
  text-align: center;
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
  row-gap: 30px;
}
.jobs__item {
  background: white;
  -webkit-box-shadow: 5px 5px 10px black;
          box-shadow: 5px 5px 10px black;
  padding: 15px 10px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.jobs__item_big {
  -ms-grid-column-span: 2;
  grid-column: span 2;
}
.jobs__pic {
  width: 250px;
  margin: 0 auto;
}
.jobs__image {
  position: relative;
  padding: 0px 0px 80% 0px;
}
.jobs__image img {
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.jobs__name {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  color: #1b1712;
  padding: 15px 0px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 20px;
}
.jobs__list {
  padding: 0px 10px;
}
.jobs__list td {
  -webkit-box-shadow: 1px 1px 3px black;
          box-shadow: 1px 1px 3px black;
  border-radius: 0px;
  padding: 5px;
}
.jobs__button {
  margin: 20px 0px;
  margin-top: 30px;
}
.jobs__button a {
  padding: 10px 70px;
  background: #2f261a;
  color: #f8db7b;
  font-size: 16px;
  border-radius: 5px;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
.jobs__button a:hover {
  background: #f8db7b;
  color: #2f261a;
}

.icons {
  padding: 50px;
  background: #2f261a;
  position: relative;
}
.icons__items {
  padding: 0px 20px 20px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 25px;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, auto));
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}
.icons__item {
  background: #f8db7b;
  padding: 20px 10px;
  border-radius: 5px;
}
.icons__pic {
  width: 70px;
  margin: 0 auto;
  position: relative;
}
.icons__pic::after {
  position: absolute;
  content: url(../img/icons/11111.png);
  bottom: -25px;
  right: -25px;
}
.icons__image {
  position: relative;
  padding: 0px 0px 90% 0px;
}
.icons__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.icons__text {
  color: #2f261a;
  text-align: center;
  padding-top: 18px;
  font-size: 16px;
  line-height: 20px;
}
.icons__about {
  text-align: center;
  color: #e4e4e4;
  margin-top: 50px;
  font-size: 18px;
  line-height: 30px;
}
.icons__about b {
  text-align: center;
  color: #f8db7b;
  font-size: 30px;
  line-height: 30px;
}
.icons__about a {
  color: #f8db7b;
}

.icons::before {
  position: absolute;
  content: url(../img/png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
  top: 0;
  left: 0;
}

.icons::after {
  position: absolute;
  content: url(../img/222png-transparent-gold-decor-illustration-gold-decorative-arts-decorative-text-color-flower-removebg-preview.png);
  bottom: 0;
  right: 0;
}

.instruction {
  background: rgba(248, 219, 123, 0.664);
  padding: 50px 10px;
}
.instruction__items {
  padding-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 30px;
}
.instruction__item {
  border-radius: 5px;
  max-width: 300px;
  padding: 10px;
  position: relative;
}
.instruction__item_icon1 {
  position: relative;
}
.instruction__item_icon2 {
  position: relative;
}
.instruction__item_icon1::after {
  position: absolute;
  content: url(../img/icons/2.png);
  right: -40%;
  top: 0px;
}
.instruction__item_icon2::after {
  position: absolute;
  content: url(../img/icons/1.png);
  right: -40%;
  bottom: 0px;
}
.instruction__pic {
  width: 70px;
  margin: 0 auto;
  position: relative;
}
.instruction__pic::after {
  position: absolute;
  content: url(../img/icons/11111.png);
  bottom: -30px;
  right: -25px;
}
.instruction__image {
  position: relative;
  padding: 0px 0px 100% 0px;
}
.instruction__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.instruction__name {
  padding: 10px 0px;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 20px;
}
.instruction__text {
  font-size: 16px;
  text-align: center;
  line-height: 20px;
}

section.gallery {
  background: rgba(248, 219, 123, 0.664);
  position: relative;
  padding: 50px 10px 80px;
}

.gallery-list {
  background: #2f261a;
  border-radius: 5px;
  padding: 20px;
  position: relative;
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  font-size: 0;
  gap: 10px;
  margin-top: 70px;
}

.gallery-item {
  display: block;
  -webkit-box-flex: 25%;
      -ms-flex: 25%;
          flex: 25%;
  overflow: hidden;
  position: relative;
  padding: 0px 0px 60% 0px;
}
.gallery-item_big {
  -ms-grid-column-span: 2;
  grid-column: span 2;
  -ms-grid-row-span: 2;
  grid-row: span 2;
}

.gallery-item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-item-hover {
  opacity: 1;
}

.gallery-item:hover img {
  -webkit-transform: scale(1.3) rotate(5deg);
          transform: scale(1.3) rotate(5deg);
}

.gallery-item img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.contacts {
  padding: 50px 10px;
  background: rgba(195, 161, 96, 0.856);
  background-size: cover;
}
.contacts__items {
  background: #2f261a;
  padding: 40px 50px;
  padding-top: 20px;
  margin-top: 30px;
  border-radius: 5px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 20px 60%;
  grid-template-columns: 40% 60%;
  gap: 20px;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.contacts__title {
  text-align: center;
  font-size: 22px;
  padding-bottom: 15px;
  color: #2f261a;
  font-weight: 600;
}
.contacts__item {
  text-align: left;
}
.contacts__form {
  background-image: url(../img/vLQH9PMvDII.jpg);
  background-size: cover;
  padding:0px 20px 5px;
  padding-top: 80px;
  max-width: 400px;
  border-radius: 5px;
}
.contacts__form input {
  border-radius: 5px;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  background: white;
}
.contacts__form textarea {
  border-radius: 5px;
  padding: 15px;
  font-size: 16px;
  margin-top: 5px;
  width: 100%;
  height: 120px;
  background: white;
}
.contacts ::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #4d4d4d;
  font-size: 16px;
}
.contacts :-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #4d4d4d;
  font-size: 16px;
}
.contacts ::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #4d4d4d;
  font-size: 16px;
}
.contacts :-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #4d4d4d;
  font-size: 16px;
}
.contacts__button {
  text-align: center;
  padding-top: 25px;
}
.contacts__button a {
  padding: 15px 60px;
  background: #2f261a;
  color: #f8db7b;
  font-size: 16px;
  border-radius: 5px;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
}
.contacts__button a:hover {
  background: #f8db7b;
  color: #2f261a;
}
.contacts__addres {
  margin-bottom: 20px;
  padding-bottom: 5px;
}
.contacts__map {
  background: #e9e9e9;
  height: 230px;
}
.contacts__addres, .contacts__tel a, .contacts__mail a {
  font-size: 18px;
  color: #f8db7b;
  line-height: 25px;
}
.contacts__tel, .contacts__mail {
  margin: 10px 0px;
}

.footer {
  background: #2f261a;
}
.footer__copy {
  color: #f8db7b;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  line-height: 20px;
}