.home {
    position: relative;
    height: 50vh;
    background-color: #1e1e2f;
    background-color: black;
}

.home-container {
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-size: cover;
    background-position: 50% 65%;
    transition: opacity 2s ease-in-out;
    opacity: 1;
}

.home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3) );
    z-index: 1;
}
.home-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}
    .home-title h2 {
        color: #ffffff;
        font-size: clamp(1.4rem, 3vw, 2.6rem);
        font-weight: 600;
        letter-spacing: 0.05em;
        line-height: 1.3;
        text-transform: uppercase;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
        animation: fadeUp 1.2s ease forwards;
    }

@media (max-width: 768px) {
  .home {
    height: 25vh;
  }
}

#bg {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .home-title h2 {
        font-size: 1.2rem;
        letter-spacing: 0.03em;
    }
}