/*
  STYLE v 1.1;
  05/2023;
  João Diogo Pereira;
*/

:root{
  --white: #ffffff;
  --yellow: #b09a35;
  --lightgray: #FAFAFA;
  --gray: #8A8C8E;
  --darkgray: #616263;
  --headerSize: 65px;
}

/*FONTS*/

@font-face {
  font-family: 'Josefin';
  src: url(../fonts/Josefin.ttf) format('truetype');
}

/*GERAL*/

html {
  overflow-x: hidden; 
}

.main-container {
  margin: 0 auto;
  width: 90%; 
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0; 
}

a {
  text-decoration: none; 
}

.row {
  margin: 0;
  padding: 0; 
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-height: 100vh; 
}

main {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1; 
  margin-top: var(--headerSize);
}

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--white) 50%, transparent);
  background: rgb(from var(--white) r g b / 50%);
}

.preloader svg path {
  stroke: var(--yellow);
}

img{
  max-width: 100%;
  display: inline-block;
}

.bg-yellow, .bg-white-yellow{
  background-color: var(--yellow);
}

.bg-lightgray{
  background-color: var(--lightgray);
}

.bg-darkgray, .bg-lightgray-darkgray{
  background-color: var(--darkgray);
}

.bg-white{
  background-color: var(--white);
}

.bg-img{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.about-link{
  font-family: 'Josefin';
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--white);
  transition: all .3s ease-in-out;
}

.about-link:hover{
  color: var(--white);
}

.about-link svg{
  display: block;
  margin-top: .5rem;
  transform: translateX(0);
  transition: all .3s ease-in-out;
}

.about-link:hover svg{
  transform: translateX(100%);
}

.content{
  font-family: 'Josefin';
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--gray);
}

.content *:last-child{
  margin-bottom: 0;
}

.content--big{
  font-size: 30px;
}

.content--medium{
  font-size: 20px;
}

.content--contactos em{
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  margin-top: -.25rem;
  display: block;
}

.subtitle{
  font-family: 'Josefin';
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--yellow);
}

.color-white{
  color: var(--white);
}

.color-gray{
  color: var(--gray);
}

.color-yellow{
  color: var(--yellow)!important;
}

.idade{
  font-family: 'Josefin';
  font-weight: 400;
  font-size: 130px;
  line-height: .75;
  letter-spacing: 0;
  color: var(--yellow);
}

.home-about-image{
  width: 100%;
  aspect-ratio: 16/7;
}

.home-about-image img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.grid-left {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  height: 100%;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.grid-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  height: 100%;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.grid-cell {
  aspect-ratio: 1;
  width: 100%;
}

.grid-cell__link{
  height: 50%;
  width: 100%;
}

.inputs{
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--white);
  width: 100%;
  padding: .5rem 0;
  font-family: 'Josefin';
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  color: var(--white);
}

.btns{
  padding: .5rem 1rem;
  border-radius: 8px;
  font-family: 'Josefin';
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  transition: all .3s ease-in-out;
}

.btns--white{
  border: solid 1px var(--white);
  background-color: var(--white);
  color: var(--yellow);
}

.btns--white:hover{
  border: solid 1px var(--yellow);
  background-color: var(--yellow);
  color: var(--white);
}

.btns--yellow{
  border: solid 1px var(--yellow);
  background-color: var(--yellow);
  color: var(--white);
}

.btns--yellow svg path{
  fill: var(--white);
  transition: all .3s ease-in-out;
}

.btns--yellow:hover{
  border: solid 1px var(--yellow);
  background-color: transparent;
  color: var(--yellow);
}

.btns--yellow:hover svg path{
  fill: var(--yellow);
}

.btns--msgr{
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  border-radius: 0;
  padding: 1rem;
  z-index: 2;
  box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, .25);
}

.popup-msgr{
  width: fit-content;
  aspect-ratio: 1;
  right: 3rem;
  bottom: calc(64px + 53px);
  position: fixed;
  z-index: 2;
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom right;
  background-color: var(--white);
  box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, .25);
  transition: all .3s ease-in-out;
}

.popup-msgr.popup-open{
  opacity: 1;
  transform: scale(1);
}

.popup__user{
  width: 50px;
  aspect-ratio: 1;
  background-color: var(--yellow);
  color: var(--white);
  text-transform: uppercase;
  padding: 1rem;
  font-weight: bold;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popop-close{
  background-color: var(--gray);
  color: var(--white);
  border: solid 1px var(--gray);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  line-height: 0;
  font-size: 14px;
  font-weight: normal;
  transition: all .3s ease-in-out;
}

.popop-close:hover{
  background-color: transparent;
  border: solid 1px var(--darkgray);
  color: var(--darkgray);
}

.popup-link{
  text-decoration: none;
}

.popup-link svg:not(.arrow){
  fill: var(--gray);
  width: 20px;
  height: 20px;
}

.popup-link svg.arrow{
  width: 20px;
  height: 20px;
  transform: translateX(0);
  transition: all .3s ease-in-out;
}

.popup-link:hover svg.arrow{
  transform: translateX(5px);
}

.popup-link svg.arrow path{
  stroke: var(--yellow)
}

.labels{
  font-family: 'Josefin';
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: white;
}

.labels--small{
  font-weight: 300;
  font-size: 14px;
}

.footer-logo{
  width: 100%;
  max-width: 300px;
}

.footer__info p{
  font-family: 'Josefin';
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
}

.footer__info a{
  font-family: 'Josefin';
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
  text-decoration-color: transparent; 
  white-space: nowrap;
  transition: all .3s ease-in-out;
}

.footer__info a:hover{
  color: var(--white);
  text-decoration-color: var(--white);
}

.footer__info strong{
  font-family: 'Josefin';
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
}

.footer__info li{
  line-height: 1;
}

.copyright-area p{
  font-family: 'Josefin';
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
}

.copyright-area a{
  font-family: 'Josefin';
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
  text-decoration-color: transparent;
  transition: all .3s ease-in-out;
}

.copyright-area a:hover{
  color: var(--white);
  text-decoration-color: var(--white);
}

@media only screen and (max-width: 992px) {
  .content--big{
    font-size: 25px;
  }

  .about-link{
    font-size: 20px;
  }

  .bg-lightgray-darkgray{
    background: linear-gradient(to bottom, var(--lightgray) 50%, var(--darkgray) 50%);
  }

  .bg-white-yellow{
    background: linear-gradient(to bottom, var(--white) 50%, var(--yellow) 50%);
  }

  .grid-left,
  .grid-right {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
  }
}

@media only screen and (max-width: 767px) {
  .content--big{
    font-size: 20px;
  }

  .about-link, .content--medium, .subtitle{
    font-size: 18px;
  }

  .content{
    font-size: 14px;
  }

  .bg-lightgray-darkgray{
    background: linear-gradient(to bottom, var(--lightgray) 50%, var(--darkgray) 50%);
  }

  .bg-white-yellow{
    background: linear-gradient(to bottom, var(--white) 50%, var(--yellow) 50%);
  }

  .grid-left,
  .grid-right {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .grid-cell {
    aspect-ratio: 16 / 9;
  }

  .btns--msgr{
    right: 1.5rem;
    bottom: 1.5rem;
    padding: .5rem;
  }

  .btns--msgr svg{
    width: 16px;
    height: 16px;
  }

  .popup-msgr{
    right: 1.5rem;
    bottom: calc(32px + 45px);
    position: fixed;
  }

  .popup__user {
    width: 40px;
    padding: .5rem;
  }
}