body {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2vw;
    background-color: #1E1E1E;
    margin: 0;
    overflow-x: hidden;
    width: 100vw;
}

#top {
    background-color: black;
    color: white;
    width: 100vw;
    height: 6vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#left {
    background-color: red;
    background-image: linear-gradient(45deg, #78bef3, #303ac9);
    background-size: 100%;
    background-repeat: repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    padding-left: 1vw;
}

#right {
    padding-right: 1vw;
}

#content {
    margin-top: 5vh;
    position: relative;
}

#content > p {
    display: flex;
    justify-content: center;
}

#control {
    width: 100%;
    margin-top: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.container {
    display: flex;
    overflow: hidden;
    width: 75%;
    align-items: center;
    padding: 20px;
    position: relative;
}

.package-box {
    background-color: #333333;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px 0;
    width: 50vw;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.3s ease;
    min-width: 100%;
    box-sizing: border-box;
    display: none;
}

.package-box.active {
    display: block;
}

.package-box:hover {
    transform: scale(1.05);
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 100;
    font-size: 2rem;
    border-radius: 50%;
}

#prevBtn {
    left: 10rem; /* Adjust based on your design */
}

#nextBtn {
    right: 10rem; /* Adjust based on your design */
}

#social {
    color: gray;
    font-size: 4vw;
    transition: 0.2s ease;
    padding: 5px;
}

#social:hover {
    color: greenyellow;
}

p {
    margin: 0;
    font-size: 1.2vw;
}

@media screen and (max-width: 600px) {
    p {
        font-size: 2.5vw;
    }
    .package-box {
        width: 75vw;
    }
    #prevBtn {
        left: 1rem; /* Adjust based on your design */
    }
    
    #nextBtn {
        right: 1rem; /* Adjust based on your design */
    }
    #social {
        font-size: 15vw;
    }
}

h2 {
    margin: 0;
    margin-bottom: 10px;
}

#pack-link {
    background: linear-gradient(45deg, orange, purple, orange, purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    animation: rgbAnimation 10s infinite linear;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    background-size: 400% 400%; /* Adjust the background size for smoother animation */
}

@keyframes rgbAnimation {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 200% 50%; }
    75% { background-position: 300% 50%; }
    100% { background-position: 400% 50%; }
}

footer {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}