@font-face {
    font-family: 'Kanit';
    src: url('/fonts/Kanit-Regular.woff2') format('woff2'),
        url('/fonts/Kanit-Regular.woff') format('woff'),
        url('/fonts/Kanit-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kanit';
    src: url('/fonts/Kanit-Bold.woff2') format('woff2'),
        url('/fonts/Kanit-Bold.woff') format('woff'),
        url('/fonts/Kanit-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'Kanit', sans-serif;
    text-align: center;
    background-image: url('/images/bg.png');
    background-size: cover;
    background-position: center;
}

h1 {
    color: #ccc;
    font-size: 32px;
    font-weight: bold;
}

#language-selection {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 16px;
}

.lang-btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    margin: auto;
}

input {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    font-size: 16px;
}

#dragon-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.dragon-option {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.dragon-option img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

/* ✅ Responsive Anpassung für Tablets & Handys */
@media screen and (max-width: 768px) {
    #content {
        width: 80%;
        padding: 15px;
    }

    .lang-btn {
        font-size: 14px;
        padding: 8px;
    }

    .dragon-option img {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 480px) {
    #content {
        width: 90%;
        padding: 10px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 6px;
    }

    .dragon-option img {
        width: 60px;
        height: 60px;
    }
}