/* Base */
.primary-color {
  color: #fff;
  background-color: #df271c;
}

::-moz-selection {
  color: white;
  background: #e43b32;
}

::selection {
  color: white;
  background: #e43b32;
}

.primary-color::selection *, .primary-color::-moz-selection * {
  color: #000;
  background: #fff;
}

@media (max-width: 580px) {
  .text-slide {
    font-size: 1rem!important;
  }
}

/* Nav bar */
nav .nav-personalized {
  font-size: 1.2rem; 
  text-decoration:underline;
  text-decoration-color:#df271c;
}

nav .nav-personalized:hover {
  background-color: #33333305;
}

nav .alter {
  font-size: 1.2rem;
  border: 2px solid #df271c;
  text-decoration: none;
}

.alter:hover {
  color: white!important;
  background-color: #df271c;
}

/* Texts */

@media (max-width: 580px) {
  .text-resp {
    font-size: 1rem!important;
    max-width: 200px;
  }
  .f-row {
    display: flex;
    flex-direction: column!important;
  }
  .text-slide {
    font-size: 1rem!important;
  }
}

/* Services */
.container-services {
  display: grid;
  padding: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 20px;
  place-items: center center;
  max-width: 1024px;
  align-items: center;
}
.grid-services-hist {
  display: flex;
  flex-direction: row;
}

.grid-services-hist span {
  display: flex;
  flex: 1;
}
@media (max-width: 740px) {
  .grid-services-hist {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
}

@media (min-width: 1024px) {
  .align-content {
    align-items: center;
  }
}

.label-float {
  color: #fff;
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  text-align: center;
}

/* Forms */
.form-button {
  color: #fff!important;
  width: fit-content;
  background-color: #df271c!important;
  align-self: flex-end;
  margin-top: 22px;
}

.form-button:hover{
  font-weight: 500;
}

.form {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}
@media (min-width: 740px) {
  .form {
    min-width: 500px;
  }
}

@media (max-width: 740px) {
  .form {
    width: 100%!important;
    padding: 0 3vw;
  }
}
.contact-form {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.text-info {
  color:#333333;
  line-height: 100%;
}

.input {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #33333320;
  margin-bottom: 12px;
  margin-top: 4px;
  width: 100%;
}

.input:focus {
  outline: 2px solid #df261c20;
}
@media (max-width: 992px) {
  .form {
    width: auto;
    margin: 0 5vw;
  }
  .contact-form {
    flex-direction: column;
    gap: 20px;
    max-width: 100vw;
    align-items: center;

  } 
}

/* Whatsapp button */
.whatsapp-button {
  position: fixed;
  bottom: 5vh;
  right: 5vw;
  color: #fff;
  display: flex;
  z-index: 80;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 44px;
  border: none;
  border-radius: 22px;
  background-color: #25D366;
  text-decoration: none;
  transition: 0.3s;
}

.whatsapp-button p {
  line-height: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  margin-right: 8px;
}

.whatsapp-button:hover{
  background-color: #22bd5b;
  color: #fff;
}

@media (max-width: 740px) {
  .whatsapp-button p {
    display: none;
  }
}
.container-email-send {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100vh;
}
.container-email-send h1, .container-email-send h4 {
 text-align: center;
}

.confirmacao-email-links {
  display: flex;
  gap: 20px;
} 

.confirmacao-email-links a {
  padding: 8px 12px;
  background-color: #df271c;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.confirmacao-email-links a:last-child {
  background-color: #efefef;
  color: #333;
}

@media (max-width: 740px) {
  .confirmacao-email-links {
    flex-direction: column;
  }
  .confirmacao-email-links a {
    width: 90%;
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
  }
}