@font-face {
  font-family: "Bakemono";
  src: url("../fonts/genshin_impact.woff2") format("woff2");
}

html,
body {
  font-family: "Bakemono";
  margin: 0;
  background-color: rgba(235, 244, 255, 0.476);
  color: rgb(47 105 172);
  overflow-x: hidden;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 300px;
}
section#sect1 h2 {
  top: -200px;
  position: relative;
}
.top {
  top: -200px;
  position: relative;
}

p {
  text-align: justify;
  padding: 10px;
  color: rgb(47 105 172);
  font-size: 25px;
}
h2 {
  color: rgb(47 105 172);
  font-size: 35px;
}

header {
  max-height: 625px;
}
header h1 {
  color: rgb(40, 49, 92);
  font-family: "Bakemono";
  font-size: 45px;
  text-align: center;
  padding: 80px 0;
  position: relative;
  top: 100px;
  z-index: 2;
}

.center {
  text-align: center;
}

.discounts {
  position: relative;
  left: 7%;
}

.fish1 {
  float: right;
  top: 168px;
  transform: rotate(5deg);
  animation: fish1 25s linear infinite;
}
@keyframes fish1 {
  0% {
    right: -200px;
    transform: rotate(18deg);
  }
  50% {
    right: 800px;
  }
  100% {
    right: 2000px;
    transform: rotate(140deg);
    top: -220px;
  }
}

.fish {
  animation: fish 22s linear infinite;
}
@keyframes fish {
  0% {
    left: -400px;
    transform: rotate(198deg);
  }
  50% {
    left: 800px;
  }
  100% {
    left: 2000px;
    transform: rotate(260deg);
    top: 200px;
  }
}

img.fishes {
  position: relative;
  width: 210px;
  transform: rotate(166deg);
  top: -100px;
  z-index: 9;
}

img {
  box-sizing: border-box;
  max-width: 100%;
}
a {
  color: rgb(47 105 172);
  text-decoration: none;
}
.clear {
  clear: all;
}

section p {
  padding: 1px 10px;
  text-align: center;
  word-wrap: break-word;
}
#wrap {
  width: 960px;
  margin: 0 auto;
}

h1 {
  clear: left;
  padding-top: 10px;
}
ul {
  position: relative; /* Относительное позиционирование родителя */
  list-style: none;
  font-size: 18px;
  margin-left: -10px;
}
ul#nav a {
  display: block;
  background: rgb(224, 246, 255); /* Полупрозрачный фон */
  color: rgb(60, 80, 158);
  margin-bottom: 20px;
  padding: 5px;
  border: solid 2px;
  border-radius: 25px;
  border-color: rgb(255, 255, 255);
}

ul#nav > li {
  position: relative; /* Относительное позиционирование родителя */
  top: 0px;
  left: 500px;
  float: left;
  margin-right: 15px;
}

ul#nav ul li {
  padding-top: 1px; /* Вводим отступ между li для разделения пунктов меню */
}

ul#nav ul a {
  white-space: nowrap; /* Запрещаем перенос текста на следующую строку */
}

ul#nav li a:hover {
  background: rgb(192, 235, 255); /* Непрозрачный фон при наведении мыши */
}
.clear {
  clear: left; /* Очистка обтекания */
}

section#sect1::after,
section#sect2::after,
section#sect3::after {
  content: "";
  display: block;
  background-image: url(../images/img_9708.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 500px;
}

section#sect4::after,
section#sect5::after,
section#sect6::after {
  content: "";
  display: block;
  /* background: gold; */
  background-image: url(../images/img_9707.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  height: 500px;
}
section h2 {
  text-align: center;
}
.col {
  display: block;
}

.column {
  width: 30%;
  float: left;
  position: relative;
  top: -200px;
  left: 50px;
  color: rgb(47 105 172);
  text-align: center;
  box-sizing: border-box;
  border-left: 3px solid #2f69ac;
  height: 100px;
  padding: 10px;
  line-height: normal;
  font-size: 23px;
}
.col p {
  color: #2773a2;
}
html {
  position: relative;
  min-height: 100%;
}

.photos1 {
  width: 690px;
  text-align: center;
  margin: 40px auto;
}
.photos1 a {
  display: inline-block;
  margin-top: 5px;
  padding: 8px;
}
.photos1 a:hover {
  background: rgb(47, 105, 172);
}

.foto {
  width: 80%;
  margin: 50px auto;
}

.pressbox {
  /* Стиль для ссылки, содержащей  полноразмерное изображение */
  width: 0;
  height: 0;
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  /* Поверх всех остальных элементов */
  z-index: 9999;
  text-align: center;
  /* Полупрозрачный серый фон */
  background: rgb(47, 105, 172, 0.7);
}
.pressbox img {
  /* Стиль для полноразмерного изображения */
  /* изначально полностью прозрачная картинка */
  opacity: 0;
  max-height: 90%;
  padding: 20px;
  background: #ffffff;
  /* тени */
  box-shadow: 0px 0px 15px rgb(47, 105, 172, 0.7);
  /* свойство прозрачности изменяется  за четверть секунды */
  transition: opacity 0.25s ease-in-out;
}
.mini {
  border: solid 10px rgb(47 105 172);
}
.mini:hover {
  border: solid 10px rgb(87, 136, 209);
}
.pressbox:target {
  width: auto;
  height: auto;
  bottom: 0;
  right: 0;
}
.pressbox:target img {
  /* стиль проявится после нажатия на ссылку, заданную в href="#image1" */
  opacity: 1;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 200px;
}
/* Sticky footer style and color
-------------------------------------------------- */
footer {
  padding-top: 30px;
}

footer a {
  text-decoration: none;
  padding: 0px;
  font-size: larger;
}

footer a:hover,
footer a:focus {
  color: rgb(87, 136, 209);
  text-decoration: none;
}

footer .form-control {
  box-shadow: 1px rgba(108, 163, 198, 0.1);
  font-family: "Bakemono";
  border-radius: 5px;
  resize: none;
  color: #8ed4ff;
  padding: 0.7em 1em;
  width: 300px;
}

fieldset {
  border: none;
}

footer h2 {
  margin: 19px;
  font-size: 26px;
  text-align: center;
}

button {
  width: 90px;
  color: #8ed4ff;
  background-color: #fff;
  font-family: "Bakemono";
}

fieldset.form-group {
  border: none;
  position: relative;
  left: 20px;
}

.footer_menu {
  display: block;
  text-decoration: none;
  position: relative;
}
iframe {
  position: relative;
  float: left;
  left: 10px;
  margin: 0px;
  width: 100%;
}

div#footer-contacts {
  display: block;
  float: left;
  position: relative;
  top: -194px;
  left: 220px;
}

.form-group input[type="submit"],
[type="email"],
textarea {
  display: block;
  height: 32px;
  padding: 6px 16px;
  width: 100%;
  border: none;
  background-color: #ffffff;
  box-shadow: 1px 4px 10px 1px #aaa;
}

#footer-adaptive {
  position: relative;
  top: -200px;
}

.form-group button[type="submit"] {
  display: block;
  margin: 20px auto 0;
  width: 130px;
  height: 30px;
  border-radius: 25px;
  border: none;
  color: rgb(66, 124, 175);
  font-weight: 700;
  box-shadow: 1px 4px 10px 1px #aaa;
}

.form-footer {
  float: right;
}

/*slideshow*/

#slideshow {
  text-align: center;
  overflow: hidden;
  max-height: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  top: -300px;
  z-index: 0;
}

.slide {
  float: left;
  height: 700px;
  width: 1920px;
}

.demo {
  position: relative;
  padding-top: 50%;
  overflow: hidden;
}
.demo input {
  display: none;
}
.demo label {
  transition: 3s;
}
.demo img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 50%;
  max-height: 50%;
  transform: translate(-50%, -50%);
}
.demo label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: 3s;
}
.demo label,
.demo #on1:checked ~ [for="on1"],
.demo #on2:checked ~ [for="on2"],
.demo #on3:checked ~ [for="on3"],
.demo #on4:checked ~ [for="on4"],
.demo #on5:checked ~ [for="on5"] {
  transform: translateX(-60%) scale(0.7);
  z-index: 2;
}
.demo #on1:checked ~ [for="on3"],
.demo #on2:checked ~ [for="on4"],
.demo #on3:checked ~ [for="on5"],
.demo #on4:checked ~ [for="on1"],
.demo #on5:checked ~ [for="on2"] {
  transform: translateX(60%) scale(0.7);
  z-index: 2;
}
.demo #on1:checked ~ [for="on4"],
.demo #on2:checked ~ [for="on5"],
.demo #on3:checked ~ [for="on1"],
.demo #on4:checked ~ [for="on2"],
.demo #on5:checked ~ [for="on3"],
.demo #on1:checked ~ [for="on5"],
.demo #on2:checked ~ [for="on1"],
.demo #on3:checked ~ [for="on2"],
.demo #on4:checked ~ [for="on3"],
.demo #on5:checked ~ [for="on4"] {
  z-index: 1;
}
.demo #on1:checked ~ [for="on2"],
.demo #on2:checked ~ [for="on3"],
.demo #on3:checked ~ [for="on4"],
.demo #on4:checked ~ [for="on5"],
.demo #on5:checked ~ [for="on1"] {
  transform: translateX(0);
  z-index: 4;
  visibility: visible;
}

/* form */

#feedback-form {
  width: 280px;
  margin: 0 auto;
  background-color: #fcfcfc;
  padding: 20px 50px 30px;
  box-shadow: 1px 4px 10px 1px #aaa;
  color: rgb(66, 124, 175);
}

#feedback-form * {
  box-sizing: border-box;
}

#feedback-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

#feedback-form input {
  margin-bottom: 15px;
}

#feedback-form input[type="text"],
[type="password"],
[type="tel"],
[type="date"] {
  display: block;
  font-family: "Bakemono";
  height: 32px;
  padding: 6px 16px;
  width: 100%;
  border: none;
  background-color: #f3f3f3;
}
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgb(118, 163, 202);
  opacity: 1; /* Firefox */
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: rgb(118, 163, 202);
}

#feedback-form label {
  color: rgb(66, 124, 175);
  font-size: 0.8em;
}

#feedback-form input[type="checkbox"] {
  float: left;
}

#feedback-form input:not(:checked) + #feedback-phone {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#feedback-form #feedback-phone {
  transition: 0.3s;
}

#feedback-form button[type="submit"] {
  display: block;
  margin: 20px auto 0;
  width: 160px;
  height: 40px;
  border-radius: 25px;
  border: none;
  color: rgb(66, 124, 175);
  font-weight: 700;
  box-shadow: 1px 4px 10px 1px #aaa;
}

@media screen and (max-width: 768px) {
  .main_img {
    float: none;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  div#footer-adaptive {
    position: unset;
  }
}
@media screen and (max-width: 768px) {
  div#footer-contacts {
    top: -10px;
    left: 0px;
  }
}

@media screen and (max-width: 768px) {
  .photos1 img {
    width: 90px;
  }
}

@media screen and (max-width: 768px) {
  .photos1 {
    width: 500px;
  }
}

@media screen and (max-width: 768px) {
  p {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  .column {
    font-size: 18px;
  }
}
@media screen and (max-width: 768px) {
  section#sect1 p {
    top: -165px;
  }
}
@media screen and (max-width: 768px) {
  section#sect1 h2 {
    top: -140px;
  }
}
