* {
  box-sizing: border-box;
}

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

.logo {
  background-color: #F8FDCF;
  display: flex;
  justify-content: center;
  padding: 10px 20px 10px 20px;
}

h1 {
  text-transform: uppercase;
  font-family: 'Arapey', serif;
  align-self: center;
  font-size: 30px;
  padding: 25px;
  width: 300px;
}

h2, h5 {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  padding: 10px;
  align-self: center;
}

.heading {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

h3 {
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: #000000;
  align-self: center;
  margin-left: 30px;
}

.navbar {
  /*background-color: #1F8A70;*/
  background-color: #00A651;
}

.color {
  color: #E8F9FD;
}

.contacts {
  padding: 20px;
  /*background-color: #1F8A70;*/
  background-color: #00A651;
  color: #FFFFFF;
}

.icon {
  background-color: #FFFFFF;
  padding: 5px;
  border-radius: 5px;
}

.about {
  display: flex;
  flex-direction: column;
  margin: 30px;
  font-size: 25px;
  font-family: 'Arapey', serif;
}

.all-cards {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
}

.card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
}

.cards {
  display: flex;
  flex-direction: row;
  margin: 20px;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 20px;
}

.form {
  display: flex;
  justify-content: center;
}


label {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: 23px;
  align-self: center;
}

.text-input {
  background-color: #ffffff;
  border: 1px solid black;
  padding: 20px 20px 0 20px;
  margin: 10px 0 10px 0;
}

.btn-form {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  background-color: #33b249;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 30px;
}

.panels {
  flex: 1;
}

@media all and (max-width:800px) {
  .cards {
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 10px;
  }

  .map-size {
    width: 100%;
  }

  .carousel-item {
    width: 450px;
    height: 400px;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
  }

  .panel {
    width: 100%;
  }

  h3 {
    font-size: 18px;
  }

}

@media all and (max-width:500px) {
  .cards {
    display: flex;
    flex-direction: column;
    align-content: center;
    margin: 10px;
  }

  .carousel-item {
    width: 400px;
    height: 400px;
  }

  .map-size {
    width: 100%;
  }

  .btn-form {
    font-size: 25px;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  h3 {
    font-size: 18px;
  }

}

.title-smart {
  margin-left: 40px;
}

.card-image-smart {
  align-self: center;
}

.contact-us {
  text-decoration: none;
  color: #FFFFFF;
}

.link {
  text-decoration: none;
}

.nav-contacts {
  justify-content: flex-end;
}

.map {
  margin: 20px;
}

.btn-secondary:hover {
  background-color: #368d63;
}