html {
  font-family: Montserrat;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

p {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
}

h1,
a {
  font-family: Montserrat;
  font-weight: 700;
}

h1 {
  font-size: 100px;
}

h2 {
  font-family: Montserrat;
  font-weight: 900;
}

b {
  font-family: Montserrat;
  font-weight: 600;
}

h3 {
  font-family: Montserrat;
  font-weight: 600;
}

nav {
  width: 100%;
  height: 75px;
  position: fixed;
  right: 15px;
  top: 0;
  z-index: 1;
}

#logopequeno {
  position: absolute;
  top: 0;
  left: 25px;
}

nav div,
footer {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 50px;
}

nav div {
  height: 100%;
  justify-content: flex-end;
}

nav a {
  font-size: 15px;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
}

main {
  padding-right: 10%;
  padding-left: 10%;
}

#ccdm {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#sobre canvas {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

#sobre h1 {
  text-align: left;
  margin-bottom: -10px;
}

.sobretexto {
  width: 70%;
  position: relative;
  padding: 25px;
}

.sobretexto p {
  padding-right: 40px;
  padding-left: 40px;
}

#oradores canvas {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

#oradores h1 {
  text-align: right;
  margin-bottom: 5px;
}

.oradoresdiv {
  display: flex;
  flex-direction: column;
  row-gap: 100px;
}

#oradores article {
  width: 100%;
  display: flex;
  flex-direction: row;
  column-gap: 2.5%;
  position: relative;
}

.imgdiv {
  width: 400px;
  height: 500px;
}

article img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.75;
  margin-bottom: 10px;
}

.astrid {
  object-position: 50% 25%;
}

.karel {
  object-position: 50% 100%;
}

.luis {
  object-position: 30% 50%;
}

.nome {
  position: relative;
  top: -50px;
  margin-bottom: -30px;
}

.nome h2 {
  text-align: center;
  font-size: 72px;
  margin-bottom: 0px;
  padding: 25px;
}

.textoOradores {
  margin-top: -25px;
  height: 45%;
}

.textoOradores h3 {
  font-size: 25px;
}

#contactos div {
  margin-top: -75px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#contactos p {
  font-size: 17px;
}

#contactos h1 {
  text-align: center;
}

footer {
  margin-top: 150px;
  column-gap: 25px;
}

footer svg {
  width: 25px;
  height: auto;
}

#menu2 a {
  font-size: 38px;
  text-decoration: none;
}

#menu2 a:hover {
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
}

#hamburguer {
  position: fixed;
  right: 15px;
  top: 13px;
  width: 50px;
  height: 50px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#hamburguer span {
  position: absolute;
  width: 35px;
  height: 3px;
  transition: transform 0.3s;
  border-radius: 3px;
}

#hamburguer span:nth-child(1) {
  transform: translateY(-10px);
}

#hamburguer span:nth-child(3) {
  transform: translateY(10px);
}

#hamburguer.active span:nth-child(2) {
  transform: translateX(100px);
}

#hamburguer.active span:nth-child(1) {
  transform: translateY(0px) rotate(45deg);
}

#hamburguer.active span:nth-child(3) {
  transform: translateY(0px) rotate(-45deg);
}

#menu2 {
  z-index: 4;
  position: fixed;
  right: 600px;
  width: 600px;
  height: 2000px;
  transition: right 0.3s;
  text-align: right;
}

#menu2 a {
  right: 0px;
}

#menu2 a:nth-child(1) {
  top: 10px;
}

#menu2 a:nth-child(2) {
  top: 30px;
}

#menu2 a:nth-child(3) {
  top: 50px;
}

#menu2.active {
  right: 15px;
}

.hidden {
  visibility: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  display: none;
}


.hide {
  opacity: 0;
  transition: opacity 1s;
}

.show {
  opacity: 1;
  transition: opacity 1s;
}

@media screen and (min-width: 1300px) {

  .textoOradores {
    height: 55%;
    margin-top: 0;
  }

}

@media screen and (max-width: 1000px) {

  h1 {
    padding-bottom: 15px;
  }

  .imgdiv {
    width: 300px;
  }

  #oradores img {
    width: 300px;
  }

  .sobretexto {
    width: 100%;
    margin-top: -35px;
    padding-right: 5px;
    padding-left: 5px;
  }
}

@media screen and (max-width: 800px) {
  p {
    font-size: 18px;
  }

  main {
    padding-right: 2%;
    padding-left: 2%;
  }

  h1 {
    font-size: 80px;
  }

  section {
    margin-top: 150px;
  }

  #oradores article {
    flex-direction: column;
    row-gap: 25px;
    height: 100%;
  }

  .imgdiv {
    width: 100%;
    height: 300px;
    order: 1;
  }

  .oradoresdiv {
    row-gap: 200px;
  }

  #oradores img {
    width: 100%;
    height: 300px;
  }

}

@media screen and (max-width: 580px) {

  h1 {
    font-size: 50px;
  }

  .sobretexto {
    margin-top: -25px;
  }

  .nome h2 {
    font-size: 50px;
  }

  #contactos div {
    margin-top: -20px;
  }

}

@media screen and (max-width: 500px) {

  nav div {
    column-gap: 15px;
  }

}

@media screen and (max-width: 320px) {

  h1 {
    font-size: 30px;
  }

  .nome h2 {
    font-size: 30px;
  }

}