/**************************************************************************************************/
/* ОБЩЕЕ ФОРМАТИРОВАНИЕ */

* { margin: 0px; 
    padding: 0px;
    box-sizing: border-box;                                                                         /* включения в качестве состаляющей части блочного элемента всех значений свойств width и height рамки и  отступов */
    font-size: 16px;
}

/* ОБЩЕЕ ФОРМАТИРОВАНИЕ */
/**************************************************************************************************/


/**************************************************************************************************/
/* HEADER background*/
@media (min-width: 1340px){ 
header{
    height: 1340px;   
}}
@media (max-width: 1339px){ 
    header{
        height: 670px;   
    }}

header{
    animation-name: change_background;
    animation-duration: 15.0s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes change_background{
    0%   {background-image: url(./pictures/background_1.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    20%  {background-image: url(./pictures/background_1.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    25%  {background-image: url(./pictures/background_2.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    45%  {background-image: url(./pictures/background_2.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    50%  {background-image: url(./pictures/background_3.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    70%  {background-image: url(./pictures/background_3.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    75%  {background-image: url(./pictures/background_4.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    95%  {background-image: url(./pictures/background_4.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
    100% {background-image: url(./pictures/background_1.jpg); background-size: 100% 100%; background-repeat: no-repeat;}
}
/* HEADER background*/
/**************************************************************************************************/


/**************************************************************************************************/
/* HEADER, width of div*/
.wrapper{
    margin-left: auto;
    margin-right: auto;
    padding-top: 2%;
}

@media (min-width: 1340px){ 
.wrapper{
    margin-left: 15%;
    margin-right: 15%;
}}

.wrapper ul{
    list-style-type: none;
}
/* HEADER, width of div*/
/**************************************************************************************************/


/**************************************************************************************************/
/* HEADER menu*/
.wrapper li{
    display: inline-block;
    margin: 0 30px;
}

.wrapper ul{
    margin: 0 auto;
    width: 45em;
}

.wrapper a{
    font-size: 2em;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.wrapper li:hover{
    background-color: rgba(255,255,255,0.4);
    border-radius: 10px;
}
/* HEADER menu*/
/**************************************************************************************************/


/**************************************************************************************************/
/* HEADER заголовок*/
@font-face{
    font-family: MarckScript;
    src: url(./fonts/MarckScript-Regular.ttf);
}

html{
    overflow-x: hidden;
}

.tours{
    font-family: MarckScript;
    width: 7.5em;
    height: 1em;
    font-size: 5.5em;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(-4deg);
    animation-name: caucasus;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes caucasus{
    0%   {top: 0px;}
    10%  {top: 10px;}
    20%  {top: -10px;}
    30%  {top: 0px;}
    100% {top: 0px;}
}
/* HEADER заголовок*/
/**************************************************************************************************/


/**************************************************************************************************/
/* Анимация с картинками*/
.wrapper_2{
    position: relative;
    height: 670px;
    background-image: url(./pictures/wrapper_2_background_1.jpg);
    background-position: 100% 84px;
    background-repeat: no-repeat;
    background-size: auto 75%;
}

@media (max-width: 1000px){
    .wrapper_2_inrernal{
        left: 5%;
    }}
@media (min-width: 1000px){
    .wrapper_2_inrernal{
        left: 20%;
    }}
@media (min-width: 2000px){
    .wrapper_2_inrernal{
        left: 35%;
    }}
@media (min-width: 3000px){
    .wrapper_2_inrernal{
        left: 50%;
    }}

.wrapper_2_inrernal{
    position: absolute;
    top: 20%;  
}

.wrapper_2_inrernal :nth-child(1){
    position: absolute;
    top: 20%;
    left: 20%;
    z-index: 1;
}

.wrapper_2_inrernal :nth-child(2):hover{
    transform: scale(1.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px 15px rgba(255,255,255,.5);
}

.wrapper_2_inrernal :nth-child(1):hover{
    transform: scale(1.2);
    box-shadow: 0 0 15px 15px rgba(255,255,255,.5);
}
/* Анимация с картинками*/
/**************************************************************************************************/

/**************************************************************************************************/
/* Анимация с текстом*/
.typing{
    position: relative;
    left: 5%;
    top: 50%;
    z-index: 3;
    width: 500px;
    animation: typing 3s steps(70), blink .3s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2em;
}
    
@keyframes typing{
  from {
    width: 0
  }
}
    
@keyframes blink{
  50% {
    border-color: transparent
  }
}
/* Анимация с текстом*/
/**************************************************************************************************/


/**************************************************************************************************/
/* Анимация с выезжающими картинками*/
.wrapper_3{
    height: 335px;
    text-align: center;
    background-image: linear-gradient(to bottom, white, lightskyblue);
}

.wrapper_3 img{
    display: inline-block;
    position: relative;
}

.wrapper_3 :nth-child(1){
    animation-name: first_picture;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
}

@keyframes first_picture{
    0%   {right: -1500px;}
    100% {right: 0%;}
}

.wrapper_3 :nth-child(2){
    animation-name: second_picture;
    animation-duration: 3.0s;
    animation-timing-function: ease-out;
}

@keyframes second_picture{
    0%   {right: -2000px;}
    100% {right: 0%;}
}

@media (max-width: 1023px){
    .wrapper_3{
        display: none;
    }}
/* Анимация с выезжающими картинками*/
/**************************************************************************************************/