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

/*FONTS*/

@font-face {
  font-family: sqr;
  src: url(../fonts/sqr.ttf);
}

/*GERAL*/

main *{
  font-family: sqr!important;
  text-transform: uppercase;
}

html {
  overflow-x: hidden; 
}

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

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

a {
  text-decoration: none!important; 
}

.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; 
}

main, footer{
  z-index: 2;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.preloader{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: #fafafa;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../images/preloader.svg);
}

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

video{
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
}

footer p{
  font-size: 9px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
}

footer a{
  font-size: 9px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
  transition: all .3s ease-in-out;
}

footer a:hover{
  color: #f48120;
}

.presence__logo{
  aspect-ratio: 15/16;
}

.presence__logo h1{
  line-height: 0;
  margin: 0;
  height:100%;
  width: 100%;
}

.servico{
  aspect-ratio: 2/1;
}

.presence__logo img, .servico img{
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.contactos a, .contactos p, .error404 a{
  font-size: 12px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  transition: all .3s ease-in-out;
}

.contactos p.sub{
  font-size: 7px;
}

.contactos a:hover, .contactos a:hover p, .error404 a:hover{
  color: #f48120;
}

.socials svg{
  fill: #f48120;
  transition: all .3s ease-in-out;
} 

.socials a:hover svg{
  fill: #fff;
}

.error404 h1{
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

.error404 h2{
  font-size: 30px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

@media only screen and (max-width: 992px){
  .contactos a, .contactos p, .error404 a{
    font-size: 10px;
  }

  .fit{
    width: fit-content;
  }
}