* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  background: #0e0e0e;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  font-family: system-ui;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 70VH;
  border-radius: 15px;
  background: #f5f5f5;
  box-shadow: 0 0px 16px #585858;
}

.container .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  transition: 0.5s;
  border: solid 4px #3f3f3f;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.slide .item:nth-child(2) .content {
  display: block;
}

.slide .item:nth-child(3) {
  left: 50%;
}

.slide .item:nth-child(4) {
  left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

.slide .item:nth-child(n + 6) {
  left: calc(50% + 440px);
  overflow: hidden;
}

.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
}

.content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .description {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

.button button {
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid #000;
  transition: 0.3s;
}

.button button:hover {
  background: #ababab;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
}

/* Footer fixo ao fim da página */
.footer {
  padding: 10px;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #0e0e0e;
}

.footer img {
  width: 100%;
  max-width: 1000px;
}

/* RESPONSIVO PARA MOBILE */
@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  .container {
    position: static;
    transform: none;
    width: 95vw;
    height: auto;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .slide {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
  }

  .slide .item {
    position: relative !important;
    width: 100% !important;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
    transform: none !important;
    top: auto !important;
    left: auto !important;
  }

  .item .content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    color: #eee;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    display: block !important;
  }

  .content .name img {
    max-width: 80%;
    height: auto;
  }

  .content .description {
    font-size: 14px;
  }

  .content button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .button {
    position: static;
    margin-top: 20px;
  }

  .button button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .footer img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .content .name {
    font-size: 22px;
  }

  .content .description {
    font-size: 13px;
  }

  .content button {
    font-size: 13px;
    padding: 8px 12px;
  }
}
body {
  background: linear-gradient(-45deg, #0e0e0e, #1a1a1a, #222222, #0e0e0e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
