body {
    margin: 0;
    background-color: #212529;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    height: 100vh;
    overflow: hidden;
    scroll-snap-type: y mandatory;
}

body::-webkit-scrollbar {
    display: none;
}

body, html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.display-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start; 
    overflow: hidden;
}

.logo {
    position: absolute;
    top: 20px;
    left: 50px;
    width: 100px;
    height: auto;
    z-index: 99;
}

.logo-container {
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    width: 80%;
}

.logo-socmed {
    display: flex;
    height: 4rem;
    object-fit: contain;
}

.logo-invert {
    filter: invert();
}

.logo-scroll {
    display: flex;
    flex-shrink: 0;
    gap: 5rem;
    padding: 1rem;
    animation: infinite-scroll 15s linear infinite;
}

.logo-scroll img {
    height: 6rem;
    object-fit: contain;
}

.title-top {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: auto;
    z-index: 99;
    rotate: -180deg;
}

content-left {
    text-align: left;
    opacity: 1;
}

.content {
    text-align: center;
    opacity: 1;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.25rem;
    max-width: 800px;
}

.content-left p {
    font-size: 1.25rem;
    max-width: 800px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #6200ea;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #3700b3;
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
    background-color: #4a00c7;
    transform: translateY(0);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}


#section1 {
    background-color: #212529;
}

#section2 {
    background-color: #495057;
}

#section3 {
    background-color: #212529;
}

#section4 {
    background-color: #495057;
}

#section5 {
    background-color: #212529;
    height: 30vh;
}

@keyframes infinite-scroll {
    from{
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsiveness */
@media only screen and (max-width: 768px) {
    .content h2 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
        max-width: 100%;
    }

    .logo {
        width: 70px; /* Ukuran logo lebih kecil di mobile */
    }

    .title-right-bottom {
        width: 80px; /* Ukuran title-right-bottom lebih kecil di mobile */
    }

    .logo-scroll img {
        height: 4rem; /* Ukuran logo di dalam scroll lebih kecil di mobile */
    }

    /* Adjust for smaller screen sizes */
    .display-section {
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 0.875rem;
        max-width: 100%;
    }

    .logo {
        width: 60px; /* Ukuran logo lebih kecil di mobile */
    }

    .title-right-bottom {
        width: 70px; /* Ukuran title-right-bottom lebih kecil di mobile */
    }

    .logo-scroll img {
        height: 3rem; /* Ukuran logo di dalam scroll lebih kecil di mobile */
    }
}
