@font-face {
  font-family: "Monument Extended";
  src: url("fonts/monument-extended-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Mazius Display Regular";
  src: url("fonts/mazius-display-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
html {
  font-size: 16px;
  background-color: #ef3d3d;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Mazius Display Regular", serif;
  background-color: #ffebd1;
}

img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

h2 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
@media screen and (min-width: 960px) {
  h2 {
    font-size: 2.1rem;
  }
}

p {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
}

a:hover {
  opacity: 0.7;
}

.at-sign {
  font-family: "Times New Roman", Times, serif;
}

nav,
main,
#footer-content {
  max-width: 1080px;
  margin: 0 auto;
}

header {
  background-color: #ef3d3d;
  position: fixed;
  width: 100%;
  z-index: 5;
}
header nav {
  padding: 30px 0;
  font-family: "Monument Extended", sans-serif;
}
@media screen and (min-width: 960px) {
  header nav ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
  }
}
header nav ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
header nav ul li a {
  color: black;
  text-decoration: none;
  font-size: 2rem;
}
header nav ul li a:hover {
  text-decoration: underline;
  color: black;
  opacity: 1;
}
header nav ul li a.active {
  text-decoration: underline;
}

main {
  margin-bottom: 40px;
  padding-top: 290px;
}
@media screen and (min-width: 960px) {
  main {
    padding-top: 190px;
  }
}
main #contactos {
  margin-bottom: 80px;
  text-align: center;
}
@media screen and (min-width: 960px) {
  main #contactos {
    text-align: left;
    display: flex;
    justify-content: space-between;
  }
}
main #contactos #morada {
  margin-bottom: 20px;
}
main #contactos #email a {
  color: black;
}
main #logotipo {
  margin-bottom: 120px;
}
main #logotipo img {
  max-width: 400px;
}
main #sobre {
  margin-bottom: 80px;
}
@media screen and (min-width: 960px) {
  main #sobre {
    margin-bottom: 120px;
  }
}
main #sobre h2 {
  padding: 20px 20px 0 20px;
}
@media screen and (min-width: 960px) {
  main #sobre {
    display: flex;
  }
  main #sobre h2 {
    padding: 0;
  }
  main #sobre img {
    max-width: 525px;
    padding-right: 100px;
  }
}
main #trabalhos {
  margin-bottom: 40px;
}
main #trabalhos a {
  color: black;
  text-decoration: none;
}
main #trabalhos a:hover {
  text-decoration: underline;
}
main #trabalhos .um-trabalho {
  margin-bottom: 40px;
}
main #trabalhos .um-trabalho h3 {
  padding: 0 20px;
}
main #trabalhos .um-trabalho time {
  display: none;
  opacity: 0.8;
}
main #trabalhos .um-trabalho p {
  padding: 0 20px;
  font-size: 1rem;
  font-family: monospace;
  opacity: 0.8;
  text-transform: uppercase;
}
@media screen and (min-width: 960px) {
  main #trabalhos {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  main #trabalhos .um-trabalho {
    display: flex;
  }
  main #trabalhos .um-trabalho img {
    max-width: 280px;
    margin-right: 20px;
    border: 4px solid #ef3d3d;
  }
  main #trabalhos .um-trabalho h3 {
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  main #trabalhos .um-trabalho time {
    display: none;
    opacity: 0.8;
  }
  main #trabalhos .um-trabalho p {
    padding: 0;
  }
}

footer {
  background-color: black;
  padding: 40px 0;
}
footer #footer-content {
  color: #ffebd1;
  padding: 0 20px;
}
@media screen and (min-width: 960px) {
  footer #footer-content {
    padding: 0;
  }
}
footer #footer-content #footer-top {
  margin-bottom: 40px;
}
@media screen and (min-width: 960px) {
  footer #footer-content #footer-top {
    display: flex;
    justify-content: space-between;
  }
}
footer #footer-content #footer-top h1 {
  padding: 0;
  margin: 0;
  font-size: 2.2rem;
  font-family: "Mazius Display Regular", serif;
  color: #ef3d3d;
}
footer #footer-content #footer-top h2 {
  font-size: 1.2rem;
  font-family: "Monument Extended", sans-serif;
  color: #ef3d3d;
}
footer #footer-content #footer-top a {
  color: #ffebd1;
}
footer #footer-content #footer-top p {
  margin-bottom: 24px;
}
footer #footer-content #footer-credits {
  text-align: center;
}
footer #footer-content #footer-credits p {
  font-size: 1rem;
}
footer #footer-content #footer-credits p a {
  color: #ffebd1;
}