* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}  

html {
  scroll-behavior: smooth;
  height: 100%;
}
/*
body {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: white;
  display: flex;
  flex-direction: column;
}
*/

body {
  margin:0;
  font-family: 'Roboto', sans-serif;
  background-color: white;
}

header {
  box-shadow: 0 -5px 20px black !important;
}

a {
  text-decoration: none;
  color: rgb(36, 36, 36);
}

a:visited {
  text-decoration: none;
  color: black;
}

.content {
  margin-left: 90px;
  margin-right: 90px;
}

@media screen and (max-width: 860px) {
  .content {
    margin-left: 60px;
    margin-right: 60px;
  }
}

.container {
  width: 90%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

p {
  font-family: 'Roboto', sans-serif;
  font-weight: 450;
  font-style: normal;
  font-size: 1.12em;
  letter-spacing: 0.06em;
}

u {
  text-decoration: none;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*===navbar===*/
 

.with_nav #my_navbar {
  display: block;
}

.navbar {
  position: fixed;
  width: 100%;
  overflow: hidden;
  background-color: #363841;
  text-align: center;
  z-index: 6;
  -webkit-box-shadow: 0px -1px 43px -1px rgba(0,0,0,1);
  -moz-box-shadow: 0px -1px 43px -1px rgba(0,0,0,1);
  box-shadow: 0px -1px 43px -1px rgba(0,0,0,1);
}

.navbar a {
  display: inline-block;
  color: rgb(209, 209, 209);
  padding: 12px 22px;
  margin: 8px;
  text-decoration: none;
  font-family: 'Alata';
  font-size: 1.1em;
  letter-spacing: 0.03em;
  -webkit-transition: background 0.3s linear;
  -moz-transition: background 0.3s linear;
  -ms-transition: background 0.3s linear;
  -o-transition: background 0.3s linear;
  transition: background 0.3s linear;
  z-index: 9;
  border-radius: 10px;
}

.navbar a:hover {
  background-color: #575b69;
  border-radius: 10px;
  color: rgb(0, 119, 255);
}

.navbar .icon {
  display: none;
}

.rc_content {
  text-align: center; 
  padding-left: 14px; 
  font-family: 'Alata'; 
  margin-top: 100px;  
  color: #8e909b;
}


@media screen and (max-width: 860px) {
  .navbar a {display: none;}
  .navbar a.icon {
    float: right;
    display: block;
    padding: 2px 22px;
    font-size: 2em;
  }
}

@media screen and (max-width: 860px) {
  .navbar.responsive {position: fixed;}
  .navbar.responsive .icon {
    position: fixed;
    right: 0;
    top: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: center;
  }

}


/*===hero_image===*/ 

.hero {
  position: relative;
  background-image: url("../images/header-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}

.hero-logo {
  display: block;
  position: relative;
  margin: auto;
  padding-top: 200px;
  padding-bottom: 200px;
  width: 50%;
  max-width: 500px;
  -webkit-filter: drop-shadow(12px 12px 25px rgba(0, 0, 0, 0.8));
  filter: drop-shadow(12px 12px 25px rgba(0, 0, 0, 0.8));
  animation: 3s fade-in;
  animation-fill-mode: backwards;
}

@media screen and (max-width: 860px) {
  .hero {
    background-image: url("../images/mobile-header.jpg");
  }
  .hero-logo {
    width: 80%;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/*===content===*/

.about {
  position: relative;
}

@media screen and (max-width: 860px) {
  .about p {
    margin-left: -30px;
    margin-right: -30px;
  }
}

.flex-container {
  text-align: center;
  padding-top: auto;
  padding-bottom: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

.flex-item {
  display: inline-block;
  flex: 1 0 15%;
  width: 280px;
  height: 280px;
  min-width: 280px;
  min-height: 280px;
  padding: 40px;
  position: relative;
  vertical-align: middle;
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
}

.flex-item h2 {
  display: inline-block;
  vertical-align: middle;
  line-height: 100px;
}

.settings {
  background-image: url("../images/settings.png");
}

.tools {
  background-image: url("../images/tools.png");
}

.recycling {
  background-image: url("../images/recycling.png");
}

.cad {
  background-image: url("../images/cad.png");
}

.offer {
  background-color: rgb(64, 163, 255);
  margin: 0;
  padding: 0;
  width: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
}

.alert {
  margin-top: 80px;
  padding-bottom: 20px;
  box-shadow: 0 0 0 4px #9491007a;
  border-radius: 8px;
  background-color: rgba(184, 197, 0, 0.274);
  text-align: center;
}

#alert-message {
  display: inline-block;
  margin: auto;
  width: 80%;
  font-size: 0.9em;
}

hr {
  border-top: 0,3px solid rgb(109, 109, 109);
}

.news {
  overflow: auto;
  text-align: center;
  box-shadow: 0 0 0 1px #9c9c9c7a;
  border-radius: 8px;
  background-color: rgba(165, 165, 165, 0.274);
}

.news p {
  margin-left: 150px;
  margin-right: 50px;
  font-size: 1em;
}

.news h4 {
  float: right;
  margin-top: 0;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.7em;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 100;
}

@media screen and (max-width: 860px) {
  .news p {
    margin-left: 40px;
    margin-right: 40px;
  }

  .news h2 {
    padding-top: 140px;
  }

  .news {
    margin-bottom: 50px;
  }
}


/*===headers===*/

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 65px;
    margin-bottom: 65px;
}
h1::before {
    content: url(arrow.svg);
    margin-left: -64px;
    margin-right: 32px;
}

h2 {
  font-family: 'Alata', sans-serif;
  font-size: 1.8em;
}

h3 {
  font-family: 'Alata', sans-serif;
  font-size: 1.4em;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*===gallery===*/

.flex-image {
  display: block;
  flex: 1 0 300px;
  margin-left: 10px;
  margin-right: 10px;
  padding-bottom: 20px;
  border-radius: 2px;
}
.flex-image img {
  display: block;
  max-width: 100%;
  min-width: 0;
  height: auto;
}


/*===map===*/

.flex-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 0 0;
  margin: 0;
  justify-content: space-evenly;
  background-color: rgb(223, 223, 223);
}
.flex-contact-item {
  padding: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 15%;
  min-width: 300px;
  font-size: 1.2em;
}

.phone img {
  display: inline-block;
  vertical-align: center;
  height: 30px;
}

.phone {
  display: inline;
  vertical-align: middle;
  text-align: center;
  overflow: auto;
}

#map {
  height: 400px;
  width: 100%;
  background-color: grey;
}


/*===footer===*/

footer {
  flex-shrink: 0;
  padding-top: 20px;
  padding-bottom: 50px;
  background-color: rgb(24, 24, 24);
  color: #fff;

}

#footer-wrapper {
  flex: 1 0 auto;
}

.flex-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 0 0;
  margin: 0;
  justify-content: space-evenly;
  background-color: rgb(24, 24, 24);
}

.flex-footer-item {
  padding: 20px;
  width: 25%;
  min-width: 200px;
  text-align: center;
  background-color: rgb(24, 24, 24);
}

hr.footer {
  border-top: 0,3px solid rgb(109, 109, 109);
  margin-bottom: 30px;
}