html {
  scroll-behavior: smooth;
  font-size: 16px; /* base para rem */
}

body {
  background-image: url(../img/back.png);
  background-size: cover;
  background-attachment: row;
  background-repeat: no-repeat;
  font-family: "Roboto Condensed", sans-serif;
  margin: 0;
  padding: 0;
  color: #343649;
}

header {
  background: #7e82a2;
  position: relative;
  padding: 2%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
}

.fixo {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.container {
  margin-top: 15%;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.icon {
  text-align: left;
  width: 13%;
}

.img {
  max-width: 20%;
  height: auto;
  margin: 1rem;
}

.sobre {
  max-width: 40%;
  padding: 1rem;
  font-size: 1.2rem;
}

h1 {
  font-size: 2.2rem;
  color: #343649;
}

h4 {
  font-size: 1rem;
  text-align: right;
}

p {
  text-align: center;
  padding: 1%;
  font-size: 1.2rem;
  line-height: 1.4;
}

hr {
  height: 4px;
  background: #e4d4e3;
  border: none;
}

.distancia {
  margin-top: 1%;
  margin-bottom: 2%;
}

input[type=text],
select {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #c8bbd8;
  border-radius: 20px;
  box-sizing: border-box;
}

input[type=email] {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #c8bbd8;
  border-radius: 20px;
  box-sizing: border-box;
}

.form {
 
  text-align: left;
  position: relative;
  top: 2rem;
  font-size: 1rem;
  width: 80rem;
  background-color: #ddd3dd;
  margin-left: 21rem;
  padding: 2.5rem;
  margin-top: 1%;
  margin-bottom: 2%;
}

.form h1 {
  text-align: center;
  color: #4d5470;
}

.fundo {
  background-color: #ddd3dd;
}

a:link {
  color: #fff;
  text-decoration: none;
}

a:visited {
  color: #323872;
}

a:hover {
  color: #343649;
}

a:active {
  color: #161724;
}

/* Media Queries */
@media screen and (max-width: 599px) {
  .container {
    margin-top: 65%;
    flex-direction: column;
    align-items: center;
  }

  .img {
    max-width: 60%;
  }

  .sobre {
    max-width: 90%;
    font-size: 1rem;
  }
}

@media screen and (min-width: 600px) and (max-width: 767px) {
  .container {
    margin-top: 40%;
  }

  .img {
    max-width: 40%;
  }

  .sobre {
    max-width: 70%;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-top: 10%;
  }

  header {
    background-color: #7e82a2;
    flex-direction: row;
  }

  nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav ul li {
    margin-left: 2rem;
    font-size: 1.2rem;
  }
}
