/*!
Theme Name: Eigency
Theme URI:  https://krucialthemes.com/eigency/
Author: Theme-Downloaded
Author URI: https://themeforest.net/user/theme-downloaded/
Description: Eigency - Digital Agency Wordpress Theme
Version: 1.0.1
Requires PHP: 7.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: eigency
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/******** h1 **********/
.header-with-image {
  display: flex;
  align-items: center;
/*  justify-content: space-between;*/
  justify-content: flex-start;
}

.header-with-image h1 {
  margin: 0;
  font-size: 152px; /* Настройте размер шрифта по вашему усмотрению */
}

/*
.header-with-image img {
  max-height: 50px; 
  margin-left: 10px; 
}
*/




/******** h2 **********/
.header-with-image h2 {
    color: var(--e-global-color-eigency_headline);
    font-family: "Playfair Display", Sans-serif;
    font-size: 115px;
    font-weight: 600;
    text-transform: capitalize;
    font-style: italic;
    text-decoration: underline;
    line-height: 1em;
    margin-left: 0.2em;
}
img#agency_img{
  max-width: 100%; 
  height: auto; 
}

@media (max-width: 1400px) {
  .header-with-image h1 {
    font-size: 115px; /* Уменьшенный размер шрифта для планшетов */
  }
  .header-with-image h2 {
    font-size: 85px; /* Уменьшенный размер шрифта для планшетов */
  }
    img#agency_img{
      max-width: 42%; 
    }
  #welcome_text{
      width: 100%;
  }
}

@media (max-width: 1024px) {
  .header-with-image h1 {
    font-size: 77px; /* Уменьшенный размер шрифта для планшетов */
  }
  .header-with-image h2 {
    font-size: 50px; /* Уменьшенный размер шрифта для планшетов */
  }
    img#agency_img{
      max-width: 52%; 
      height: auto; 
    }
  #welcome_text{
      width: 100%;
  }
}

@media (max-width: 768px) {
  .header-with-image h1 {
    font-size: 55px; /* Уменьшенный размер шрифта для мобильных устройств */
  }
  .header-with-image h2 {
    font-size: 43px; /* Уменьшенный размер шрифта для мобильных устройств */
  }
    .header-with-image img[alt="star"] {
      max-width: 3em !important; 
    }
  img#agency_img{
      max-width: 20%; 
      height: auto; 
    }
  #welcome_text{
      width: 100%;
  }
}

@media (max-width: 480px) {
  .header-with-image h1 {
    font-size: 48px; /* Еще меньший размер шрифта для маленьких экранов */
  }
  .header-with-image h2 {
    font-size: 36px; /* Еще меньший размер шрифта для маленьких экранов */
  }
  #welcome_text{
      width: 100%;
  }
}

#welcome_text{
    margin: 0 auto;
}

/*****************/

.image-cell-left, .text-cell-right {
    position: relative;
}

.image-cell-left::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0; /* Измените на 'left: 0;' или другие значения, чтобы поместить изображение в нужный угол */
    width: 40%;
    height: 40%;
	min-width: 225px;
	min-height: 225px;
    background-image: url('http://moa.maxopen.com.ua/wp-content/uploads/2024/06/hero-small.jpg'); /* Укажите путь к второму изображению */
    background-size: cover; 
    background-position: center; 
    z-index: 1111; 
    vertical-align: middle;
    display: inline-block;
}
@media (max-width: 1700px) {
	.image-cell-left::after {
		right: -20px;
	}
}
@media (max-width: 1200px) {
	.image-cell-left::after {
		bottom: -5px;
	}
}
@media (max-width: 1024px) {
	.image-cell-left::after {
		min-width: 175px;
		min-height: 175px;
		bottom: 5px;
	}
}
@media (max-width: 767px) {
	.image-cell-left::after {
		right: 0px;
		bottom: 0px;
		min-height: 1px;
		min-width: 1px;
	}
}
.image-cell-left .elementor-widget-container {
	position: relative;
    width: fit-content;
    margin: 0px auto;
}
.email__link {
/*  	background: #c4ef17;*/
  	background: #0a9fa3;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	padding: 40px 35px;
  	position: absolute;
  	bottom: 0;
  	left: 0;
	width: 190px;
	height: 173px;
}
.email__link a {
	display: flex !important;
  	align-items: center;
	flex-direction: column;
	row-gap: 20px;
	font-size: 16px;
    font-weight: 600;
    text-transform: uppercase; 
	color: #000;
}
.email__link a span {
	color: #000;
	font-size: 54px;
    line-height: normal;
}
@media (max-width: 1200px) {
	.email__link {
		padding: 0px;
		width: 140px;
		height: 125px;
	}
	.email__link a {
		font-size: 14px;
	}
	.email__link a span {
		font-size: 35px;
	}
}
@media (max-width: 767px) {
	.email__link {
		width: 144px;
		height: 98px;
	}
	.email__link a {
		font-size: 14px;
		row-gap: 10px;
	}
	.email__link a span {
		font-size: 24px;
	}
}

/***** 14.06.2024 ******/
.marquee-white-font{
    color: white;
}
.marquee-green-font{
/*    color: #c4ef17;*/
    color: #0a9fa3;
}
.marquee-green-font, .marquee-white-font{
    font-size: 17px;
    font-weight: 600;
}
.marquee-container span.divider {
    position: relative;
    line-height: 1;
    margin: 0 30px;
    font-size: 18px;
/*    color: #c4ef17;*/
    color: #0a9fa3;
}






.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    padding: 10px 0;
    box-sizing: border-box;
}

.marquee {
    display: flex;
    width: 100%;
    animation: marquee 20s linear infinite;
	column-gap: 20px;
}

.marquee-content {
	display: flex;
	column-gap: 15px;
	align-items: center;
    flex: 0 0 50%;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.header__block {
	position: relative;
}
.header__block::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 5%; 
    width: 96px;
    height: 96px;
    background-image: url('http://moa.maxopen.com.ua/wp-content/uploads/2024/06/hero-shape.png'); 
    background-size: cover; 
    background-position: center; 
    z-index: 1111; 
    vertical-align: middle;
    display: inline-block;
}
@media (max-width: 1200px) {
	.header__block::after {
		width: 60px;
		height: 60px;
	}
}
@media (max-width: 767px) {
	.header__block::after {
		bottom: 30%;
		right: 2%;
		z-index: -1;
	}
}
@media (max-width: 475px) {
	.header__block::after {
		bottom: 23%;
	}
}

.marquee-container .fa-star-of-life {
    position: relative;
    line-height: 1;
    margin: 0 30px;
    font-size: 18px;
/*    color: #c4ef17;*/
    color: #0a9fa3;
}

.wpml-ls-current-language{
    height: fit-content !important;
    margin-top: 2em !important;
}
.wpml-ls-current-language .sub-menu a{
    padding: 15px 8px !important;
}
.wpml-ls-current-language .sub-menu{
    top: 70% !important;
}

@media (max-width: 1200px) {
    li.wpml-ls-item > a:hover {

    }
}
#portfolio__slider::after {
	content: '';
	display: block;
	width: 560px;
	height: 188px;
	filter: blur(120px);
	background: rgba(10, 159, 163, 0.5);
	position: absolute;
	bottom: -20px;
    left: -47px;
	z-index: -1;
}
.portfolio__block {
	display: grid;
	grid-template-columns: minmax(400px, 0.44fr) 1fr;
	gap: 30px 50px;
}
.portfolio__link {
	color: rgb(10, 159, 163);
	font-family: Goldman;
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	text-transform: uppercase;
	display: flex; 
	align-items: center;
	column-gap: 10px;
	margin-bottom: 20px;
}
.portfolio__link-image {
	display: flex;
	align-items: center; 
	justify-content: center;
	width: 31px;
	height: 31px;
	background: #0A9FA3;
}
.portfolio__title {
	color: rgb(255, 255, 255);
	font-size: 50px;
	font-weight: 700;
	line-height: 63px;
	text-transform: uppercase;
	margin-bottom: 30px;
}
.portfolio__left p {
	color: rgb(131, 130, 127);
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	margin-bottom: 30px;
}
.portfolio__order {
	color: rgb(1, 1, 1);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: 0.75px;
	text-align: center;
	text-transform: uppercase;
	width: 273px;
	padding: 20px 0px;
	margin-bottom: 50px;
	background: var(--eigency-primary-color);
}
.portfolio__order:hover {
	color: #fff;
	background: var(--eigency-secondary-color);
}
.portfolio__stack {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px 10px;
}
.portfolio__stack-image {
	background: #000;
	border-radius: 50%;
	width: 90px;
	height: 90px;
	display: flex;
	align-items: center; 
	justify-content: center;
	margin-bottom: 14px;
}
.portfolio__stack-item h4 {
	color: rgb(255, 255, 255);
	font-family: Goldman;
	font-size: 18px;
	font-weight: 400;
	line-height: 38px;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 0px;
}
.portfolio__arrows {
	display: flex;
	align-items: center; 
	justify-content: space-between;
	margin-top: 10px;
}
.portfolio__arrows button {
	color: rgb(255, 255, 255);
	font-size: 22px;
	font-weight: 600;
	line-height: 28px;
	display: flex;
	align-items: center; 
	column-gap: 20px;
	background: transparent;
	border: none;
	padding: 0px;
	width: fit-content;
}
.portfolio__prev img {
	transform: rotate(180deg);
}
@media (max-width: 1440px) {
	.portfolio__block {
		grid-template-columns: minmax(350px, 0.44fr) 1fr;
		column-gap: 30px;
	}
	.portfolio__title {
		font-size: 40px;
		line-height: 46px;
		margin-bottom: 25px;
	}
	.portfolio__left p {
		line-height: 18px;
		margin-bottom: 25px;
	}
	.portfolio__order {
		margin-bottom: 35px;
	}
	.portfolio__stack-image {
	    width: 80px;
		height: 80px;
		padding: 20px;
	}
	.portfolio__stack-item h4 {
		font-size: 16px;
	}
}
@media (max-width: 1200px) {
	#portfolio__slider::after {
		bottom: 50%;
	}
	.portfolio__block {
		grid-template-columns: 1fr;
	}
	.portfolio__stack {
		justify-content: start;
		column-gap: 24px;
	}
}
@media (max-width: 767px) {
	.portfolio__title {
		font-size: 30px;
		line-height: 35px;
		margin-bottom: 20px;
	}
	.portfolio__left p {
		margin-bottom: 30px;
	}
	.portfolio__order {
		padding: 18px 0px;
		margin-bottom: 30px;
	}
	.portfolio__arrows button {
		font-size: 18px;
		line-height: 22px; 
		column-gap: 15px;
	}
	.portfolio__arrows button img {
		width: 45px;
	}
}
@media (max-width: 475px) {
	#portfolio__slider::after {
		bottom: 35%;
	}
	.portfolio__arrows button {
		font-size: 16px; 
		column-gap: 12px;
	}
	.portfolio__arrows button img {
		width: 35px;
	}
	.portfolio__stack {
		column-gap: 20px;
	}
	.portfolio__stack-image {
		width: 70px;
        height: 70px;
	}
}

.eigency-site-logo a img {
    max-width: 125px;
}
.eigency-video-popup{
    visibility: hidden;
}

