/*!
Theme Name: UAA_THEME
Theme URI: https://uaateam.agency/
Author: uaateam
Author URI: https://uaateam.agency/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: uaa_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

.menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 600px;
    height: 100%;
    background: linear-gradient(90deg, #EE5543 -166.86%, rgba(238, 85, 67, 0) 100%);
    transition: right 0.3s ease;
    z-index: 9999;
    background-color: #1A2326;
}

.menu-container.show {
    right: 0;
}

@media (hover: hover) {
    .close-button:hover {
        color: #EE5543;
    }
}

@media (hover: hover) {
    #closeModal {
        transition: color .43s;
    }
}

.close-button {
    --size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--size);
    height: var(--size);
    padding: 0;
    margin-left: auto;
    margin-bottom: 20px;
    color: rgba(209, 209, 209, 0.32);
    background-color: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: var(--size);
	
	z-index: 1;
}

.menu-title {
	pointer-events: none;
	display: flex;
	align-items: center;
    position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	
	font-size: clamp(168px, 27.5vh, 220px);
	color: transparent !important;
    -webkit-text-stroke: 1px #EE5543 !important;
    text-stroke: 1px #EE5543 !important;
    text-shadow: none !important;
	font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "slnt" 0;
}

@media only screen and (max-width: 500px) {
	.menu-title {
		right: -.5em;
	}
}

.menu-title span {
	writing-mode: vertical-lr;
	transform: rotate(200grad);
}

.menu_nav {
	position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 50px 20px;
    overflow-y: auto; /* Добавлено для прокрутки */
	overflow-x: hidden;
    max-height: 100vh; /* Добавлено для ограничения высоты */
}

.menu_nav ul {
	position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-grow: 1; /* Allow ul to grow and fill the container */
}

.menu_nav ul li {
    margin: 10px 0; /* Adjusted for spacing */
}

.menu_nav ul li a {
    color: #a9a9a9;
    text-decoration: none;
    font-size: 24px;
    font-family: "Jura", sans-serif;
    transition: color 0.3s, transform 0.3s;
}

.menu_nav ul li a.active,
.menu_nav ul li a:hover {
    color: #ffffff;
}

@media (hover: hover) {
	.menu_nav ul li a:hover {
		padding-left: 30px;
	}

	.menu_nav ul li a {
		transition: padding .43s
	}
	
	.menu_nav ul li a.active:hover::after {
		margin-left: 30px;
	}
}

.menu_nav ul li a.active::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #ffffff;
    margin-top: 5px;
	transition: margin .43s
}

@media (max-width: 768px) {
    .menu_nav ul li a {
        font-size: 20px;
    }
}


.footer-form > .wpcf7 >.wpcf7-form > .form-row > .textarea-wrapper > textarea {
    width: 100%;
    height: 65px;
 }

 .header-lang-swither-mobile {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .header .header-lang-swither {
      display: none;
    }

    .header-lang-swither-mobile {
      display : block;
      position: relative;
    }

    .header-lang-swither-mobile select {
      display         : flex;
      align-items     : center;
      justify-content : space-between;
      height          : 48px;
      padding         : 0 16px;
      color           : #d1d1d1;
      font            : inherit;
      font-weight     : inherit;
      font-size       : inherit;
      font-size       : 14px;
      font-weight     : 300;
      background-color: transparent;
      border           : none; 
      border-radius   : 24px;
      cursor          : pointer;
    }
  }