/*
Theme Name: Авторская тема
Description: Тема сайта для Wordpress
Author: Дмитрий Костерин
Author URI: https://dkosterin.ru
License URI: https://dkosterin.ru
Version: 5.0
License: Dmitry Kosterin
Tags: black, white
*/

:root {
  --color: #1f252b;
  --color-l: #558592;
  --color-s: #848484;
  --color-w: #ffffff;
  --swiper-theme-color: #595151 !important;
}

html {
  font-size: 17px;
}

* {
  font-family: "Overpass", sans-serif;
}

p {
  color: var(--color);
  margin: 10px 0;
}

p a {
  color: var(--color-w);
  text-decoration: none;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  display: inline-block;
  cursor: pointer;
  font-size: 1.2em;
}

h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 1.5em auto 1em auto;
  color: var(--color);
}

.header-bottom p {
  font-size: 1.5rem;
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
  color: var(--color-w);
  filter: drop-shadow(2px 2px var(--color));
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 1.5em auto 1em auto;
  text-align: center;
  color: var(--color);
}

h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin: calc(var(--mx) * 0.5) 0;
}

h4 {
  font-size: 1.2rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h5 {
  font-size: 1.1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

h6 {
  font-size: 1rem;
  margin: calc(var(--mx) * 0.5) 0;
}

hr {
  margin: 1em auto;
  width: 100px;
  color: var(--color);
}

iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: 0.5em 0;
}

/* menu */

nav {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100vh;
}

nav a {
  color: var(--color);
}

.menu {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}

.menu-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: 0.5s;
  transform: translate(-3000px);
  z-index: 10;
}

.menu-block {
  position: absolute;
  align-items: end;
  bottom: 0;
  padding: 0 0 2em 2em;
  width: 100%;
  height: 100vh;
  z-index: 10;
}

.menu-mobile li {
  text-align: left;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-mobile a {
  color: var(--color-w);
  padding: 5px;
  transition: 0.5s all;
}

.menu-mobile li a:hover {
  background: var(--color-l);
}

.sub-menu {
  max-height: 0;
  opacity: 0;
  left: 0;
  transition: all 1s;
}

.sub-menu.active-menu {
  background: var(--color);
  text-align: left;
  display: block;
  position: relative;
  top: 0;
  left: 20px;
  max-height: 1000px;
  opacity: 1;
  transition: all 1s;
}

.menu-next {
  margin-left: 10px;
  color: var(--color);
  cursor: pointer;
}

/* hamburger */

.hamb {
  position: absolute;
  width: 90px;
  top: 2em;
  z-index: 100;
  cursor: pointer;
  transition: transform 0.5s;
  user-select: none;
  right: 25px;
}

.hamb~.menu-bg {
  background: linear-gradient(180deg, rgb(255, 206, 236) 0%, rgb(152, 150, 240) 100%) !important;
}

.hamb path {
  fill: none;
  stroke: var(--color-w);
  stroke-width: 6;
  stroke-linecap: round;
}

.hamb.active path {
  stroke: var(--color-w);
}

.hamb.active {
  transform: rotate(180deg);
}

.hamb .top {
  stroke-dasharray: 40 82;
}

.hamb .bottom {
  stroke-dasharray: 40 82;
}

.hamb.active .top {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}

.hamb.active .bottom {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}

/* main */

aside {
  margin: 1em 0;
  color: var(--color);
  height: min-content;
}

/* advantage */

.advantage li {
  justify-content: center;
  align-items: center;
}

.advantage div {
  text-align: center;
}

.advantage img {
  max-width: 200px;
}

/* search */

#searchform {
  display: flex;
}

#searchform input {
  width: 100%;
  height: 50px;
  padding: 10px;
}

#searchform button {
  width: 50px;
  height: 50px;
  background-color: var(--color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
}

/* pattern */

.stk-98fcf36 {
  background-image: linear-gradient(#b0a8e326, #f9d1ea),
    url("https://www.phoenix-fc.co/img/slider/slide1.jpg") !important;
  min-height: 500px !important;
  background-size: cover;
  background-position: center;
  align-items: center;
  display: flex;
}

.stk-895b791-container {
  padding: 0 15%;
}

.stk-895b791-container p {
  font-size: 1.4rem;
  color: var(--color-w);
  filter: drop-shadow(2px 2px var(--color));
  background: none !important;
  box-shadow: none !important;
  margin-left: 0 !important;
}

.stk-block-count-up__text {
  font-size: 5rem !important;
  font-weight: bold;
  color: var(--color-w);
  filter: drop-shadow(2px 2px var(--color));
}

.stk-block-subtitle__text.stk-subtitle {
  font-size: 1.3rem;
  margin-left: -20px;
  background: var(--color-w);
  padding: 3px 10px;
  border-radius: 15px;
  box-shadow: 2px 1px var(--color);
}

.stk-block-content.stk-inner-blocks.stk-c694260-inner-blocks {
  width: fit-content;
  margin: auto;
  max-height: 400px;
}

.stk-block-content.stk-inner-blocks.stk-d4ce43f-inner-blocks {
  background-image: linear-gradient(#f9d1ea00 60%, #f9d1ea), url("https://itvzglyad.ru/wp-content/uploads/2024/01/zagag.png") !important;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  min-height: 500px;
  margin: auto;
}

.stk-661afe6-column,
.stk-9f1d4a7-column,
.stk-b3cd5c4-column {
  width: fit-content !important;
  justify-content: right !important;
}

.stk-b3cd5c4,
.stk-661afe6,
.stk-9f1d4a7 {
  padding: 0 !important;
  display: flex;
}

.stk-block-blockquote__content {
  background: none !important;
  box-shadow: none !important;
}

.stk-fd6c53f {
  background: #ffceec;
}

.stk-block-blockquote__content {
  width: fit-content;
  margin: auto;
}

.stk-block.stk-7523884 {
  width: 80vw;
  margin: auto;
}

.stk-661514d p {
	max-width: 500px;
	padding: 0 !important;
}

.stk-fd6c53f p {
  max-width: 400px;
}

.stk-98fcf36 {
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

/* footer */

footer {
  background: #9896f0;
  padding: 0 1em 1em 1em;
  text-align: center;
  justify-content: center;
  color: var(--color-w);
}

footer span {
  font-size: 1.3rem;
}

.footer-site {
  text-align: center;
}

footer p {
  color: var(--color);
}

footer a {
  color: var(--color);
}

.social {
  display: flex;
  justify-content: center;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 1.5rem;
  margin: 0.2em;
}

/* 
** Contact Form 7 Styles 
*/
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="search"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  color: #1f252b;
  width: 100%;
  padding: 12px 16px;
  border-radius: 0;
  border: 0;
  outline: 2px solid #9896f0;
}

.wpcf7-form p {
  margin: 0 0 28px;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus {
  outline: 2px solid #9896f0;
  outline-offset: 0;
}

.wpcf7-submit {
  border: 0;
  background: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%) !important;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  font-size: 1.2em;
  transition: .3s ease;
  opacity: 1;
}

.wpcf7-submit:hover {
opacity: 0.8;
}

div.wpcf7-acceptance-missing,
div.wpcf7-validation-errors {
  border: 0;
  background: #9896f0;
  color: #fff;
  padding: 18px;
}

span.wpcf7-not-valid-tip {
  color: #9896f0;
}

/* 
** Button Styles 
*/
.wpcf7-form .button {
  background-color: #14e2ae;
  border: 0;
  color: #fff;
  border-radius: 1px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 15px;
  width: auto;
  padding: 20px 42px;
  letter-spacing: 2px;
  font-size: 14px;
}

.wpcf7-form .button:hover {
  cursor: pointer;
  box-shadow: 0px 7px 16px -7px rgba(0, 0, 0, 0.4);
  border: 0;
}

.stk-04a584a a {
  color: var(--color-b);
  font-size: 1em;
}

/* mobile */

@media (max-width: 1200px) {
  .stk-row.stk-inner-blocks.stk-block-content.stk-content-align.stk-fd6c53f-column {
    flex-wrap: wrap !important;
  }

  .wp-block-stackable-column.stk-block-column.stk-column.stk-block.stk-d4ce43f,
  .wp-block-stackable-column.stk-block-column.stk-column.stk-block.stk-c694260 {
    flex: 1 1 100% !important;
  }
}


@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .hamb {
    width: 75px;
  }

  .stk-98fcf36 {
    min-height: 500px !important;
  }

  .stk-block-count-up__text {
    font-size: 3rem !important;
  }

  .stk-block-subtitle__text.stk-subtitle {
    font-size: 1.2rem !important;
    margin-left: -5px !important;
  }
	
	.stk-block-separator__inner {
		height: 150px !important;
	}
}

@media (max-width: 576px) {

  .stk-b3cd5c4>div>div,
  .stk-661afe6>div>div,
  .stk-9f1d4a7>div>div {
    width: 100% !important;
  }

  .stk-b3cd5c4>div>div>div>div>div,
  .stk-661afe6>div>div>div>div>div,
  .stk-9f1d4a7>div>div>div>div>div {
    margin: auto !important;
  }

  .stk-block-content.stk-inner-blocks.stk-d4ce43f-inner-blocks {
    min-height: 300px !important;
  }

  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 400px) {}