@import url('https://fonts.googleapis.com/css2?family=Roboto&family=Rubik+Glitch&display=swap');

nav{
    background-color:yellow;
    height:60px;
    display: flex;
    justify-content:space-around;
    position:sticky;
    top:0;
    bottom:0;
    font-size: 25px;
    align-items: center; 
    font-family: 'Roboto', sans-serif;
}



a{
    text-decoration: none !important;
 }

header{
  background-image: url(trava.jpg);
  z-index: 100;
}

footer{
  background-image: url(travka.jpg);
  height: 400px;
    
}
                                                  /*main*/
main{
  display: flex;
  justify-content:space-around;
}
main1{
  display: flex;
}
img{
  display:inline;
}

.elev:hover{
  content:url("elevator2.jpg");
}

.zidk,.elev{
  display: block;
  width: 100%;
}

.zidk:hover{
  content:url("zidkoe2.jpg");
}

.kykr:hover{
  content:url("elevator2.jpg");
}

.kykr{
  display: block;
  width: 100%;
}
main{
  background-color: rgb(0, 142, 95);
  }
main1{
    background-color: rgb(0, 142, 95);
    }
                                                  /*main end*/
                                                  /*main zerna*/
.zerno{
  width:300px;
  margin: 20px;
  border-radius: 30px;
  box-shadow:-8px 8px 10px 1px #3a3a3a;
  display: block;
}
zernovk{
  display:flex;
  justify-content:space-around;
  flex-wrap: wrap;
}

.bloc{
  background-color: rgb(34, 255, 0);
  width:300px;
  height:50px;
  font-size: 25px;
  display:flex;
  justify-content:space-around;
  align-items:center;
  margin: 20px;
  border-radius: 20px;
  box-shadow:-8px 8px 10px 1px #3a3a3a;
}
smotret{
  display:inline;
  flex-direction:column;
  justify-content:center;
}
                                                  /*main zerna end*/
                                                  /*main object*/
.objikt{
  width: 300px;
  height: 400px;
  margin: 20px;
  border-radius: 30px;
  box-shadow:-8px 8px 10px 1px #3a3a3a;
  object-fit: cover;
}                                              
                                                  /*main object end*/
                                                  /*main news*/
.blocnews{
background-color: rgb(0, 0, 0);
width:300px;
height:50px;
font-size: 25px;
display:flex;
justify-content:space-around;
align-items:center;
margin: 20px;
border-radius: 20px;
box-shadow:-8px 8px 10px 1px #3a3a3a;
color:#c9a645;
}
.imagenews{
  width:300px;
  height:200px;
  margin: 20px;
  border-radius: 30px;
  box-shadow:-8px 8px 10px 1px #3a3a3a;
  object-fit: cover;
}

smotretnews{
  display: flex;
  flex-wrap: wrap;
  display:block;
  background-color: white;
  border-radius: 40px;
  margin-left: 40px;
  padding: 10px;
  outline-color:black;
  outline-width:5px;
  outline-style: solid;
  margin-top: 20px;
  width: 750px;
}
zernovknews{
  display:flex;
  justify-content: stretch;
  align-items: flex-start;
  display: inline;
}
.vidnov{
  border-radius:20px;
}
                                                  /*main news end*/
.navig:hover{
  background-color: orange;
}

nav1{
  height:300px;
  background-color: limegreen;
  display:block;
  
}

.subs{
  display: flex;
  justify-content: flex-end;
  position: relative;
  bottom: 50px;
  right: 11%;
  height: 28%;
}

.sub{
  border-radius: 5px;
  box-shadow:-5px 5px 10px 1px #3a3a3a;
}

nav1>h1{
  color: darkgreen;
  font-family: 'Roboto', sans-serif;
  position: relative;
  top: 75px;
  left: 11%;
}

nav1>p{
  color: white;
  font-size: large;
  position: relative;
 top: 85px;
  left: 11%;
}

html, body{
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}
  
  footer>h1{
    position: relative;
    color:rgb(22, 250, 22);
    left: 12%;
    
  }

  footer>p{
    position: relative;
    left: 13%;
    color: white;
    
  }

  footer>a{
    
    color:rgb(22, 250, 22);
    display: flex;
    justify-content: flex-end;
    position: relative;
    bottom: 90px;
    right: 12%;
    font-size:30px;
    font-weight: bold;
    
  }

  footer>p1{
    position: relative;
    right: 180px;
    display: flex;
    justify-content: flex-end;
    bottom: 70px;
    color: white;
    
  }

  footer>p2{
    position: relative;
    right: 13%;
    display: flex;
    justify-content: flex-end;
    bottom: 250px;
    font-weight: bold;
    color: white;
  }

  footer>p3{
    position: relative;
    right: 13%;
    display: flex;
    justify-content: flex-end;
    bottom: 245px;
    color: white;
  }

  footer>p4{
    position: relative;
    right: 13%;
    display: flex;
    justify-content: flex-end;
    bottom: 240px;
    color: white;
  }

footer>p5{
    position: relative;
    right: 30%;
    display: flex;
    justify-content: flex-end;
    bottom: 305px;
    font-weight: bold;
    color: white;
  }

footer>p6{
    position: relative;
    right: 30%;
    display: flex;
    justify-content: flex-end;
    bottom: 305px;
    color: white;
  }

footer>p7{
    position: relative;
    right: 30%;
    display: flex;
    justify-content: flex-end;
    bottom: 305px;
    color: white;
    
  }

  footer>p8{
    position: relative;
    right: 30%;
    display: flex;
    justify-content: flex-end;
    bottom: 305px;
    color: white;
  }

.line{
  width: 80%;
  margin: 0 auto;
  height: 2px;
  background: #ffffff;
  top: 50px;
  
}


.logo{
  position: relative;
  left:8%;
}

.mapi{
position: relative;
}

.img-container > svg{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.burger-icon{
  width:40px;
  height:40px;
  display: none;
  position: relative;
}

.burger-menu {
  position: fixed;
  top: 0;
  right: -90%;
  height: 320px;
  width: 30%;
  /*padding: 8%;*/
  background-color: yellow;
  transition: .4s;
  
}
.burger-menu ul {
  gap: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.burger-menu li {
  padding-bottom: 8px;
  border-bottom: 2.4px solid white;
}


@media screen and (max-width: 600px)  {
  .burger-icon{
    display: block;
    justify-content: flex-end;
  }
  header .menu_main{
    display: none;
  }
  .burger-menu{
    display: block;
  }
  .burger-icon.active{
    transform: rotate(90deg);
  }
  .burger-menu.active{
    right: 0;
  }
  .subs{
    display: flex;
    justify-content: center;
    right: 0%;
    top: 10px;
    
  }
  smotretnews{
    width: 330px;
  }
  nav1>h1{
    top: 15px;
    left: 0%;
    display: flex;
    justify-content: center;
  }
  nav1>p{
    display: flex;
    justify-content: center;
    top: 15px;
    left: 0%;
  }
  nav{
    font-size: 13px;
  }
  main{
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  footer>h1{
    display: flex;
    justify-content: center;
    left: 0%;
  }
  footer>a{
    display: flex;
    justify-content: center;
    bottom: 0px;
    right: 0%;
  }
  footer>p{
    display: flex;
    justify-content: center;
    left: 0%;
  }
  footer>p1{
    right: 0px;
    display: flex;
    justify-content: center;
    bottom: 0px;
  }
  .logo{
    position: relative;
    left:0%;
  }
  .mapi{
  position: relative;
  width:100%;

  }
  footer>p5{
    right: 13%;
    bottom: 385px;
  }

  footer>p6{
    right: 13%;
    bottom: 385px;
  }

  footer>p7{
    right: 13%;
    bottom: 385px;
  }

  footer>p8{
    right: 13%;
    bottom: 385px;
  }
}