* {
    margin: 0; /* внешний отступ на всех четырёх сторонах элемента */
    padding: 0; /*  внутренние отступы/поля со всех сторон элемента */
    border: 0;
    box-sizing: border-box; /* алгоритм расчета ширины и высоты элемента */
}

body {
    color: #313131;
    min-height: 100vh;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    align-items: center;
    justify-content: center;
    margin-right: 330px; 
    outline: none;
    text-decoration: none;
}

.background__main {
    transition: block;
    display: grid;
    grid-template-rows: 400px 100px 20px 40vb;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center !important;
    width: 100%;
    height: 100vb;
    min-height: 732px;
}

#background__travel {
    background-image: url(images/back.jpg);
}

#text-travel{
    grid-row: 2;
    text-align: center;
    font-size: 90px;
    color:#fff;
    letter-spacing: 50px;
    font-weight: 600; 
}

#text-under-travel{
    grid-row: 3;
    text-align: center;
}

#logo-place{
    position: absolute;
    left: -50px;
    top: -15px;
}

.logo{
    width: 50px;
    height: 50px;

}

/* кнопка вверх-вниз */
.buttons-top-footer{
    z-index: 20;
    width: 40px;
    height: 40px;
    background: #2c2c2c90;
    border-radius: 50%;
    text-align: center;
    padding-top: 5px;
    position: fixed;
    bottom: 1vw; 
    left: 1vw;
    cursor: pointer;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 30px;
    text-decoration: none;
}

.buttons-top-footer:hover {
    transition: .5s;
    background:#3b3b3b90;
    color:#ffffff;
}

/* выпадающее меню*/


/* Боковик */
.sidenav {
    height: 100%;
    width: 330px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #260a32;
    padding-top: 90px;
    overflow-y: auto;
}

.sidenav::-webkit-scrollbar{
    display: none;
}

.sidenav h1{
    font-size: 22px;
    color: #ddbcda;
    font-weight: 100;
    text-align: center;
    padding-bottom: 20px;
}

.sidenav h2{
    padding-left: 20px;
    font-size: 18px;
    color: #b486b0;
    font-weight: 100;
}

@media(max-width: 1220px){
    .sidenav {
        display: none;
    }
    body {
        margin-right: 0; 
    }
    #main-text{
        font-size: 40px;
    }
}

.new-picture{
    height: 170px;
    width: 300px;
    margin: 20px;
}

#show-all{
    margin-right: 20px;
    color:#ddbcda; 
    float: right
}

.add-picture{
    height: 270px;
    width: 232px;
    margin: 20px 0 0 50px;
}

#add-text{
    font-size: 18px;
    color: #b486b0;
    text-align: center;
    margin-bottom: 20px;
}

/*  */

/* Кастомный скроллбар */
/* width */
::-webkit-scrollbar {
    width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(191, 191, 191); 
    border-radius: 10px;
}

@media(max-width: 1200px){
    #text-travel{
        font-size: 8vw;
        color:#fff;
        letter-spacing: 20px;
        font-weight: 600; 
    }
}

/* стиль текста (ссылок на разделы) в header */
.menu__item{
    margin: 0px 0px 0px 36px;
    color: #ffffff;
    text-decoration: none;
    position: relative; /* Относительное позиционирование, 
    сдвигает элемент относительно его обычного положения 
    (left/right/top/bottom).*/
}

/* анимация при наведении на элемент меню */
.menu__item:after{
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 2px; /* Высота линии */
    background-color: rgb(255, 253, 253); /* Цвет подчеркивания при исчезании линии*/
    transition: 0.5s; /* Время эффекта */
}

.menu__item:hover:after{
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px; /* Высота линии */
    background-color: rgb(255, 255, 255); /* Цвет подчеркивания при появлении линии*/
    transition: 0.5s;  /* Время эффекта */
}
/*  */

header {
    position: fixed; /* элемент фиксируется и при прокрутке 
    остаётся на месте */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    height:80px;
    background: #281b2d;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.516);
    display: flex; /*расположение блоков по горизонтали */
    padding: 5px 0;
    align-items: center;
    justify-content: space-between; /* расположение элементов по ширине */
    transition: .7s;
}

.container{
    width: 100%;
    margin: 0; 
    padding: 10px;
    position: relative;
}

.header__nav {
    right: 36px;
    display: block; /* Делает элементы блочными.
    Каждый блок занимает всю ширину строки. */
}

.header__menu {
    display: flex;
    position: relative;
    z-index: 2;
}

.header__menu li {
    list-style: none;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
}

/* Строка поиска */
form {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    margin: 12px 10px 10px 10px;
}

input, .submit-button {
    outline: none; /* устанавливает цвет, стиль и 
    толщину внешней границы на всех четырех сторонах элемента */
    background: transparent;
}

input {
    width: 100%;
    height: 42px;
    padding-left: 15px;
    border: 2px solid #dfdfdf;
    color: #fff;
}

.submit-button {
    border: none;
    height: 42px;
    width: 42px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.submit-button:before {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    color: #ffffff;
}

input:focus {
    border-color: #c2c2c2;
}

/* Выезжающее меню */
.header__menu li ul{
    width: 180px;
    color: transparent;
    opacity: 0;
    max-height: 0;
    position: absolute;
    background-color: #442141;
    top: 50px;
    list-style: none;
    line-height: 50px;
    visibility: hidden;
    transition: .5s;
}

.header__menu li:hover ul{
    opacity: 1;
    max-height: 100vb;
    list-style: none;
    visibility: visible;
}

.header__menu li ul a {
    margin-left: 30px;
}

.header__menu li:hover ul a{
    color: #fff;
    text-decoration: none;
    outline: none;
}

.header__menu li:hover ul li:hover{
    background-color: #7d4278;
}

@media(max-width: 1377px){
#logo-place{
    position: fixed;
    left: 47vw;
    top: 12px;
}

.header__menu li ul{
    position: static;
    display: block;
}

.header__menu li ul{
    width: 315px;
    line-height: 60px;
    padding-right: 100px
}

.header__menu li ul{
    background-color: #44214100;
}

.header__menu li:hover ul li:hover{
    background-color: #00000051;
}

.header__nav{
    display: block;
    position: absolute;
    top: 55px;
    left: -100%;
    box-shadow: #000000;
    width: 100%;
    height: 0;
    box-shadow: 0 4px 2px -2px rgba(36, 36, 36, 0.17);
    transition: all .6s;

}

/* выезжающее меню для телефонов */
.header__menu{
    display: block;
    width: 350px;
    margin-top: 6px;
    position: absolute;
    left: 0;
    background: #00000092;
}

#burger-margin{
    margin: 40px 10px 40px 33px;
}

/* размер шрифта в выезжающем меню */
.menu__item{
    font-size: 20px;
}

/* скрытие выезжающего меню */
.header__nav.open-menu{
    left: 0;
}

/* ширина и высота "бургера" и крестика */
.menu-burger__header{
    position: relative;
    width: 40px;
    height: 35px;
    display: block;
    margin-left: 10px;
}

/* span (аниммация при нажатии на "бургер") */
.menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
    height: 3px;
    width: 100%;
    position: absolute;
    background: #797979;
    margin: 0 auto;
    transition: .4s;
}

/* расположение серединной линии в "бургере" */
.menu-burger__header span{
    top: 16px;
}

/* верхняя и нижняя линии в "бургере" */
.menu-burger__header:after, .menu-burger__header:before{
    content: '';
}

/* расположение нижней линии в "бургере*/
.menu-burger__header:after{
    bottom: 5px;
    transition: .7s;
}

/* расположение верхней линии в "бургере*/
.menu-burger__header:before{
    top: 5px;
    transition: .7s;
}

/* скрытие серединной линии в "бургере" при открытии меню */
.menu-burger__header.open-menu span{
    opacity: 0;
}

/* создание крестика */
.menu-burger__header.open-menu:before{
    transform: rotate(45deg);
    top: 16px;
    transition: 0.4s;
}

.menu-burger__header.open-menu:after{
    transform: rotate(-45deg);
    bottom: 16px;
    transition: 0.4s;
}
/*  */

header{
    transition: .7s;
}

}

.background-main{
    background: url(back.png) no-repeat;
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 732px;
}

/* Туристу */
.tourist{
    display: grid;
    grid-template-rows: 20px 100px 20px;
    grid-template-columns: 1vw 10px 95vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#pink-line{
    grid-row: 2;
    grid-column: 2;
    background-color: #ffb4ec;
}

#gray-line{
    background-color: rgb(242, 242, 242);
    grid-row: 2;
    grid-column-start: 3;
    grid-column-end: 6;
}

#tourist1{
    grid-row: 2;
    grid-column: 3;
    margin-left: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 55px;
    font-weight: 100;
}

#tourist2{
    grid-row: 4;
    grid-column: 3;
    font-size: 40px;
    font-weight: 100;
}

#tourist-text{
    font-size: 24px;
    margin-left: 30px;
    padding: 50px 0;
}

/* Фотогалерея */
.photo-gallery{
    display: grid;
    grid-template-rows: 20px 100px 20px 1000px;
    grid-template-columns: 1vw 10px 79vw 16.5vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#photo1{
    grid-row: 2;
    grid-column: 3;
    font-size: 50px;
    font-weight: 100;
    margin-top: 1vw;
    margin-left: 0.5vw;
}

#surok-photo{
    grid-row: 3;
    grid-column: 3;
    background-image: url(images/photogalery.jpg);
    transition: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center !important;
    width: 100%;
    height: 95vb;
    min-height: 732px;
    margin-top: 20px;
    display: block;
    position: relative;
}

/* Затемнение фона при наведении */
.mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    color: #fff;
    font-size: 40px;
    transition: opacity .4s linear;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mask:hover {
    opacity: 1;
}

/* Надпись, которая появляется при наведении */
p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 55px;
}

.news{
    display: grid;
    grid-template-rows: 20px 100px 20px;
    grid-template-columns: 1vw 10px 95vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#news1{
    grid-row: 2;
    grid-column: 3;
    font-size: 50px;
    font-weight: 100;
    margin-top: 1vw;
    margin-left: 0.5vw;
}

/*адаптивная сетка */
.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1220px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 950px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

/* Рамка с текстом (для новостей) */
.sign {
    padding: 10px; /* Поля внутри блока */
    margin: 10px 0 5px 5px; /* Отступы вокруг */
    background: #f0f0f0; /* Цвет фона */ 
}

.sign figcaption {
    margin: 0 auto 50px; /* Отступы вокруг абзаца */
}

.text_news{
    text-align: center;
    font-size: 20px;
}

/* Увеличение картинки при наведении */
.scale {
    display: inline-block; /* Строчно-блочный элемент */
    overflow: hidden; /* Скрываем всё за контуром */
}
.scale img {
    transition: 1s; /* Время эффекта */
    display: block; /* Убираем небольшой отступ снизу */
}
.scale img:hover {
    transform: scale(1.2); /* Увеличиваем масштаб */
}


/* Список */
#rounded {
    counter-reset: li; 
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

#rounded a {
    position: relative;
    display: block;
    padding: 10px .4em .4em 200px;
    margin: 50px;
    color: #000000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 30px;
}

#rounded a:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: 100px;
    top: 50%;
    margin-top: -31px;
    background: #ffb4ec;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    border-radius: 2em;
}

#rounded li{
    min-width: 100%;
}
.history-back{
    min-height: 732px;
    margin-top: 10px;
    display: block;
    position: relative;
    bottom: 0;
}

#history-background {
    background-image: url(images/mount.png);
    transition: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center !important;
    width: 100%;
    min-height: 75vb;
}

@media screen and (max-width: 1000px) {
    #rounded a {
        margin: 30px;
        padding: 10px .4em .4em 100px;
    }
    
    #rounded a:before {
        left: 0;
    }
}

.transport-text{
    font-size: 25px;
    margin: 30px;
}


.buisnes{
    display: grid;
    grid-template-rows: 20px 100px 7vw 15vw 5vw 15vw;
    grid-template-columns: 1vw 0.5vw 35vw 25vw 15vw 5vw;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#gray-line-buisnes{
    background-color: rgb(242, 242, 242);
    grid-row: 2;
    grid-column-start: 3;
    grid-column-end: 7;
}

#buisnes-picture{
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 4;
    grid-row-end: 6;
}

#buisnes-text{
    grid-row: 4;
    grid-column-start: 4;
    grid-column-end: 6;
    font-size: 3vw;
    font-weight: 100;
}

#buisnes-button{
    background-color: #dcdcdc;
    grid-row: 5;
    grid-column: 5;
    border-radius: 10px;
    font-size: 1.5vw;
    margin-top: 1.5vw;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
    color: #000000;
}

#buisnes-button:hover{
    transition: .5s;
    background-color: #adadad;
}


/* подвал */

.container{
	max-width: 1570px;
	margin:auto;
}

.row{
	display: flex;
	flex-wrap: wrap;
}

ul{
	list-style: none;
}

.footer{
	background-color: #260a32;
    padding: 70px 0;
}

.footer-col{
    width: 25%;
    padding: 10px;
}

.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}

.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #fa78a3;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li:not(:last-child){
	margin-bottom: 20px;
}

.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}

.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-col .social-links a:hover{
	background-color: #606060;
}

/*responsive*/
@media(max-width: 1220px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 950px){
    .footer-col{
        width: 100%;
    }
}



