* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #191919;
    font-family: "Geologica", serif;
    color: #ffffff;
    padding: 0;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;*/
}

nav {
    background-color: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(1.6842rem);
    color: #fff;
    padding: 20px 20px;
    width: 1200px;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}

nav a:hover {
    color: #c5c5c5;
}

.menu {
    display: flex;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 23px;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

.button {
    text-decoration: none;
    background-color: #4c5fc7;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 20px;
    font-size: 22px;
    transition: background-color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.button:hover {
    background-color: #2c3fa9;
    cursor: pointer;
}

.button:active {
    background-color: #414aa3;
}

#hero-section .button {
    text-decoration: none;
    background-color: #4c5fc7;
    color: white;
    padding: 10px 20px;
    text-align: center;
    border-radius: 20px;
    font-size: 22px;
    transition: background-color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-top: 30px;
}
#hero-section .button:hover {
    background-color: #2c3fa9;
    cursor: pointer;
}

#hero-section .button:active {
    background-color: #414aa3;
}
.logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 70%;

    background-image: url('../dmfulllogo.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

section {
    width: 1100px;
    margin: 10px auto;
    /* padding: 20px; */
}

.main-page-background {
  background-image: url('../site_banner.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  background-attachment: fixed;
  flex-grow: 1;
}

#hero-section h1 {
    font-size: 48px;
}

#hero-section h2 {
    font-size: 32px;
}

#hero-section p {
    font-size: 16px;
}

#hero-section h6 {
    font-weight: normal;
    font-size: 16px;
    margin-top: 30px;
}

footer {
    position: relative;
    color: #fff;
    padding: 20px;
    width: 1200px;
    margin: auto auto 20px;
    padding-top: 40px;
}

.footer-container {
    width: 100%;
    position: center;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    flex: 1;
    max-width: 200px;
}

.footer-logo {
    max-width: 100px;
    height: 80px;
    position: absolute;
}

.language-selector {
    position: relative;
    margin-left: 30px;
    font-size: 16px;
    user-select: none;
    color: #fff;
    width: 65px;
}

.language-selector .selected {
    background-color: transparent;
    color: #fff;
    border: 2px solid #4c5fc7;
    border-radius: 10px;
    padding: 8px 30px 8px 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.language-selector .selected:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-selector .options {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background-color: #191919;
    border: 2px solid #4c5fc7;
    border-radius: 10px;
    z-index: 1000;
}

.language-selector .options div {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
}

.language-selector .options div:hover {
    background-color: #2c3fa9;
}

.footer-column h3 {
    font-size: 18px;
    color: #4c5fc7;
}

.footer-column a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #c5c5c5;
}

.footer-column p {
    font-size: 12px;
    line-height: 1.5;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #444;
    margin: 15px auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 14px;
    flex-wrap: wrap;
}

.footer-bottom .studio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom .studio p {
    margin: 0;
}

.footer-bottom .studio img {
    width: 150px;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 20px;
}

.footer-bottom .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: #c5c5c5;
}

section h1 {
    font-size: 36px;
}

.server-page-title {
    margin-left: 50px;
}

@media (min-width: 1600px) {
    nav {
        width: 1400px;
        padding: 25px 30px;
    }
    
    nav a {
        font-size: 24px;
    }

    section {
        width: 1300px;
    }

    .main-background {
        height: 800px;
    }

    #hero-section h1 {
        font-size: 52px;
    }
    
    #hero-section h2 {
        font-size: 36px;
    }
    
    #hero-section p {
        font-size: 18px;
    }

    #hero-section h6 {
        font-size: 18px;
        margin-top: 34px;
    }

    #hero-section .button {
        font-size: 24px;
        padding: 12px 24px;
    }

    footer {
        width: 1400px;
    }

    .footer-column h3 {
        font-size: 20px;
    }

    .footer-column a {
        font-size: 18px;
    }

    .footer-column p {
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 16px;
    }

    .footer-divider {
        margin: 20px auto;
    }

    .footer-bottom .studio img {
        width: 160px;
    }

    section h1 {
        font-size: 36px;
    }

    .server-page-title {
        margin-left: -30px;
    }

    section p {
        font-size: 18px;
    }
}

/* @media (min-width: 2000px) {
    nav {
        width: 1600px;
        padding: 30px 40px;
    }
    
    nav a {
        font-size: 26px;
    }

    section {
        width: 100%;
    }

    .main-background {
        height: 900px;
    }

    #hero-section h1 {
        font-size: 56px;
    }
    
    #hero-section h2 {
        font-size: 40px;
    }
    
    #hero-section p {
        font-size: 20px;
    }

    #hero-section h6 {
        font-size: 20px;
        margin-top: 40px;
    }

    #hero-section .button {
        font-size: 26px;
        padding: 14px 26px;
    }

    footer {
        width: 1600px;
    }

    .footer-column h3 {
        font-size: 22px;
    }

    .footer-column a {
        font-size: 20px;
    }

    .footer-column p {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 18px;
    }

    .footer-divider {
        margin: 22px auto;
    }

    .footer-bottom .studio img {
        width: 180px;
    }

    section h1 {
        font-size: 32px;
    }

    .server-page-title {
        margin-left: 56px;
    }

    section p {
        font-size: 20px;
    }
} */

@media (max-width: 1200px) {
    nav {
        width: 1000px;
    }
    
    nav a {
        font-size: 20px;
    }

    section {
        width: 900px;
    }

    .main-background {
        height: 500px;
    }

    #hero-section h1 {
        font-size: 44px;
    }
    
    #hero-section h2 {
        font-size: 28px;
    }
    
    #hero-section p {
        font-size: 12px;
    }

    #hero-section h6 {
        font-size: 12px;
        margin-top: 26px;
    }

    #hero-section .button {
        font-size: 20px;
        padding: 9px 19px;
    }

    footer {
        width: 1000px;
    }

    .footer-column h3 {
        font-size: 16px;
    }

    .footer-column a {
        font-size: 14px;
    }

    .footer-column p {
        font-size: 10px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .footer-divider {
        margin: 13px auto;
    }

    .footer-bottom .studio img {
        width: 144px;
    }

    section h1 {
        font-size: 30px;
    }

    section p {
        font-size: 14px;
    }
}

@media (max-width: 1000px) {
    nav {
        width: 800px;
    }
    
    nav a {
        font-size: 18px;
    }

    section {
        width: 700px;
    }

    .main-background {
        height: 400px;
    }

    #hero-section h1 {
        font-size: 40px;
    }
    
    #hero-section h2 {
        font-size: 24px;
    }
    
    #hero-section p {
        font-size: 12px;
    }
    
    #hero-section h6 {
        font-size: 12px;
        margin-top: 22px;
    }
    
    #hero-section .button {
        font-size: 16px;
        padding: 8px 18px;
    }

    footer {
        width: 800px;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-column a {
        font-size: 12px;
    }

    .footer-column p {
        font-size: 10px;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .footer-divider {
        margin: 11px auto;
    }

    .footer-bottom .studio img {
        width: 140px;
    }
    
    section h1 {
        font-size: 28px;
    }

    .server-page-title {
        margin-right: 55px;
    }

    section p {
        font-size: 12px;
    }
}

@media (max-width: 800px) {
    .logo {
        width: 135px;
        height: 40px;
        position: static;
        transform: none;
    }
    footer {
        width: 83%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        font-size: 10px;
    }

    .footer-links {
        order: -1;
    }

    .studio {
        margin-top: 5px;
        order: 1;
    }
    
    .footer-bottom .studio p {
        margin: 0;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px;
        width: 83%;
        align-items: center;
    }
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 73px;
        background: rgba(30, 30, 30, 0.9);
        border-radius: 10px;
        padding: 10px;
        gap: 10px;
    }
    .menu a {
        display: block;
        padding: 0px;
    }
    .burger {
        display: block;
    }
    .menu.open {
        display: flex;
    }
    
    .main-background section {
        width: 83%;
        padding: 0px;
    }

    section {
        width: 75%;
    }
    
    section a {
        font-size: 16px;
    }

    #hero-section h1 {
        font-size: 30px;
    }
    
    #hero-section h2 {
        font-size: 18px;
    }
    
    #hero-section p {
        font-size: 10px;
    }
    
    #hero-section h6 {
        font-size: 10px;
        margin-top: 18px;
    }
    
    #hero-section .button {
        font-size: 12px;
        padding: 6px 16px;
        margin-top: 20px;
    }
    
    .footer-bottom .studio img {
        width: 100px;
    }

    section h1 {
        font-size: 26px;
    }

    .server-page-title {
        text-align: center;
    }
}


@media (max-width: 590px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: row;
    }

    .footer-bottom .footer-links{
        gap: 5px;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .footer-bottom .studio {
        margin-top: 10px;
    }
}

@media (max-width: 430px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

.footer-bottom .studio p {
  margin: 0;
}

.footer-bottom .studio img {
  vertical-align: middle;
}