* {
  margin: 0 auto;
  padding: 0;
}


@font-face {
font-family: "Montserrat"; 
src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype"); 
font-style: normal; 
font-weight: normal; 
} 

body {
  font-family: "Montserrat"; 
}


/* Add a black background color to the top navigation */
.topnav {
  background-color: #222831;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 17px;
  text-transform: uppercase;
}


.company_name_desription {
font-size: 16px;
}


/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px; 
  border: none;
  outline: none;
  color: white;
  padding: 14px 30px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  text-transform: uppercase;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #a0c813;
  color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #a0c813;
  color: white;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

.up_header {
  width: 100%;
  background: #eeeeee;
  height: 90px;
  display: flex;
  flex-wrap: wrap;
  align-items: space-between;
}

.company_name {
  margin-left: 20px;
  margin-top: 10px;;
  text-align: center;
  
}

.company_name a {
  text-decoration: none;
  color: #222831;
  font-size: 45px;
  font-weight: bold;
}

.company_name a:hover {
color: #a0c813;

}

.phone_up_header a {
  color: #222831;
  text-decoration: none;
  font-size: 20px;
}


.phone_up_header a:hover {
color: #a0c813;
text-decoration: none;
}


.fast_contact {
  color: #1E253E;
  min-height: 90px;
  font-size: 20px;
  padding-top: 25px;
  margin-right: 40px;

}


.header {
  width: 100%;

}


nav.desk ul {
  width: 100%;
  list-style: none;
  height: 60px;
  margin: 0 auto;
  display: flex;
}
 

nav.desk ul li {
  width: 11.29%;
  text-align: center;
  line-height: 60px;
  text-transform: uppercase;
  cursor: pointer;
  transition-duration: 0.4s;
  font-size: 16px;
}
 


.header .desk ul li:hover,
.header .mob ul li:hover {
  background-color: #3b7da8; /* Светло-синий */
}
 
nav ul li a {
  color: #f1f1ee;
  text-decoration: none;
}


 
.mob,
.hamburger-btn {
  display: none;
}






.container {
  position: relative;
  text-align: center;
  color: white;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center; /*Центрирование по горизонтали*/
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  left: 0;
  bottom: 150px;
  border-bottom: 345px solid rgba(255,255,255,0.5);
  border-left: 0 solid transparent;
  border-right: 250px solid transparent;
  height: 0;
  width: 500px;
  color: #1E253E;
  font-size: 24px;
}







.services /*Блок "Услуги"*/ { 
  text-align: center;
  width: 100%;
  height: 200px;
  background: #222831;
  color: #eeeeee;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  font-size: 48px;
  text-transform: uppercase;
align-items: center;

  /*Центрирование по горизонтали*/
}




h1 {
  color: #222831;
  font-size: 25px;
  text-align: center;
} 

.portfolio ul,
.portfolio li {
  padding: 0;
  list-style-type: none;  

}


.portfolio li {
  display: inline-block;
  max-width: 400px;
  margin: 1%; 
  position: relative;
  overflow: hidden;

}

.portfolio img {
  max-width: 100%;
  display: block;
}


.descr {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 175px;
  text-align: center;
  opacity: 1;
  transition: all .5s;
} 

.portfolio li:hover .descr {
background-color: rgba(0,0,0,.5); 

}



.services_item {
  color: white;
  font-size: 24px;
  text-align: center;
  opacity: 1;

}


.portfolio {
text-align: center;
background-image: url(../images/topographic-map-contour-background-contour-map-vector-geographic-world-topography-map-grid-abstract.jpg);

width: 100%;
}






.our_projects /*Блок "Наши проекты"*/ { 
  text-align: center;
  width: 100%;
  height: 200px;
  background: #222831;
  color: #eeeeee;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  font-size: 48px;
  text-transform: uppercase;
  align-items: center;

  /*Центрирование по горизонтали*/
}

.our_projects_1 /*Блок "Наши проекты"*/ { 
  text-align: center;
  width: 100%;
  height: 200px;
  background: #222831;
  color: #eeeeee;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  font-size: 48px;
  text-transform: uppercase;
  align-items: center;

  /*Центрирование по горизонтали*/
}


.descr_projects {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
display: flex;
flex-wrap: wrap;
  justify-content: center;
  align-items: center;
    background: rgb(0,0,0,0.2);
  transition: all .5s;
  opacity: 1;

} 

.descr_projects:hover {
background: rgb(0,0,0,0.8);
}


.object_works_title {
 border-bottom: 5px solid #a0c813;
 text-transform: uppercase;
 font-size: 22px;
 text-align: center;
}

.object_works_descr {
 font-size: 18px;
 text-align: center;
}




.align_slider {
  margin-top: 20px;
background: #F6F2F4;
}






.about_us_block {
  width: 100%;
  height: 100%;
  background: #a0c813;
}



.about_us_block_text {
width: 90%;  
color: #241e20;
height: 100%;
  font-size: 20px; 
  background: #F6F2F4;
  display: block;
}

.about_us_block_text p {
padding: 20px;
display: block;
}




.up_footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 20px;
  height: 180px;
  background: #222831;
  color: #eeeeee;
  

}


.bottom_footer {
  height: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background: #F6F2F4;
  color: #1E253E;
  text-align: center;
}

.bottom_footer a {
  color: #1E253E;
  text-decoration: none;
}

.phone_footer a {
text-decoration: none;
color: white;
}

.up_footer li a {
  list-style: none;
  color: white;
  text-decoration: none;
}

.up_footer li a:hover {
 color: #a0c813;

}

.up_footer li {
  list-style: none;

}










form {
  /* Center the form on the page */
  margin: 0 auto;
  width: 400px;
  /* Form outline */
  padding: 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

form li + li {
  margin-top: 1em;
}

label {
  /* Uniform size & alignment */
  display: inline-block;
  width: 90px;
}

input, 
textarea {
  /* To make sure that all text fields have the same font settings
     By default, textareas have a monospace font */
  font: 1em sans-serif;

  /* Uniform text field size */
  width: 300px;
  box-sizing: border-box;

  /* Match form field borders */
  border: 1px solid #999;
}

input:focus, 
textarea:focus {
  /* Additional highlight for focused elements */
  border-color: #000;
}

textarea {
  /* Align multiline text fields with their labels */
  vertical-align: top;

  /* Provide space to type some text */
  height: 7em;
}

button {
  /* This extra margin represent roughly the same space as the space
     between the labels and their text fields */

  background-color: #393e46; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

button:hover {
  background-color: #a0c813;
}

.h1_title_contacts {
height: 150px;
background-image: url(../images/topographic-map-contour-background-contour-map-vector-geographic-world-topography-map-grid-abstract.jpg);
margin: 0;
text-align: center;
vertical-align: middle;
line-height: 150px;
text-transform: uppercase;
font-size: 48px;
}

.h2_title_contacts_1 {
height: 100px;
background-color:#393e46;
color: white;
margin-bottom: 20px;
text-align: center;
vertical-align: middle;
line-height: 100px;
text-transform: uppercase;
font-size: 24px;
}

.h2_title_contacts_2 {
  height: 100px;
  background-color:#393e46;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  vertical-align: middle;
  line-height: 100px;
  text-transform: uppercase;
  font-size: 24px;
  }

  .h2_title_contacts {
    height: 100px;
    background-color:#393e46;
    color: white;
    text-align: center;
    vertical-align: middle;
    line-height: 100px;
    text-transform: uppercase;
    font-size: 24px;
    }

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 75px;
  padding-bottom: 75px;
  background-image: url(../images/topographic-map-contour-background-contour-map-vector-geographic-world-topography-map-grid-abstract.jpg);

width: 100%;
}

.card_1 {
  width: 250px;
  height: 150px;
  background-color: white;
  border: 1px solid black;
  border-radius: 3%;
}


.card_1 p a {
  text-decoration: none;
  color: black;
  }

  .card_1 p a:hover {
    text-decoration: none;
    color: black;
    }

.card_1_icon {
  display: flex;
  font-size: 50px;
  align-self: center;
  margin-top: -42px;
  margin-bottom: 10px; 

}
.card_1_icon i {
  line-height: 1.55;

}

.block_1 {
  display: flex;
}

.block_2 {
  display: flex;
  
}

.services_block_picture_1_stroit_geo {
width: 50%;
height: 500px;
background-image: url("../images/Строительная геодезия.jpg");
}

.services_block_picture_1_ispolnit_sjemka {
  width: 50%;
  height: 500px;
  background-image: url("../images/Исполнительные съемки инженерных сетей.jpg");
  }

  .services_block_picture_1_topo {
    width: 50%;
    height: 500px;
    background-image: url("../images/Топографическая съемка местности.jpg");
    }

    .services_block_picture_1_fasad {
      width: 50%;
      height: 500px;
      background-image: url("../images/Фасадные съемки.jpg");
      }

      .services_block_picture_1_vosstan {
        width: 50%;
      height: 500px;
      background-image: url("../images/Восстановление границ земельных участков.jpeg");
      }

      .services_block_picture_1_spec {
        width: 50%;
      height: 500px;
      background-image: url("../images/Специальные и нестандартные геодезические работы.jpg");
      }

.services_review_1 {
  width: 50%;
  height: 500px;
  background-color: #a0c813;
  display: block;
}

.services_review_1 p {
  padding: 15px;
  display: block;
}

.services_review_1 ul {
  padding: 40px;
  padding-top: 10px;
  list-style-type: disc;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 800px) {
  .topnav a, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}


@media screen and (max-width: 400px) {


 #ispolnit_sjemka  {
  font-size: 12px;
  letter-spacing: -1px;
}

#stroitgeo, #fasad, #topo, #vosstan, #spec {
  font-size: 12px;
}
  

}
@media screen and (max-width: 800px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

.bottom-left {
  position: absolute;
  left: 0;
  bottom: 150px;
  border-bottom: 345px solid rgba(255,255,255,0.5);
  border-left: 0 solid transparent;
  border-right: 250px solid transparent;
  height: 0;
  width: 300px;
  color: #1E253E;
  font-size: 18px;
}


.about_us_photo {
max-width: 70%;
display: block;

}

.object_works_descr,.object_works_title {
  font-size: 12px;
  text-align: center;

} 

.up_footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: 400px;
 background: #1E253E;
  color: #F6F2F4;
  

}





.company_name {
  margin-left: 20px;
  margin-top: 10px;;
  text-align: center;
  
}

.feedback {
text-align: center;
}

.cards {
  flex-direction: column;
}

.card_1 {
margin-top: 50px; 
}

.block_1 {
  flex-flow: column wrap;
}
.block_1 .services_block_picture_1 {
  width: 100%;
}
.block_1 .services_review_1 {
  width: 100%;
}

.h2_title_contacts, .h2_title_contacts_1, .h2_title_contacts_2 {
  font-size: 14px;
}

.phone_up_header {
display: none;
}

.services_block_picture_1_stroit_geo, .services_block_picture_1_ispolnit_sjemka, .services_block_picture_1_topo, .services_block_picture_1_fasad, .services_block_picture_1_vosstan, .services_block_picture_1_spec {
width: 100%;
}

.services_review_1 {
  width: 100%;
}

.block_2 {
  flex-direction: column-reverse;
}


.company_name_desription {
  font-size: 12px;
  }

  .up_footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 400px;
   background: #222831;
    color: #F6F2F4;
    text-align: center;
  
  }


  .h1_title_contacts {
 
    font-size: 24px;
    }

.owl_carousel_slider, .our_projects_1 {
  display: none;
}

  
   .company_name {
      width: 100%;
      margin-left: 0;
    }

    .company_name a {
      justify-items: center;
}
.fast_contact {
  display: none;
}

}
