body {
    margin: 1%;
    padding: 0;
    min-height: 100vh;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    image-rendering: optimizeSpeed;
    transition: background-image 0.5s ease;
}


.overlay {
    background-color: rgba(255, 255, 255, 0.808);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;     
    width: 100%;
    max-width: 800px;
    padding: 20px;
    gap: 5px;              
}

.rounded-box {
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    line-height: 1.6;
    margin-bottom: 15px;
    width: 100%;            
    box-sizing: border-box; 
}

.lang-picker {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1000;
}

.lang-toggle {
    border: none;
    background: #ffffff;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
    font-size: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lang-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.lang-menu[hidden] {
    display: none;
}

.lang-option {
    border: none;
    background: transparent;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: #f0f0f0;
}

.image-container {
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    margin-bottom: 0;
}

.image-container img {
    width: 35%;
    height: 35%;
    height: auto;
}

.image-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 50px;
    color: #ffffff;
    margin: 5px 0; 
    padding: 0; 
    transition: color 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
iframe {
    align-items: center;
    width: 100%;
    border-radius: 10px;
}

.youtube-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.youtube-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    width: 100%;
}

.youtube-track {
    display: flex;
    gap: 14px;
    min-width: max-content;
    padding-bottom: 6px;
}

.youtube-card {
    text-decoration: none;
    width: 280px;
    flex: 0 0 auto;
    color: #111;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.youtube-card:hover {
    transform: translateY(-3px);
}

.youtube-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e9e9e9;
}

.youtube-card-title {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
}

.carousel-btn {
    border: none;
    background: #111;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    flex: 0 0 auto;
}

.carousel-btn:hover {
    opacity: 0.85;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 15px 0;
}

.social-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.discord {
    background-color: #5865F2;
}

.twitter {
    background-color: #1DA1F2;
}

.twitch {
    background-color: rgb(240, 73, 240);
}

.youtube {
    background-color: rgb(255, 0, 0);
}

.github {
    background-color: #333333;
}

.instagram {
    background-color: #ff006a;
}

.instagramPictures {
    background-color: #ff006a;
}


.soundcloud {
    background-color: #ff7300;
}

.tooltip {
    position: fixed;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -100%);
    transition: all 0.3s ease;
    z-index: 100;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.social-buttons {
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .rounded-box {
        padding: 20px;
    }

    .youtube-card {
        width: 230px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }
}
