body{
    gap: 0;
}

nav{
    padding-bottom: 120px;
}

.hero{
  display: flex;
  flex-direction: column;
  padding: 0px 120px 120px 120px;
}

h1{
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 160px;
  color: #FAF8F3;
}

.poster-section {
  position: relative;
  width: 100%;
  background-color: #2C3E50;
  padding: 80px 120px;
}

.poster-section::before, .poster-section::after {
  content: '';
  position: absolute;
  margin: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 96px;
  z-index: 1;
}

.poster-section::before {
  top: 0;
}
.poster-section::after {
  top: auto;
  bottom: -18%;
}

.poster-section.green::before, .poster-section.green::after{
  background-color: #7A9E7E;
}
.poster-section.red::before, .poster-section.red::after{
  background-color: #9E2A3E;
}

.poster-intro {
  min-height: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  position: relative; 
}

.poster-text-block {
  background-image: url('../assets/images/empty-card-horse.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1 / 1.2;
  width: 400px;
  padding: 12% 8%;
  flex-shrink: 0;
}

.poster-text-block p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2C3E50;
}

.poster-icon {
  width: 48px;
  height: 48px;
}

.poster-cube {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: url('../assets/images/cube-basic.svg');
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  bottom: -8%;
  right: 26%;
  z-index: 2;
}

.poster-side-line {
  position: absolute;
  z-index: 1;
}

.poster-side-line.right {
  top: 5%;
  right: 0;
  width: 96px;
  height: 100%;
}

.poster-side-line.left {
  top: 3%;
  left: 0;
  width: 96px;
  height: 100%;
}

.poster-side-line.right.green, .poster-side-line.left.green{
    background-color: #7A9E7E;
}

.poster-side-line.right.red, .poster-side-line.left.red{
    background-color: #9E2A3E;
}

.poster-first {
  position: relative;
  width: 100%;
  padding: 4% 12%;
  padding-top: 12%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.poster-first img {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
}

.poster-first h3{
    font-family: 'Manrope', sans-serif;
    font-weight: bold;
    font-size: 36px;
    color: #FAF8F3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 108%;
    height: 100%;
    padding: 6% 5%;
    padding-left: 30%;
}

.poster-bottom-text {
  position: absolute;
  bottom: -18%;
  left: 0;
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 120px;
  z-index: 3;
  color: #FAF8F3;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
}

.poster-bottom-link {
  color: #FAF8F3;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.poster-bottom-link:hover {
  transform: translateX(10px);
}

@media (max-width: 1280px) {
  .hero h1 {
    font-size: 96px;
  }
  
  .poster-section {
    padding: 60px 80px;
  }
  
  .poster-side-line.left {
    top: 2%;
  }
  
  .poster-text-block {
    width: 350px;
  }
  
  .poster-first h3 {
    font-size: 28px;
    padding-left: 20%;
  }
  
  .poster-bottom-text {
    font-size: 28px;
    padding: 0 80px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 24px 60px 24px;
  }
  
  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }
  
  nav {
    padding-bottom: 60px;
  }
  
  .poster-section {
    padding: 30px 24px;
  }
  
  .poster-section::before,
  .poster-section::after {
    height: 48px;
  }
  
  .poster-section::after {
    bottom: -8%;
  }

  .poster-intro {
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 30px;
  }
  
  .poster-text-block {
    padding: 15% 10%;
  }
  
  .poster-text-block p {
    font-size: 14px;
  }
  
  .poster-cube {
    width: 80px;
    height: 80px;
  }
  
  .poster-side-line {
    width: 32px;
  }
  
  .poster-first {
    padding: 60px 24px;
  }
  .poster-first h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  .poster-bottom-text {
    bottom: -8%;
    height: 48px;
    font-size: 16px;
    padding: 0 24px;
  }
  
  .poster-bottom-link {
    font-size: 14px;
  }
  
  footer {
    margin-top: 5% !important;
  }
}