:root {
  --primary-color: #d4092f;
  --overlay-b: #f4f4f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Catamaran", sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 1.1rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
}

a {
  color: white;
  text-decoration: none;
}

img {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  height: 100%;
  margin: auto;
  overflow: hidden;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* navbar */

#navbar {
  overflow: hidden;
  background-color: white;
  padding: 2rem 0.5rem 2rem 0.5rem;
  transition: 0.4s;
  width: 100%;
  top: 0;
  z-index: 99;
}

.center {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

#navbar #logo {
  max-width: 20%;
}

#navbar p {
  margin: 0.2rem 0;
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  font-size: 1.3rem;
}

.navbar-right {
  float: right;
}

.navbar-right span {
  color: #d4092f;
  font-size: 1.5rem;
  font-weight: 600;
}

.section-a {
  position: relative;
  background: url("../img/bg-funcionarios.jpg") no-repeat top center/cover;
  height: 750px;

  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  text-align: center;
  justify-content: center;

  font-size: 2.5rem;
  text-decoration: underline;
}

.section-a .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.section-a .container {
  max-width: 1200px;
}

.section-a .titulo {
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
  padding: 17rem 0;
}

.section-a .titulo p {
  font-size: 3rem;
}

.section-a .titulo span {
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-color);
}




.section-a .overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  padding-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.5);
}

.form-formulario form input,
.form-formulario form textarea,
.form-formulario form select {
  width: 80%;
  height: 2.4rem;
  padding: 5px 10px;
  font-size: 12px;
  color: rgb(61, 61, 61);
  letter-spacing: 1px;
  background: #fff;
  border: 2px solid rgb(179, 178, 178);
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.form-formulario form input:focus,
.form-formulario form textarea:focus {
  color: #999;
  outline: none;
  border: 2px solid #dd4545;
}

 .form-formulario form .submit {
  width: 30%;
  padding: 5px 4px;
  margin-bottom: 1rem;
  font-size: 12px;
  letter-spacing: 1px;
  background: var(--primary-color);
  height: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  border: 2px solid #b43838;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border-radius: 1rem;
}

 .form-formulario {
  background: white;
  max-width: 400px;
  border-radius: 1rem;
  justify-self: center;
  font-family: "Montserrat", sans-serif;

  justify-self: self-end;
}

 .form-formulario h1 {
  padding-top: 1rem;
  font-size: 2.4rem;
}

 .form-formulario p {
  padding: 0.1rem 0;
  font-size: 1.2rem;
}

/* Section-b */

.section-b {
  position: relative;
  height: 600px;
}

.section-b .overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--overlay-b);
}

.section-b a {
  margin-top: 1rem;
  width: 30%;
  padding: 5px 4px;
  margin-bottom: 1rem;
  font-size: 12px;
  letter-spacing: 1px;
  background: rgb(233, 158, 18);
  height: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #b43838;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border-radius: 1rem;
}

.section-b .container .title1 {
  font-size: 2rem;
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary-color);
  font-weight: 200;
}

.section-b .container span {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 3rem;
}

.section-b .container img {
  max-width: 80%;
  color: red;
}

.section-b .grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.m {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 4fr;
}

.section-b .m p {
  margin-top: 0.6rem;
}

/* section-c  */

.section-c {
  height: 400px;
  position: relative;
}

.section-c .container {
  margin-top: 5rem;
  text-align: center;
}

.section-c .overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #d12141e1;
}

.section-c-class {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 7rem auto;
  max-width: 860px;
}

.section-c-class h1 {
  font-size: 3rem;
}

.section-c a {
  margin-top: 1rem;
  width: 30%;
  padding: 5px 4px;
  margin-bottom: 1rem;
  font-size: 12px;
  letter-spacing: 1px;
  background: rgb(233, 158, 18);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #b43838;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
  border-radius: 1rem;
}

/* Footer */

.section-footer .right i {
  cursor: pointer;
  color: white;
}

.section-footer {
  background: #333;
  color: #fff;
  padding: 2rem;
}

.section-footer .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.space-mobile{
  margin-top: 20px;
  text-align: center;
}

.btn{
font-size: 30px;
padding: 10px;
background-color: #D4092F;
border-radius: 1rem;
}

.title-back{
  color: white;
  font-size: 25px;
}

.title-mobile{
  font-family: "Montserrat", sans-serif;
  margin-bottom: 10px;
}
.title-mobile span{
  color: #d4092f;
}

@media screen and (max-width: 580px) {
  #navbar #logo {
    max-width: 40% !important;
    text-align: center;
  }

  .navbar-right{
    float: left !important;
  }

  .section-a{
    background: url(../img/bg-funcionarios.jpg) no-repeat top center/cover;
  }

  .itens-center{
    text-align: center;
  }

  .form-formulario input{
    margin-top: 20px;
  }
  .form-formulario select{
    margin-top: 20px;
  }
  .form-formulario button{
    margin-top: 20px;
  }

  .form-formulario{
    text-align: center;
  }

  .form-formulario{
    margin-top: 50px;
  }

  #navbar{
    padding: 1rem 0.5rem !important;
  }

  #navbar p {
    margin-top: 1rem;
    font-size: 1.5rem;
  }

  .section-a .container {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
  }

  .section-a .titulo {
    color: #fff;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    padding: 1rem 0;
  }

  .section-a .titulo p {
    font-size: 2rem;
  }

  .section-a .titulo span {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgb(0,0,0,0.5);
    padding: 0.2rem;
    border-radius: 1rem;
  }

  .section-a {
    height: 500px;
  }

  .section-b {
    position: relative;
    height: 1100px;
  }

  .section-b .container img {
    max-width: 100%;
    color: red;
  }

  .section-b .grid {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
  }

  .m {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 4fr;
    grid-gap: 1rem;
  }

  .section-b {
    height: 1100px;
  }

  .section-c .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #d3062be1;
  }

  .section-c-class {
    margin: 2rem auto;
    max-width: 860px;
  }

  .section-c-class h1 {
    font-size: 2.5rem;
  }

  .section-c-class p {
    padding-top: 1rem;
    font-size: 1.2rem;
  }

  .section-c a {
    width: 50%;
  }
  .section-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
