/* Reset and base styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, h1, h3, p, ul, li, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #2d2d2d;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    max-height: 100px;
}

/* Navigation */
nav {
    background-color: #3a3a3a;
    padding: 20px 30px;
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    text-decoration: underline;
}

.navicon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Main intro text */
main {
    padding: 50px;
    text-align: center;
    flex-shrink: 0;
}

main h1 {
    font-size: 36px;
    margin-bottom: 20px;
}


.main-section {
    /* main-image on left and main-dialog on right */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.main-image {
    flex: 1;
    max-width: 500px;
}
.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.main-dialog {
    flex: 1;
    max-width: 500px;
    text-align: left;
}
.main-dialog h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Type Tabs */
.type-tabs {
    background-color: #eee;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 20px;
    flex-shrink: 0;
}

#type-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-tab {
    background-color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
    text-transform: capitalize;
}

.type-tab:hover {
    background-color: #f0f0f0;
}

.type-tab.active,
.type-tab:focus {
    background-color: #ff5a5f;
    color: white;
}

/* Server section */
#type-content {
    background-color: #eee;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 20px;
    gap: 20px;
    flex-grow: 1;
}

.server {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
}

.server h3 {
    text-transform: capitalize;
    margin-bottom: 10px;
    font-size: 20px;
}

.download-latest-button,
.previous-versions-button {
    background-color: #ff5a5f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.download-latest-button:hover,
.previous-versions-button:hover {
    background-color: #e14b4f;
}

hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ccc;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: #fff;
    text-align: center;
    padding: 20px;
    flex-shrink: 0;
}

footer p a {
    color: #fff;
}