/* general */
.menuSwitch__icon {
    color: #FF3E3E;
}
.menuSwitch__text {
    color: #FF3E3E;
}
.main > .container {
    justify-content: flex-end;
}
.mainText__container {
    flex-grow: unset;
}
@media (min-width: 1100px) {
    .header {
        margin-bottom: 180px;
    }
}
@media (min-width: 1920px) {
    .header {
        margin-bottom: 9.375vw;
    }
}
/* general */

/* images */
.relative {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center bottom;
    position: relative;
    background-repeat: no-repeat;
}
.building {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.building__animation--1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
}
.building__animation--2 {
    flex-grow: 1;
    background-image: url('images/building.png');
    background-size: cover;
    background-position: center bottom;
    position: relative;
    background-repeat: no-repeat;
    animation-name: zoom-soft;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.horse {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.horse__animation--1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    animation-name: wave-horizontal-medium;
    animation-duration: 25s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.horse__animation--2 {
    flex-grow: 1;
    background-image: url('images/horse.png');
    background-size: cover;
    background-position: center bottom;
    position: relative;
    background-repeat: no-repeat;
}
.flare {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.flare__animation--1 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    animation-name: wave-horizontal-medium;
    animation-duration: 25s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.flare__animation--2 {
    flex-grow: 1;
    background-image: url('images/flare.png');
    background-size: cover;
    background-position: center bottom;
    position: relative;
    background-repeat: no-repeat;
    animation-name: zub;
    animation-duration: 2.5s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudBottom {
    top: 0;
    right: calc(50%);
    transform: translateX(60%) translateY(90%);
}
.cloudBottom img {
    width: 925px;
    max-width: none;
}
.cloudBottom__animation--1 {
    animation-name: wave-horizontal-hard;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudBottom__animation--2 {
    animation-name: wave-vertical-hard;
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudBottom__animation--3 {
    animation-name: opacity-half;
    animation-duration: 12s;
    animation-timing-function: ease-in-out;
    animation-delay: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudBottom__animation--4 {
    animation-name: zoom-medium;
    animation-duration: 15s;
    animation-timing-function: ease-in-out;
    animation-delay: 3s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudTop {
    top: 0;
    right: calc(50%);
    transform: translateX(30%) translateY(-10%);
}
.cloudTop img {
    width: 925px;
    max-width: none;
}
.cloudTop__animation--1 {
    animation-name: wave-horizontal-hard;
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-delay: .5s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudTop__animation--2 {
    animation-name: wave-vertical-hard;
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudTop__animation--3 {
    animation-name: opacity-half;
    animation-duration: 7s;
    animation-timing-function: ease-in-out;
    animation-delay: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.cloudTop__animation--4 {
    animation-name: zoom-medium;
    animation-duration: 12s;
    animation-timing-function: ease-in-out;
    animation-delay: 3s;
    animation-direction: alternate-reverse;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
/* images */

/* maintext */
.mainText__container {
    box-shadow: 0px 4px 50px #C6DDEC;
}
.mainText__container {
    padding-bottom: 43px;
}
@media (min-width: 600px) {
    .mainText__container {
        margin-left: 0;
        margin-right: auto;
    }
}
@media (min-width: 1920px) {
    .mainText__container {
        box-shadow: 0px 0.2083vw 2.60417vw #C6DDEC;
        padding-bottom: 2.239583vw;
    }
}
/* maintext */





 
	/*iPad fix */

@media  (min-width: 950px) and (max-width:1250px) and (min-height: 650px) and (max-height: 1000px) {  
	
	.mainText p:not(:last-child){
		margin-bottom: 1.75em;
	}
	body .mainText__container{
	    padding-bottom: 2em;
    	margin-top: auto;
    	flex-grow: 0;
	}
	.mainText__container { 
        box-shadow: 0px 0.2083vw 1.04vw #C7DAE7;
        padding-bottom: 0;
    }
	.mainText__container{
		max-width: 18.9vw;  
	}	.mainText__container .mainText {
	    padding-top: 4vw;
    	padding-left: 3.066vw;
	    margin-bottom: 1.56vw;
	}
	.mainText p{
		font-size: 0.9375vw;
	}
	.initial{
		font-size: 5.208vw;
	    margin-bottom: 0.1em;
	}
	.mainText__pagination {
	    padding: 0 1.666vw;
	}
	.pagination__bigBtnText {
	    font-size: 1.5625vw;
	    padding: 0 1.666vw;
	    margin-bottom: 1.04vw;
	    height: 4.375vw;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    border-radius: 0.52vw;
	}
	.pagination__bigBtn::before{
		border-radius: 1.04vw;
	    height: calc(100% + 0.208vw);
	}
	.pagination__link {
	    width: 3.802vw;
	    height: 3.645vw;
	    background-size: 1.1145vw auto;
	}
	.pagination__counter{
		margin: 0;
		font-size: 0.9375vw;
	} 
}

