@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
input,
textarea {
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fafafa;
}

header {
  width: 65%;
  /* border: 1px solid #000; */
  margin: auto;
  transition: .3s linear;
}

header nav {
  width: 100%;
  height: 7%;
  margin: 5px auto;
  /* border: 1px solid #000; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav h4 {
  cursor: pointer;
}

header nav .right_bx {
  display: flex;
  align-items: center;
}

header nav .right_bx ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header nav .right_bx ul li {
  padding: 1vh 1.8vw;
}

header nav .right_bx ul li:nth-last-child(1) {
  border: 1px solid gray;
  border-radius: 20px;
  padding: 3px 20px;
}

header nav .right_bx ul li:nth-last-child(1) a {
  color: #000;
}

header nav .right_bx ul li:nth-last-child(1) a:hover {
  color: gray;
}

header nav .right_bx ul li a {
  text-decoration: none;
  color: gray;
  font-size: 1.6vh;
  font-weight: 500;
  transition: .3s linear;
}

header nav .right_bx ul li a:hover {
  color: #000;
}

header nav .right_bx .account_bx {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

header nav .right_bx .account_bx .bi {
  margin-left: 15px;
  color: gray;
  cursor: pointer;
  transition: .3s linear;
}

header nav .right_bx .account_bx .bi:hover {
  color: #000;
}

header .content {
  position: relative;
  width: 100%;
  height: 93%;
  /* border: 1px solid #000; */
  z-index: 5;
}

header .content::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../img/quarto/Quarto\ \(40\).jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: 0px;
  border-radius: 20px;
  z-index: -1;
}

header .content .cont_bx {
  width: 500px;
  height: auto;
  color: #000;
  padding: 50px;
  /* border: 1px solid #000; */
}

header .content .cont_bx h1 {
  font-size: 42px;
  line-height: 60px;
  font-weight: 600;
}

header .content .cont_bx p {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin-top: 10px;
}

header .content .cont_bx .weather {
  margin-top: 80px;
}

header .content .cont_bx .weather h6 {
  color: rgb(64, 64, 64);
  font-size: 10px;
  font-weight: 600;
}

header .content .cont_bx .weather h6 span {
  margin-left: 5px;
}

header .content .cont_bx .btns_cont {
  margin-top: 10px;
}

header .content .cont_bx .btns_cont i {
  border: 1px solid gray;
  padding: 0px 3.3px;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s linear;
}

header .content .cont_bx .btns_cont i:hover {
  color: #000;
  background: rgb(0, 0, 0, .1);
}

header .content .cont_bx .images_bx {
  position: absolute;
  right: 20px;
  top: 40px;
  /* border: 1px solid #000; */
  width: 50px;
}

header .content .cont_bx .images_bx .card {
  position: relative;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  background: rgb(237, 237, 237, .3);
  padding: 5px;
  border-radius: 8px;
}

header .content .cont_bx .images_bx .card i {
  width: 100%;
  height: 100%;
}

header .content .cont_bx .images_bx .card h6 {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 14px;
  /* z-index: 99999; */
  color: #fff;
}

header .content .choose_bx {
  position: relative;
  width: 80%;
  height: auto;
  margin: auto;
  margin-top: 33.4vh;
  /* border: 1px solid #000; */
}

header .content .choose_bx .stay_bx {
  display: flex;
  align-items: center;
}

header .content .choose_bx .stay_bx button {
  padding: 10px 30px;
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: .3s linear;
}

header .content .choose_bx .stay_bx button:hover {
  background: #fff;
  color: #000;
}

header .content .choose_bx .stay_bx button:nth-child(1) {
  border-radius: 10px 0px 0px 0px;
  background: #fff;
  color: #000;
}

header .content .choose_bx .stay_bx button:nth-last-child(1) {
  border-radius: 0px 10px 0px 0px;
}

header .content .choose_bx .stay_bx button i {
  margin-right: 5px;
}

header .content .choose_bx .select {
  width: 100%;
  height: 135px;
  background: #fff;
  border-radius: 0px 10px 10px 10px;
  position: relative;
  padding: 10px 20px;
  box-shadow: 0px 5px 15px -10px rgb(214, 214, 214);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .content .choose_bx .select .card {
  width: 26%;
  height: 90%;
  border: 2px solid rgb(226, 226, 226, .7);
  border-radius: 10px;
  padding: 10px 0px 10px 30px;
}

header .content .choose_bx .select .card:nth-last-child(1) {
  width: 46%;
}

header .content .choose_bx .select .card h5 {
  font-size: 16px;
  font-weight: 500;
}

header .content .choose_bx .select .card input {
  border: none;
  outline: none;
  margin-top: 5px;
  font-size: 20px;
  font-weight: 700;
  background: none;
  font-family: 'Poppins', sans-serif;
}

header .content .choose_bx .select .card input:nth-child(3) {
  font-size: 12px;
  font-weight: 500;
  color: gray;
}

header .content .choose_bx .select .card button {
  border: none;
  background: none;
  outline: none;
  margin-right: 20px;
  margin-top: 5px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: .3s linear;
}

header .content .choose_bx .select .card button:hover {
  border-bottom: 2px solid rgb(177, 177, 177);
}

header .content .choose_bx .select .card:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
}

header .content .choose_bx .select .card:nth-child(3) .date {
  position: relative;
  display: flex;
  align-items: center;
  /* border: 1px solid #000; */
}

header .content .choose_bx .select .card:nth-child(3) .date input {
  width: 25px;
  height: 30px;
  margin-left: 10px;
  z-index: 999999999999999999999999;
  opacity: 0;
}

header .content .choose_bx .select .card:nth-child(3) .date i {
  position: absolute;
  left: 85%;
  font-size: 23px;
  z-index: -1;
}

header .content .choose_bx .select .card:nth-child(3) .date h3 {
  width: 120px;
}

header .content .choose_bx .select .card:nth-child(3) .date h5 {
  font-size: 13px;
  font-weight: 600;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title h3 {
  font-size: 28px;
  font-weight: 700;
  padding-top: 3rem;
}

.cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-section {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card {
  width: 225px;
  height: 225px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 300ms;
  margin: 10px;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  padding: 30px 20px 20px 20px;
  height: auto;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));

  /* Center text horizontally and vertically */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.article-card .date,
.article-card .title {
  margin: 0;
}

.article-card .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.article-card .title {
  font-size: 22px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.portfolio-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto; /* Adjust margin as needed */
  max-width: 100vw; /* Set a maximum width for the card container */
}

.portfolio-cards .article-card {
  width: calc(20% - 20px); /* 20% width for each card, minus margins */
  margin: 10px; /* Adjust margins as needed */
}

.portfolio .article-card {
  width: 300px;
  height: 300px;
}

/* Classe para aplicar o fade-in */
.scale-anm {
  opacity: 1 !important;
  transform: scale(1) !important;
  display: block !important;
}

/* Classe para aplicar o fade-out */
.scale-anm.fade {
  opacity: 0 !important;
  transform: scale(0.7) !important;
  display: block !important;
}


.footer {
  margin-top: 4vh;
  padding-top: 3vh;
  padding-bottom: 5vh;
  background: #000;
  color: #fff;
}

.footer a {
  text-decoration: none;
  color: inherit;
}

.footer__redes-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 45px auto;
}

.footer__redes-wrapper li {
  display: inline-block;
}

.footer__redes-wrapper li:hover {
  color: var(--gray);
}

.footer__link {
  text-transform: uppercase;
  font-family: var(--title-font);
  font-size: rem(14);
}

.footer .fa-brands {
  margin-right: 1vh;
}

.footer__texto {
  color: var(--light-gray);
  text-align: center;
  display: flex;
  justify-content: center;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }

  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .icon {
    width: 23px;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }

  .cards-section {
    height: unset;
    display: unset;
  }

  .article-card {
    margin: auto;
    margin-bottom: 1rem;
  }
}