/*top menu*/
@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu:wght@500&display=swap');

.container {display: none;}

.menu-main {
  list-style: none;
  margin: -10px 0 30px;
  padding: 25px 0 5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  position: fixed;
  width: 100%;

}
.menu-main li {display: inline-block;}
.menu-main li:after {
  content: "|";
  color: #000000;
  display: inline-block;
  vertical-align:top;
}
.menu-main li:last-child:after {content: none;}
.menu-main a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
  margin: 0 20px 0 20px;
  font-size: 15px;
  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.menu-main a, .menu-main a:visited {color: #000000;}
.menu-main a.current, a:hover{color: #000000;}
.menu-main a:hover{color: #000000;}
.menu-main a:before,
.menu-main a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: -5px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.menu-main a:hover:before, .menu-main .current:before {left: 0;}
.menu-main a:hover:after, .menu-main .current:after {right: 0;}



/* Работа переключателя */
#toggle {
  position: absolute;
  left: -100%;
  top: -100%;
}

#toggle:focus ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}

#toggle:checked ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .toggle-container .button-toggle:hover {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .toggle-container .button-toggle:before {
  transform: translateY(-50%) rotate(45deg) scale(1);
}
#toggle:checked ~ .toggle-container .button-toggle:after {
  transform: translateY(-50%) rotate(-45deg) scale(1);
}
#toggle:checked:focus ~ .toggle-container .button-toggle {
  box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1), 0 0 0 8px rgba(0, 0, 0, 0.1), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
#toggle:checked ~ .nav {
  margin-bottom: 100px;
  pointer-events: auto;
  transform: translate(50px, 50px);
}
#toggle:checked ~ .nav .nav-item {
  color: #000000;
  letter-spacing: 0;
  height: 40px;
  line-height: 40px;
  margin-top: 0;
  opacity: 1;
  transform: scaleY(1);
  transition: 0.5s, opacity 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(1) {
  transition-delay: 0.15s;
}
#toggle:checked ~ .nav .nav-item:nth-child(1):before {
  transition-delay: 0.15s;
}
#toggle:checked ~ .nav .nav-item:nth-child(2) {
  transition-delay: 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(2):before {
  transition-delay: 0.1s;
}
#toggle:checked ~ .nav .nav-item:nth-child(3) {
  transition-delay: 0.05s;
}
#toggle:checked ~ .nav .nav-item:nth-child(3):before {
  transition-delay: 0.05s;
}
#toggle:checked ~ .nav .nav-item:nth-child(4) {
  transition-delay: 0s;
}
#toggle:checked ~ .nav .nav-item:nth-child(4):before {
  transition-delay: 0s;
}
#toggle:checked ~ .nav .nav-item:before {
  opacity: 0;
}
#toggle:checked ~ .dummy-content {
  padding-top: 30px;
}
#toggle:checked ~ .dummy-content:before {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Кнопка для переключения */
.button-toggle {
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 25px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 100%;
  transition: 0.6s;

}
.button-toggle:hover {
  box-shadow: 0 0 0 8px rgba(0,  0,  0, 0.18), inset 0 0 0 20px rgba(0, 0, 0, 0.1);
}
.button-toggle:before, .button-toggle:after {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #feb386;
  border-radius: 5px;
  transition: 0.5s;
}
.button-toggle:before {
  transform: translateY(-50%) rotate(45deg) scale(0);
}
.button-toggle:after {
  transform: translateY(-50%) rotate(-45deg) scale(0);
}

/* Меню */
.nav {
  display: inline-block;
  margin: 25px 25px 20px;
  pointer-events: none;
  transition: 0.5s;
}

.nav-item {
  position: relative;
  display: inline-block;
  float: left;
  clear: both;
  color: rgba(255, 255, 255, 0);
  font-size: 14px;
  letter-spacing: -6.2px;
  height: 7px;
  line-height: 7px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scaleY(0.2);
  transition: 0.5s, opacity 1s;
}
.nav-item:nth-child(1) {
  transition-delay: 0s;
}
.nav-item:nth-child(1):before {
  transition-delay: 0s;
}
.nav-item:nth-child(2) {
  transition-delay: 0.05s;
}
.nav-item:nth-child(2):before {
  transition-delay: 0.05s;
}
.nav-item:nth-child(3) {
  transition-delay: 0.1s;
}
.nav-item:nth-child(3):before {
  transition-delay: 0.1s;
}
.nav-item:nth-child(4) {
  transition-delay: 0.15s;
}
.nav-item:nth-child(4):before {
  transition-delay: 0.15s;
}
.nav-item:nth-child(1) {
  letter-spacing: -8px;
}
.nav-item:nth-child(2) {
  letter-spacing: -7px;
}
.nav-item:nth-child(n + 4) {
  letter-spacing: -8px;
  margin-top: -7px;
  opacity: 0;
}
.nav-item:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #feb386;
  transform: translateY(-50%) scaleY(5);
  transition: 0.5s;
}


/*paralax*/
body {margin: 0;padding: 0;font-family: 'Ubuntu Condensed', sans-serif;color: #262626;}

section {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
}

section.sec1 {
background: url('img/1.jpg?r=wge') no-repeat center / cover;

}
section.sec2 {
  background: url('img/2.jpg?r=we') no-repeat center / cover;

}
section.sec3 {
  background: url('img/3.jpg?r=fv')no-repeat center / cover;

}
section.sec4 {
  background: url('img/4.jpg?r=gh')no-repeat center / cover;

}
.sec-text {
  padding: 4% 8%;
  height: auto;
  font-family: 'Ubuntu Condensed', sans-serif;
  background-color:transparent;

}
.sec-text__title {
  margin: 0;
  padding: 0;
  font-size: 2em;
}
.sec-text__dsc {
  font-size: 1em;
}


@media all and (max-device-width: 800px){
    
    .menu-main {display: none;}
	.container {display: block; font-family: 'Ubuntu Condensed', sans-serif;}
    .big {display: none;}
    .small {display: block;}
}

@media all and (min-device-width: 1000px){

    .big {display: block;}
    .small {display: none;}
}

		/* Базовые стили */
section {
  width: 100%;
  height: 100vh;
  box-sizing: content-box;
}
	section.sec1 {

background: url('img/5.jpg?r=khjho') no-repeat center / cover;

	}
	section.sec2 {
	  background: url('img/6.jpg?r=koo') no-repeat center / cover;

	}
	section.sec3 {
	  background: url('img/7.jpg?r=bbg')no-repeat center / cover;
	}
	section.sec4 {
	  background: url('img/5.jpg?r=bgbgb')no-repeat center / cover;
	}

	a {
	  text-decoration: none;
	  color: black;
	}
	.container div#logo {
		position:fixed;
		left: 40%;
		top: 25px;
		height: auto;
		color: black;
		display: block;
		line-height: 1px;

	}

	.container div p {
		text-decoration: none;
		color: black;
		letter-spacing: 1px;
		text-align: center;
	}


	.container {
	  position: fixed;
	  margin: -8px 0 0 0;
	  width: 100%;
	  height: auto;
	  background-color: rgba(255, 255, 255, 0.8);
	  overflow: hidden;
	}
	}


/*bottom menu*/

.block{
		width: 200px;
		height: 200px;
		background: aqua;
		position: fixed;
	}
	.all {
		width: 100%;
		background: black;
		height: 30px;
		margin-top: 100%;

	}
	#box {
		width: 100%;
		height: 100%;
		background: green;
		display: block;
		color: black;
		float: left;
		text-align: center;
		line-height: 30px;


	}
	.block hr {color: black; border: 1px solid black; background-color: black; height: 1px; margin-bottom: 0px; width: 50%; }

/*up_key*/
.up-key{
	width: 40px;
	height: 40px;
	border: 2px solid black;
	border-radius: 100%;
	margin: 0 auto;
	display: block;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.5);
	text-align: center;

}
.up-key img{
	display:flex;
    justify-content: center; /*центрируем элемент по горизонтали */
    align-items: center; /* и вертикали */
    padding: 8% 10%;
	width: 80%;
	height: 80%;
    overflow: hidden; /* если элемент больше блока-родителя – обрезаем лишнее */
}

/*back key*/
.back_to_home {
	width: 60px;
	height: 60px;

	margin: 0 auto;
	display: block;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.5);
	text-align: center;
	transform: rotate(-90deg);
   }
  .back_to_home img{
	  width: 60px;
	height: 60px;
	  padding: 4px 0px 0px 0px;
	  position: absolute;
  }

  /*footer menu*/
  .footer-menu {

  list-style: none;
  text-align: center;
  background:rgba(255, 255, 255, 0);
  position: absolute;
  padding-bottom: 0px;
  padding-left: 0;
  width: 100%;
  margin-top: -5px;


}
.footer-menu li {display: inline-block;}
.footer-menu li:after {
  content: "|";
  color: #000000;
  display: inline-block;
  vertical-align:middle;
}
.footer-menu li:last-child:after {content: none;}
.footer-menu a#adress {font-size: 9px;}
.footer-menu a#tel {font-size: 20px;}
.footer-menu a {
  text-decoration: none;
  font-family: 'Ubuntu Condensed', sans-serif;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
  margin: 0 20px 0 20px;

  text-transform: uppercase;
  display: inline-block;
  transition: color .2s;
}
.footer-menu a, .footer-menu a:visited {color: #000000;}
.footer-menu a.current, a:hover{color: #feb386;}
.footer-menu a:before,
.footer-menu a:after {
  content: "";
  position: absolute;
  height: 4px;
  top: auto;
  right: 50%;
  bottom: -5px;
  left: 50%;
  background: #feb386;
  transition: .8s;
}
.footer-menu a:hover:before, .footer-menu .current:before {left: 0;}
.footer-menu a:hover:after, .footer-menu .current:after {right: 0;}