body {
  margin: 0;
}

.cor-fundo {
  position: relative;
  background: rgb(3, 0, 18);
}

.cabecalho {
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.parallax {
  position: relative;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background-0 {
  transform: translateZ(-15px) scale(2.5);
  top: -160px;
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.background {
  transform: translateZ(-10px) scale(2);
  top: -100px;
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
  top: 600px;
}

.title {
  font-size: 7rem;
  color: white;
  text-shadow: 0 0 5px black;
}

section {
  font-size: 2rem;
  padding: 2rem;
  background-color: rgb(3, 0, 18);
  color: white;
}

.card {
  transition: 0.2s ease-in-out;
  width: 400px;
  background-color: #fff;
  border: 1px solid #ddd;
  text-shadow: 0px 0px 10px #ddd;
  border-radius: 10px !important;
}

.card:hover {
  transform: scale(1.06);
}

.card-header {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.header-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

.card-body {
  padding: 20px;
}

.card-footer {
  display: flex;
  align-items: center;
  padding: 20px;
}

.imagem-perfil img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

.info-perfil p {
  margin-bottom: 0px;
}

.nome {
  font-weight: bold;
  margin-bottom: 5px;
}

.data-publicacao {
  font-size: 12px;
  color: #999;
}

.sombra {
  display: inline-block;
  overflow: hidden;
}

.sombra img {
  display: block;
}

.sombra::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.caixa-codigo {
  position: relative;
  background-color: #f6f6f6;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #dcdcdc;
  margin: 50px auto;
  width: 600px;
  height: fit-content;
  overflow: auto;
}

.caixa-codigo pre {
  margin-top: 10px;
}

.botao-janela {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.botao-janela.minimizar {
  background-color: #ffcc00;
}

.botao-janela.maximizar {
  background-color: #4cd964;
  left: 25px;
}

.botao-janela.fechar {
  background-color: #ff3b30;
  left: 45px;
}

footer {
  color: #fff;
  padding: 10px;
}

footer ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

footer ul li {
  list-style: none;
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

footer ul li a:hover {
  transform: translateY(-5px);
  color: #3d64ca;
}

@media screen and (max-width: 767px) {
  .title {
    font-size: 25px;
  }

  .card {
    width: 100%;
    border-radius: 10px !important;
  }

  .background {
    transform: translateZ(-10px) scale(1.5);
    top: -263px;
    width: 253%;
  }

  h1.title {
    padding-bottom: 336px;
  }

  .inicio-card {
    top: -303px;
    position: relative;
  }

  .foreground {
    top: 441px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .title {
    font-size: 3em;
  }
}

@media screen and (min-width: 1024px) {
  .title {
    font-size: 5em;
  }
}
