* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

header {
  background-color: black;
  color: white;
  padding: 20px 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

header section {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  font-size: min(2rem, 2vw);
  color: goldenrod;
  gap: 50px;
  position: relative;
  width: min(40%);
}

header h1 {
  font-weight: 500;
  font-family: "Orbitron", sans-serif;
}

header img {
  max-width: 20vw;
  border-radius: 100%;
  border: 4px solid goldenrod;
  padding: 4px;
}

header nav {
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
  justify-content: space-between;
  height: 50vh;
  flex-grow: 1;
}

/* header nav a:nth-child(2),
header nav a:nth-child(3) {
  margin-left: 50px;
} */

header nav a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
}

header nav a::before {
  content: "☕️ ";
}

header nav a:hover {
  color: goldenrod;
}

h3,
p,
ul {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

li {
  margin-bottom: 5px;
  font-weight: 600;
  margin-left: 35px;
}

li small {
  font-weight: 400;
}

#lista-palestras {
  height: 300px;
  overflow: auto;
}

.colunas {
  display: flex;
  gap: 10%;
  align-items: flex-start;
}

header nav a span {
  display: none;
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 30vh solid goldenrod;
  border-left: 30vw solid transparent;
}

header nav a:hover span {
  animation: showsin 1s;
  display: block;
  opacity: 1;
}

header nav a:not(:hover) span {
  animation: hides 1s;
  display: none;
  opacity: 0;
}

#link-palestras span {
  border-bottom: 30vh solid yellowgreen;
}

#link-devcreu span {
  border-bottom: 30vh solid hsl(210, 83%, 45%);
}

#link-contato span {
  border-bottom: 30vh solid fuchsia;
}

@keyframes showsin {
  from {
    opacity: 0;
    display: none;
  }
  to {
    opacity: 1;
    display: block;
  }
}

@keyframes hides {
  from {
    opacity: 1;
    display: block;
  }
  to {
    opacity: 0;
    display: none;
  }
}

body > section {
  min-height: 100vh;
  padding: 50px;
}

body > section:nth-child(odd) {
  background-color: grey;
}

body > section h2 {
  text-align: center;
  font-size: 2rem;
}

#totop {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  color: goldenrod;
  transform: rotate(-90deg);
  text-shadow: -2px 2px 2px grey;
}

#link-totop {
  display: none;
}

.developerslife {
  background-image: url(images/background.jpg);
  background-size: cover;
}

.contato {
  background-image: url(images/contato.jpg);
  background-size: cover;
  background-position: top right;
}

.palestras {
  background-image: url(images/background-palestras.jpg);
  background-size: cover;
  background-position: right;
}

.devcreu {
  background: url(images/devcreu-1920-opaco.png);
  background-size: cover;
}

.quem {
  background: url(images/background-quem.jpg);
  background-size: cover;
  background-position: top right;
}

.academico {
  background: url(images/academico.jpg);
  background-size: cover;
  background-position: top right;
}

.carreira {
  display: flex;
  width: 100%;
  justify-content: center;
}

.carreira img {
  max-width: 70%;
}

@media (max-width: 900px) {
  .carreira img {
    max-width: 100%;
  }
}

h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 3rem;
  width: 80%;
  padding: 20px 50px;
  margin: auto;
  margin-bottom: 30px;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.info {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(80, 171, 255);
  padding: 20px 50px;
  color: white;
}

.devcreu .products {
  display: flex;
  margin-top: 150px;
  gap: 30px;
}

.devcreu .products article {
  width: 25%;
  max-width: 300px;
  min-height: 400px;
  background-color: #4d4d4d;
  border: 5px solid white;
  padding: 10px;
  color: white;
}

.devcreu .products article h3 {
  font-size: 1.2rem;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-weight: 500;
  margin: 10px 0 0;
}

.devcreu .products article .lead {
  font-size: 0.8rem;
  text-align: right;
}

.devcreu .products article img {
  width: 100%;
  background: grey;
}

.devcreu .products article .action {
  display: block;
  margin: 10px auto;
  width: 70%;
  padding: 10px;
  background-color: #ff7f2a;
  color: white;
  border: 3px solid white;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}

.palestras iframe {
  width: 30vw;
  height: 60dvh;
  border-radius: 50px;
}

@initial {
  #link-devlife span {
    opacity: 0;
  }
}

.nav-topo {
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  flex-direction: row;
  justify-content: space-evenly;
  font-size: 1rem;
  height: unset !important;
  z-index: 5;
}

.nav-topo a {
  margin: 0;
}

.nav-topo a span {
  border-bottom-width: 30px !important;
  border-left-width: 50px !important;
}

.nav-topo a::before {
  content: unset;
}

.nav-topo #link-totop {
  display: inline;
}

#dados-contato {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 50px;
}

#dados-contato form {
  display: flex;
  width: 50%;
  flex-direction: column;
  padding-right: 200px;
  gap: 15px;
  padding: 20px;
}

@media (max-width: 800px) {
  #dados-contato form {
    width: 100%;
  }
}

#dados-contato label {
  font-size: 2rem;
}

#dados-contato input,
#dados-contato textarea {
  font-size: 2rem;
  border-radius: 7px;
  border: 1px solid #999;
}

.weekend {
  padding: 0;
}
.weekend img {
  max-width: 100%;
}
