* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(45deg, #1ebbcc, #ab5cec, #416ac4, #582b7e);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: gradient 15s ease infinite;
    background-size: 300% 300%;
}

@keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Add this */
    padding: 20px;
    margin: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 10vh;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header img {
    height: 8vh;
}

header nav {
    margin-left: auto; /* Add this */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ff7e5f;
}

.download-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    margin: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.download-row {
    flex-direction: row;
    flex: 1;
    display: flex;
}

.download-option {
        display: flex;
        align-items: center;
        margin: 30px 30px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        max-width: 400px;
        width: 100%;
    }

    .download-option:hover {
        transform: scale(1.05);
    }

    .download-option-logo {
        width: 100px;
        height: 100px;
        margin-right: 20px;
        margin-left: 15px;
    }

    .download-option-content {
        flex: 1;
        text-align: left;
    }

    .download-option h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #ff7e5f;
    }

    .download-option p {
        margin-bottom: 10px;
        color: #fff;
    }

    .version-info {
        font-size: 0.9em;
        color: #ddd;
        margin-bottom: 5px;
        display: block;
    }

    .download-count {
        font-size: 0.8em;
        color: #ddd;
        margin-bottom: 10px;
        display: block;
    }

    .download-button {
        display: inline-block;
        background-color: #ff7e5f;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 25px;
        text-decoration: none;
        font-size: 1em;
        transition: background-color 0.3s;
        cursor: pointer;
        margin-top: 10px;
    }

    .download-button:hover {
        background-color: #fdab6d;
    }

    .download-button:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }

    .download-button:disabled:hover {
        background-color: #ccc;
    }

    .logo-div {
        flex: 0;
    }




    .button-container {
        position: relative;
        display: inline-block;
    }
    
    .hover-info {
        position: absolute;
        bottom: -180%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #ff7e5f;
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 0.9em;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 1000;
    }
    
    .hover-info::after {
        content: '';
        position: absolute;
        top: -25%;
        left: 50%;
        margin-left: -10px;
        border-width: 10px;
        border-style: solid;
        border-color: transparent transparent #ff7e5f transparent;
    }
    
    .button-container:hover .hover-info {
        opacity: 1;
        visibility: visible;
    }




.github-link {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: #2e3236;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.github-link:hover {
    background-color: #ff7e5f;
}

.github-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(40deg);
    transition: all 0.3s ease;
}

.github-link:hover::before {
    left: 100%;
}

.linux {
    opacity: 0.5;
}

.windows {
    z-index: 999;
}


footer {
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.footer-item {
    margin: 10px;
}

.footer-a {
    text-decoration: none;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 5px 0;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    text-decoration: none;
    color: inherit;
    margin: auto;
}

.social-link i {
    font-size: 1.5em;
}


@media only screen and (max-width: 991px) {

    .download-row {
        flex-direction: column;
    }
    
    header nav ul li:nth-child(2) {
        display: none;
    }

    header nav ul li:nth-child(4) {
        display: none;
    }

    .footer-links {
        display: none;
    }
}