@font-face{
    font-family: 'Poppins'; 
    src: url("../fonts/Poppins-Medium.ttf"); 
}

 html{

overflow-x: hidden;
 
} 

body{
    width: 100%;
    height: 2800px;
    background-image: url(../img/background.png);
    font-family: 'Poppins';
    color: #fff;
}

 main{ 
  min-height:0;
    max-width: 100%;
    display: inline-block;
    position: relative;
    top: -100px;
    left: 50%;
    transform: translate(-50%,0);
    margin: 90px 0;
    padding:30px;
}

.container {
  width: 100%;
  z-index: 2;
 
}


.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 18pt;
  padding: 0.7rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
}

.nav-container {
  display: block;
  position: relative;
  height: 1px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 10px;
  background: #ffffff;
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  padding-top: 100px;
  background-image: url(../img/background.png);
  opacity: .9; /*ПОСМОТРИТЕ КАК ЛУЧШЕ 0.7, 0.8 ИЛИ 0.9*/
  height: 1000px;
  width: 100%;
  transform: translate(-150%);
  display: flex;
  flex-direction: column;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

.navbar .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}


.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}

.text{
    
  z-index: 2;
  font-size: 65px;
  height: 60px;
  color: #fff;
  font-family: 'Poppins';
  margin-top: 30px;
  margin-left: 450px;
  overflow:visible;
}

.header-1{
    z-index: -2;
    width: 100%;
    margin-top: -20px;
   
}

.text-header1{
   /*z-index: 2;*/
   height: 200px;
    color: #fff;
    text-align: right;
   font-size: 45px;
    font-family: 'Poppins';
    margin-top: -100px;
    overflow:visible;

    
    
  
}

.rectangle{
  z-index: -2;
  width: 600px;
  height: 130px;
  background: #000;
  opacity: 0.84;
  margin-top: -15% ;
  margin-left: 830px;
}





h2,h1{
  text-transform: uppercase;
  letter-spacing: 2px;    
}
h2{
  font-size: 20px;
}
ul{
  list-style: none;
  padding: 0;
  margin: 0;

}
ul li{
  position: static;
  width: 1000px;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 2px solid #fff;   
}
ul li input[type="checkbox"]{
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
ul li i{
  position: absolute;
  transform: translate(-6px,0);
  margin-top: 16px;
  right: 0;
} 
ul li input[type=checkbox]:checked ~ p {
margin-top: 0;
max-height: 0;
opacity: 0;
transform: translateX(-50%);
}

ul li input[type="checkbox"]:checked~i::before{
  transform: translate(2px,0) rotate(45deg);
}
ul li input[type="checkbox"]:checked~i::after{
  transform: translate(-2px,0) rotate(-45deg);
}
ul li i::before,ul li i::after{
  content: "";
  position: absolute;
  background: #eee6e6;
  width: 6px;
  height: 12px;
}
ul li i::before{
  transform: translate(-2px,0)rotate(45deg);
}
ul li i:after {
transform: translate(2px, 0) rotate(-45deg);
}
p{
font-size: 18px;
color: rgba(239, 243, 247, 0.8);
line-height: 26px;
letter-spacing: 1px;
position: relative;
padding: 0 11px;
max-height: 800px;
margin-top: 14px;
opacity: 1;
transform: translate(0,0);
overflow: hidden;     
}
.transition, p, ul li i:before, ul li i:after {
transition: all 0.25s ease-in-out;

}
.flipIn, h1, ul li {
animation: flipdown 0.5s ease both;
}
ul li:nth-of-type(1) {
animation-delay: 0.5s;
}
ul li:nth-of-type(2) {
animation-delay: 0.75s;
}
ul li:nth-of-type(3) {
animation-delay: 1s;
}
ul li:last-of-type {
padding-bottom: 0;
}

@keyframes flipdown {
0% {
  opacity: 0;
  transform-origin: top center;
  transform: rotateX(-90deg);
}
5% {
  opacity: 1;
}
80% {
  transform: rotateX(8deg);
}
83% {
  transform: rotateX(6deg);
}
92% {
  transform: rotateX(-3deg);
}
100% {
  transform-origin: top center;
  transform: rotateX(0deg);
}
}


#map {
  height: 400px;
  width: 70%; 
  margin-left: 15%;
  margin-top: -150px;
  
}

footer{
  width: 100%;
  height: 520px;
  background-color: #000;
  opacity: 0.9;
  margin-top: 5%;
}

.text-footer-1{
  text-align: center;
  color: white;
  font-size: 17pt;
  font-family: 'Poppins';
  margin-left: 250px;
  margin-right: 250px;
}

.text-footer-2{
  text-align: center;
  color: white;
  font-size: 15pt;
  font-family: 'Poppins';
  margin-left: 250px;
  margin-right: 250px;
  margin-top: 130px;
 
}

.text-footer-3{
  text-align: center;
  color: #808080;
  font-size: 12pt;
  font-family: 'Poppins';
  margin-left: 250px;
  margin-right: 250px;
  margin-top: 130px;
 
}



