/*
  STYLE v 1.0 (limpo);
  05/2023;
  João Diogo Pereira;

  Este ficheiro tem só o geral. Cada parte tem o seu CSS (menu.css, e os das páginas à medida que forem entregues).
*/

/*FONTS*/

@font-face {
  font-family: 'Poppins';
  src: url(../fonts/Poppins.ttf);
  font-display: swap;
}

/*GERAL*/

html {
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--secondaryTextFont), system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--primaryTextColor);
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5 {
  font-family: var(--primaryTextFont), sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--terciaryColor);
}

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

a {
  text-decoration: none;
  text-underline-offset: .2em;
}

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

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

.leaflet-container img,
.leaflet-container img:hover {
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fefefe;
}

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

/*ACESSIBILIDADE*/

:focus-visible {
  outline: 3px solid var(--terciaryColor);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/*UTILITÁRIOS*/

.color-primary { color: var(--primaryTextColor); }
.color-secondary { color: var(--secondaryTextColor); }
.color-terciary { color: var(--terciaryColor); }
.maincolor-primary { color: var(--primaryColor); }

.bgcolor-primary { background-color: var(--primaryColor); }
.bgcolor-secondary { background-color: var(--secondaryColor); }
.bgcolor-terciary { background-color: var(--terciaryColor); }

.text-decor-none { text-decoration: none; }