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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    min-height: 100vh;
    background: linear-gradient(#000000c7, #1a080f42), url(/images/Background1.gif);
    background-color: #151618;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: 100% 100%;
    color: #b8d4c6;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#loader {
    width: 100%;
    height: 100vh;
    background: linear-gradient(#000000c7, #11050aad), url(/images/Background1.gif);
    background-color: #151618;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
}

#loader .loading {
    width: 300px;
    height: 20px;
    position: relative;
    background-color: #353535;
    border-radius: 50px;
    overflow: hidden;
}

#loader .loading span {
    background-color: #7ccba1;
    border-radius: 50px;
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: -100%;
    animation: loading 2s infinite linear;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

header {
    padding: 20px;
    border-bottom: 2px solid #6ba084;
    opacity: 0.8;
    width: 100%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #a2e2c1;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #6ba084;
    text-decoration: underline;
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

section {
    margin-bottom: 20px;
    border: 1px solid #6ba084;
    padding: 20px;
    background-color: #222;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    opacity: 0.9;
    border-radius: 5px;
}

h1, h2 {
    color: #a2e2c1;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
}

.language-select {
    position: relative;
    margin-left: 15px;
}

#languageSelect {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid #a2e2c1;
    color: #a2e2c1;
    padding: 5px 30px 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

#languageSelect:hover {
    background-color: #a2e2c1;
    color: #151618;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6ba084;
    pointer-events: none;
}

a {
    color: #6ba084;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #a2e2c1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .language-select {
        margin-left: 0;
        margin-top: 10px;
    }
    
    section {
        padding: 15px;
    }
}