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

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;
  font-size: 2.1rem;
}

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

a:hover {
  opacity: 0.7;
}

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.selected {
  text-decoration: underline;
}

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

footer {
  background-color: black;
  padding: 40px 0;
}
footer #footer-content {
  color: #ffebd1;
}
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;
}