* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.container::-webkit-scrollbar {
    display: none;
}

.header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.header h1 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.header p {
    font-size: 1.1rem;
    color: #cccccc;
}

.preview-area {
    height:84%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.preview-content.show {
    opacity: 1;
    transform: scale(1);
}

.preview-image {
    width: 300px;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.preview-text h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.preview-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 500px;
    line-height: 1.4;
}

.menu-area {
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px;
}

.menu-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: #2a2a2a;
    position: relative;
}

.menu-item:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.menu-item.selected {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.menu-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.menu-item .icon-text {
    font-size: 24px;
}

.navigation-hint {
    position: absolute;
    bottom: 30px;
    left: 20px;
    font-size: 0.8rem;
    color: #888888;
}

.selection-indicator {
    position: absolute;
    bottom: 50px;
    left: 20px;
    font-size: 0.8rem;
    color: #888888;
}

/* Slider arrows for when there are many icons */
.slider-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    opacity: 0;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.slider-arrow.visible {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .preview-image {
        width: 150px;
        max-height: 150px;
    }

    .preview-text h1 {
        font-size: 1.5rem;
    }

    .menu-item {
        width: 60px;
        height: 60px;
    }

    .menu-item img {
        width: 30px;
        height: 30px;
    }

    .menu-item .icon-text {
        font-size: 18px;
    }

    .menu-icons {
        gap: 15px;
    }
}



/* Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    z-index: 20;
}

.footer-content {
    display: flex;
    /* justify-content: space-between; */
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.copyright {
    font-size: 1rem;
    color: #cccccc;
    margin: 0;
}

.github-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.github-link:hover {
    transform: scale(1.1);
}

.github-icon {
    margin-left: 10px;
    height: 1.5rem;
    width: 1.5rem;
    filter: invert(1);
    transition: filter 0.3s ease;
}

.github-link:hover .github-icon {
    filter: invert(0.7);
}