/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

@font-face {
  font-family: 'badscript';
  src: url('../fonts/BadScript-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*===== VARIABLES CSS =====*/
:root {
  /*========== Colors ==========*/
  --primary-color: #d9eaed;
  --primary-color-border: #315fad;
  --onPrimaryColor: #bedbdf;
  --primary-color-hover: #2f9cce;
  --color-purple: #5361ff;
  --title-color: #0b1f35;
  --text-color: #5b5757;
  --text-color-light: #fefbfb;
  --body-color: #fefbfb;
  --container-color: #fff;
  --border-color: #e5e5e5;

  /*========== Font and typography ==========*/
  --body-font: "Montserrat", sans-serif;
}

/*========== BASE ==========*/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  min-height: 100%;
}

body {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-x: hidden;
  font-family: var(--body-font) !important;
  background-color: var(--body-color);
  color: var(--title-color);
  font-weight: 500;
  line-height: 1.6;
}


h1,
h2,
h3,
ul,
p {
  margin: 0;
  list-style: none;
}
p {
  line-height: 28px;
  font-size: 17px;
  font-family: -apple-system, BlinkMacSystemFont, var(--body-font), Segoe UI,
    Roboto, Helvetica, Ubuntu, Cantarell, Arial, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol;
}
h1,
h2,
h3 {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}
section {
  padding: 25px 0;
}
section .c-button--gooey {
  font-size: 0.85em;
}
.container {
  max-width: 1250px;
  padding: 0 18px;
  margin: 0 auto;
}

.sec-title {
  font-size: 38px;
  font-weight: 600;
  color: var(--title-color);
  line-height: 48px;
  padding-bottom: 18px;
}
.sec-title:after {
  content: "";
  display: block;
  margin-top: 5px;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
}
.main_btn {
  border: 1px solid var(--primary-color-border);
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color-border);
  display: inline-block;
  border-radius: 5px;
  transition: 0.15s ease-in-out;
}
.main_btn:hover {
  background: var(--primary-color-border);
  color: #fff;
}
.header_logo {
  display: none;
  font-family: "badscript" !important;
  white-space: nowrap;
  color: var(--title-color);
  padding: 19px 0;
  font-weight: 700;
  font-size: 18px;
}
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 800ms;
  display: none;
  font-weight: 300;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 600;
  position: fixed;
  top: 3px;
  right: 0;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.ham .line {
  fill: none;
  transition: stroke-dasharray 800ms, stroke-dashoffset 800ms;
  stroke: var(--title-color);
  stroke-width: 4;
  stroke-linecap: round;
}
.ham4 .top {
  stroke-dasharray: 40 121;
}
.ham4 .bottom {
  stroke-dasharray: 40 121;
}
.ham4.active .top {
  stroke-dashoffset: -68px;
}
.ham4.active .bottom {
  stroke-dashoffset: -68px;
}
.header_workplace_wrapper {
  background: var(--primary-color);
  background-image: url(http://zabalueva-marina.ru/wp-content/uploads/2023/07/school.jpg);
}
.header_workplace {
  padding: 12px 0;
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
}
/* header */
.header {
  background: var(--primary-color);
  width: 100%;
}
.header .container {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--onPrimaryColor);
  border-bottom: 1px solid var(--onPrimaryColor);
}
.header__text {
  width: 100%;
  display: none;
  text-align: center;
  padding-right: 38px;
}
.header__content {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.header__top {
  display: none;
}
.header__menu,
.header__menu-wrap {
  display: flex;
  padding-left: 6px;
  align-items: center;
}
.header__menu-item a {
  font-size: 15px;
  color: var(--title-color);
  padding: 0 9px;
  transition: 0.25s ease-in-out;
}
.header__menu-item a:first-child {
  padding: 0 9px 0 0;
}
.header__menu-item a:hover,
.header__bottom a:hover,
.submenu__item-price:hover {
  color: var(--primary-color-hover) !important;
}
.header__bottom-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__bottom-menu-item {
  position: relative;
  display: flex;
}
.submenu {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  min-width: 275px;
  padding: 1.2rem;
  opacity: 0;
  transition: all 250ms ease-in;
  visibility: hidden;
  display: block;
  border: none;
  color: var(--title-color);
  background: var(--primary-color);
  border-radius: 1rem;
  box-shadow: 0px 10px 30px 0px rgb(0 0 0 / 15%);
}
.header__bottom-menu-item:hover .submenu {
  visibility: visible;
  opacity: 1;
  top: 120%;
}
.active-menu .submenu {
  transform: translate(0);
}
.submenu__item-link {
  color: var(--title-color);
  padding: 2px;
}
.submenu__item {
  padding: 6px 0;
  line-height: 20px;
  text-align: center;
}
.active-menu .submenu__item {
  padding: 4px 0 !important;
  text-align: left;
}
.active-menu .submenu__item-link {
  color: #5a5a5a;
  padding: 1px;
}
.header__menu .submenu {
  position: relative;
  top: auto;
  left: 0;
  opacity: 1;
  visibility: visible;
  text-align: left;
  min-width: auto;
  padding: 0.2rem 1rem;
  background: var(--container-color);
  box-shadow: none;
}
.header__menu,
.header__menu-wrap {
  align-items: baseline !important;
}
/* header bottom */
.header__bottom {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  padding: 12px 0;
  width: 100%;
  z-index: 25;
}
.header__bottom-item {
  display: flex;
  flex-direction: column;
  padding: 0 35px;
  width: 50%;
  text-align: right;
}
.header__logo-link {
  margin-right: auto;
}
.header__bottom-link,
.header__bottom-contact {
  color: var(--title-color);
  transition: 0.15s ease-in-out;
  text-transform: uppercase;
  padding: 3px 15px;
  text-align: center;
  font-size: 15px;
}
/* main */
.main {
  padding-top: 25px;
  background: var(--primary-color);
}
.main .container {
  display: flex;
  padding: 40px 50px;
  margin-bottom: 30px;
  border-radius: 20px;
	width: 100%;
}
.main__text {
  width: 50%;
  padding: 100px 0px;
}
.main_upTitle {
  font-size: 16px;
  color: var(--text-color);
}
.main__title {
  font-size: 34px;
  line-height: 43px;
  font-weight: 700;
  padding-bottom: 18px;
  color: var(--title-color);
}
.main_info {
  margin-bottom: 18px;
}
.main__img {
  display: flex;
	position:relative;
	width: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.main__img img {
  min-width: 430px;
  border-radius: 5px;
  height: 540px;
  object-fit: cover;
  position: absolute;
  top: 0;
}

/* quest */
.single_section {
  min-height: 500px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::-moz-list-bullet {
  list-style-type: none;
}
summary::marker {
  display: none;
}
summary {
  padding: 0.3em 0.6em 0.3em 1.5em;
  display: inline-block;
  width: 100%;
  font-size: 1.4em;
  cursor: pointer;
  position: relative;
}
summary:before {
  left: 0.3em;
  top: 0.4em;
  color: transparent;
  background: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIzNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOC41OSAxNi4zNGw0LjU4LTQuNTktNC41OC00LjU5TDEwIDUuNzVsNiA2LTYgNnoiLz48L3N2Zz4=")
    no-repeat 50% 50% / 1em 1em;
  width: 1em;
  height: 1em;
  content: "";
  position: absolute;
  transition: transform 0.5s;
}
details[open] > summary:before {
  transform: rotateZ(90deg);
}
summary ~ * {
  padding: 0 1em 0 1em;
}
details[open] summary ~ * {
  animation: sweep 0.5s ease-in-out;
}
@keyframes sweep {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
summary:focus {
  outline: 0;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3), inset 0 0 2px rgba(0, 0, 0, 0.3);
}
details {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
details:last-child {
  border-bottom: 0;
}
details p {
  margin-top: 10px;
}

/* post */
.avoid_section {
  min-height: 500px;
}
.post__wrapper {
  margin: 0px 0 35px;
  display: flex;
  flex-wrap: wrap;
}
.posts__item {
  margin: 20px 10px;
  width: calc(33% - 20px);
  display: flex;
  flex-direction: column;
}
.posts__item-img {
  width: 100%;
  height: 290px;
  max-height: 300px;
  position: relative;
}
.posts__item-img img {
  height: 290px;
  border-radius: 5px;
  object-fit: cover;
  width: 100%;
}
.posts__item-name {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  padding: 12px 0 14px;
}
.posts__item-name a {
  color: var(--title-color);
  font-weight: 700;
}
.posts__item-desc {
  color: var(--title-color);
  font-size: 15px;
  margin-bottom: 12px;
}
.posts_item_btn {
  border: 1px solid var(--primary-color-border);
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  background: var(--body-color);
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: var(--primary-color-border);
  display: inline-block;
  border-radius: 5px;
  transition: 0.15s ease-in-out;
  margin-top: auto;
}
.posts_item_btn:hover {
  border-radius: 25px;
  color: #fff;
  background: var(--primary-color-border);
}

/* contact */
.contact {
  padding-top: 25px;
  background: var(--primary-color);
}
.contact .sec-title {
  color: var(--title-color);
}
.contact__wrapper {
  display: flex;
  padding-top: 0px;
}
.contact__wrapper-right,
.contact__wrapper-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  width: 50%;
  padding: 20px;
}
.contact__wrapper-left {
  text-align: center;
  position: relative;
}
.contact__wrapper-left .contact__wrapper-left-title {
  font-size: 28px;
  line-height: 38px;
  color: var(--title-color);
  z-index: 1;
  position: relative;
}
.contact__wrapper-left p {
  max-width: 400px;
  color: var(--title-color);
  margin: 0 auto;
  z-index: 1;
  position: relative;
  padding-top: 18px;
}
.contact__wrapper-left .quest {
  font-size: 400px;
  color: var(--onPrimaryColor);
  opacity: 0.3;
  position: absolute;
  user-select: none;
  line-height: 400px;
  top: 50%;
  left: 50%;
  transition: 0.3s ease-in-out;
  transform: translate(-50%, -50%);
}
.contact__wrapper-left:hover .quest {
  transform: translate(-50%, -60%);
}
.contact__wrapper-right form {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.contact .success {
  color: green;
  font-weight: bold;
  letter-spacing: 0.5px;
}
button.remodal-close {
  border: none;
}
.contact__wrapper-right form input,
.contact__wrapper-right form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid rgb(167, 167, 167);
  margin: 7px 0;
  border-radius: 5px;
  resize: none;
}
.contact__wrapper-right form textarea {
  height: 150px;
}
fieldset {
  display: flex;
  flex-direction: column-reverse;
  border: none;
  outline: none;
  margin: 1px 0;
}
.contact-form {
  width: 100%;
}
.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100% !important;
}
div.wpforms-container-full {
  margin: 0 auto !important;
}
.wpforms-container .wpforms-submit-container {
  padding: 0 !important;
}
.contact__whatsapp {
  padding: 10px 18px;
  font-size: 15px;
  display: flex;
  align-items: center;
  margin-top: 14px;
  color: var(--text-color-light);
  background: #25d366;
  transition: 0.15s ease-in-out;
  border-radius: 5px;
  width: fit-content;
}
.contact__whatsapp:hover {
  border-radius: 25px;
  background: #24c55f;
}
.contact__whatsapp i {
  padding-left: 6px;
  font-size: 19px;
}

/* footer */
.footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #3d78b0;
  padding: 30px 0;
}
.footer:before{
  z-index: -1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url(http://zabalueva-marina.ru/wp-content/uploads/2023/07/school.jpg);
  background-size: cover;
  opacity: 0.2;
}
.footer .container {
  max-width: 1100px;
  text-align: center;
  color: var(--text-color-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer_logo {
  display: none;
  font-family: "badscript" !important;
  white-space: nowrap;
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--text-color-light);
}
.footer_link {
  font-size: 26px;
  color: var(--text-color-light);
  letter-spacing: 1px;
  display: block;
  font-weight: 800;
  transition: 0.15s ease-in-out;
  margin-bottom: 5px;
}
.footer_link:hover {
  color: var(--onPrimaryColor);
}
.footer_address {
  font-size: 16px;
  padding: 30px 0;
  font-weight: 400;
}
.footer_rights {
  font-size: 14px;
  font-weight: 400;
  color: var(--onPrimaryColor);
  padding-top: 5px;
}
.footer__dev {
  display: flex;
  justify-content: center;
}
.footer__dev a {
  font-size: 14px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-color-light);
}
.footer__dev a img {
  width: 17px;
  margin-left: 5px;
  filter: invert(1);
}
.footer-social a i {
  background: #181818;
  color: var(--text-color-light);
}
.other-foot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.other-foot img {
  max-width: 120px;
}
.footer iframe {
  display: flex;
  margin: 20px auto 0 auto;
}
.XYyMK {
  position: relative !important;
}

/* whatsapp fixed */
.whatsapp-fixed {
  position: fixed;
  bottom: 40px;
  right: 40px;
  transition: 0.3s ease-in-out;
  z-index: 10;
}
.whatsapp-fixed a i {
  font-size: 40px;
  padding: 20px;
  border-radius: 50%;
  color: var(--text-color-light);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  animation: whatsappscale 2s ease-out;
  animation-iteration-count: infinite;
}
.wa-fixed a i {
  background: #43d854;
}
.wa-fixed {
  display: none;
}
.vk-fixed a i {
  background: #0077ff;
}
.whatsapp-fixed:hover {
  transform: rotate(-360deg);
}
.whatsapp-fixed:hover a i {
  animation: none;
}
@keyframes whatsappscale {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(1.15, 1.15);
  }
  50% {
    transform: scale(1, 1);
  }
}


/* gallery */
.gallery-gm1 {
  margin: 40px 0;
}
#photo-gallery {
  overflow: hidden;
}
#photo-gallery .row {
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}
#photo-gallery .row img {
  object-fit: cover;
  max-width: 350px;
  height: 100%;
  width: 100%;
}
#photo-gallery .row a {
  animation: op-img 0.6s ease forwards;
  margin: 8px;
  max-width: 335px;
  max-height: 335px;
  width: 100%;
}
@keyframes op-img {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#title-bg {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
#title-bg span {
  border: 1px solid var(--primary-color-border);
  padding: 12px 24px;
  font-size: 18px;
  cursor: pointer;
  text-transform: uppercase;
  color: var(--primary-color-border);
  display: inline-block;
  border-radius: 5px;
  transition: 0.15s ease-in-out;
}
#title-bg span:hover {
  background: var(--primary-color-border);
  color: #fff;
}


/* contact single */
.main-single {
  padding: 25px 0;
  background: var(--primary-color);
}
.main_text_single {
  width: fit-content;
  max-width: 700px;
  border-radius: 3px;
  padding: 20px 40px;
  background: var(--body-color);
}
.main_title_single {
  font-size: 28px;
  line-height: 38px;
}
.contact-single {
  background: var(--body-color);
}




@media screen and (max-width: 990px) {
  .main .container {
    flex-direction: column;
    align-items: center;
  }
  .main__text {
    width: 100%;
    text-align: center;
    padding: 0;
    padding-bottom: 40px;
  }
  .main__img {
    width: 100%;
  }
  .main__img img {
    position: relative;
  }
}
@media screen and (max-width: 950px) {
  .contact__whatsapp {
    font-size: 15px;
  }
  .contact__whatsapp i {
    font-size: 19px;
  }
}
@media screen and (max-width: 860px) {
  .header_workplace {
    display: none;
  }
  .header {
    position: fixed;
    top: 0;
    z-index: 10;
  }
  .header__bottom {
    display: none;
  }
  .header__top {
    border-bottom: none;
    display: flex;
  }
  .header__menu-wrap {
    position: fixed;
    top: 0;
    left: 0;
    background: var(--container-color);
    z-index: 35;
    width: 100%;
    transform: translateY(-115%);
    padding: 20px;
    border-radius: 0 0 15px 15px;
    transition: 0.5s ease-in-out;
  }
  .header__menu-wrap.active-menu {
    transform: translateY(0px);
  }
  .header__menu-item {
    margin: 4px 0;
  }
  .header__menu-item a {
    font-size: 17px;
    text-transform: initial;
    padding: 6px !important;
  }
  .ham {
    display: initial;
  }
  .header_logo {
    display: inline;
  }
  .header__menu, .header__menu-wrap {
    flex-direction: column;
  }
  .main .container {
    padding: 75px 40px 40px;
  }
  .main-single {
    padding: 90px 0 25px;
  }
  .main_text_single {
    padding: 20px 40px;
  }
}
@media screen and (max-width: 820px) {
  p {
    line-height: 28px;
    font-size: 16px;
  }
  .sec-title {
    font-size: 32px;
    line-height: 46px;
  }
  /* footer */
  .footer__wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 20px;
  }
  .footer__column {
    margin: 8px 0 13px 0;
    width: calc(50% - 26px);
    text-align: center;
  }
  .footer__column h3 {
    display: table;
    margin: 0 auto 8px auto;
  }
}
@media screen and (max-width: 770px) {
  .contact__wrapper {
    flex-direction: column;
    padding-top: 30px;
  }
  /* contact */
  .contact__wrapper-right,
  .contact__wrapper-left {
    width: 100%;
  }
  .contact__wrapper-right {
    padding: 20px 0 20px 20px;
  }
}
@media screen and (max-width: 670px) {
  /* posts */
  .posts__item {
    width: calc(50% - 20px);
  }
}
@media screen and (max-width: 500px) {
  .main {
    padding-top: 70px;
  }
  .main .container {
    padding: 40px 20px;
  }
  .main__img img {
    min-width: 100%;
    height: auto;
  }
  .main__title {
    font-size: 24px;
    line-height: 36px;
  }
  .main_upTitle {
    font-size: 13px;
  }
  p {
    line-height: 24px;
    font-size: 14px;
  }
  .main_btn {
    font-size: 12px;
  }
  .sec-title {
    font-size: 26px;
  }
  /* contact */
  .contact__wrapper-right, .contact__wrapper-left {
    padding: 0 0 20px !important;
    overflow: hidden;
  }
  .contact__wrapper-left .quest {
    font-size: 320px;
  }
  .contact__wrapper-left:hover .quest {
    transform: translate(-50%, -50%);
  }
  .contact__wrapper-left .contact__wrapper-left-title {
    font-size: 22px;
    line-height: 32px;
  }
  .form-fieldset span {
    font-size: 14px;
  }
  .formBtn {
    font-size: 16px !important;
  }
  .contact__wrapper-right .col {
    flex-direction: column;
    align-items: baseline;
  }
  .contact__whatsapp {
    margin-left: 0;
  }
  /* footer */
  .footer_logo {
    font-size: 26px;
  }
  .footer_link {
    font-size: 21px;
    margin-bottom: 0;
  }
  .footer_address {
    font-size: 14px;
    line-height: 20px;
  }

  /* single */
  .main_text_single {
    padding: 15px 30px;
  }
  .main_title_single {
    font-size: 22px;
  }

  /* posts */
  .posts__item {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .post__item-btn {
    margin: 0 auto;
    text-align: center;
  }

  /* portfolio */
  .portfolio_desc p {
    font-size: 16px;
  }
}