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

body {
    background: #000;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-width: 100%;
    min-height: 100%;
}

.header {
    text-align: center;
    padding: 40px 0 20px;
    z-index: 10;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 200px;
    height: auto;
}


.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.server-cards {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
}


.server-section {
    position: relative;
    text-align: center;
    max-width: 400px;
}


.server-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.server-link:hover {
    transform: scale(1.02);
}

.button-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.button-link:hover {
    transform: scale(1.05);
}


.server-card {
    position: relative;
    text-align: center;
    max-width: 400px;
}


.server-card-content {
    transition: transform 0.3s ease, z-index 0.3s ease;
    position: relative;
}

.server-card:hover .server-card-content {
    transform: scale(1.05);
    z-index: 10;
}


.server-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: opacity 0.3s ease;
}

.server-image.normal {
    opacity: 1;
}

.server-image.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.server-card:hover .server-image.normal {
    opacity: 0;
}

.server-card:hover .server-image.hover {
    opacity: 1;
}


.card-button {
    position: relative;
    margin-top: 20px;
    z-index: 20;
    cursor: pointer;
    display: inline-block;
}

.left-button {
    margin-top: 20px;
}

.right-button {
    margin-top: 20px;
}

.button-image {
    height: auto;
    transition: opacity 0.3s ease;
}

.button-image.normal {
    opacity: 1;
}

.button-image.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.card-button:hover .button-image.normal {
    opacity: 0;
}

.card-button:hover .button-image.hover {
    opacity: 1;
}

.social-media-section {
    text-align: center;
    margin: 60px 0 40px 0;
    z-index: 15;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-button {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-button:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 34px;
    height: 55px;
    transition: opacity 0.3s ease;
}

.social-icon.normal {
    opacity: 1;
}

.social-icon.hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.social-button:hover .social-icon.normal {
    opacity: 0;
}

.social-button:hover .social-icon.hover {
    opacity: 1;
}

.footer {
    margin-bottom: 120px;
    text-align: center;
}

.footer-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .server-cards {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }
    
    .server-section {
        max-width: 350px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .card-button {
        margin-top: 15px;
    }
    
    .footer {
        margin-bottom: 100px;
    }
    
    .social-media-section {
        margin: 50px 0 30px 0;
    }
    
    .social-buttons {
        gap: 15px;
    }
    
    .social-icon {
        width: 34px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0 15px;
    }
    
    .main-content {
        padding: 20px 10px;
    }
    
    .server-section {
        max-width: 300px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .card-button {
        margin-top: 10px;
    }
    
    .footer {
        margin-bottom: 80px;
    }
    
    .social-media-section {
        margin: 40px 0 25px 0;
    }
    
    .social-buttons {
        gap: 12px;
    }
    
    .social-icon {
        width: 34px;
        height: 55px;
    }
}

/* marquee div container */
.marquee {
    font-size: 2vw;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    height: 2.5vw;
    overflow: hidden;
    background-color: #000;
    position: relative;
}
/* nested div inside the container */
.marquee div {
    display: block;
    width: 500%;
    position: absolute;
    overflow: hidden;
    align-self: anchor-center;
    animation: marquee 14s linear infinite;
}
/* span with text */
.marquee span {
    float: left;
    width: 100%;
    font-size: 22px;
}
/* keyframe */
@keyframes marquee {
    0% { left: 90%; }
    100% { left: -110%; }
}