* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fbeae6;
    color: #4b4b4b;
}

header {
    background-color: #333; 
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .headerInfo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1500px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo h1 {
        font-size: 24px;
        color: #fff;
        font-weight: bold;
    }

    .logo-img {
        width: 40px; 
        height: 40px; 
        margin-right: 10px; 
    }

    nav ul {
        display: flex;
        gap: 10px;
        list-style: none;
    }

    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        padding: 5px 10px;
        transition: background-color 0.3s, color 0.3s;
    }

    nav ul li a:hover {
        background-color: #8b5e3b;
        color: #fff;
        border-radius: 4px;
    }

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fbeae6;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    font-size: 24px;
    color: #4a4a4a;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #4a4a4a;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    font-size: 16px;
}

.phoneNum {
    display: flex;
    align-items: center;
}

.phoneNum span {
    padding: 8px;
    background-color: #f3f3f3;
    border: 1px solid #d3d3d3;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.phoneNum input {
    flex-grow: 1;
    border-radius: 0 4px 4px 0;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #8b5e3b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #734c2e;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th {
    background-color: #8b5e3b;
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: center;
    border: 1px solid #d3d3d3;
    font-size: 16px;
}

table td {
    background-color: #fbeae6;
    padding: 12px;
    text-align: center;
    border: 1px solid #d3d3d3;
    font-size: 16px;
}

table tr:nth-child(even) td {
    background-color: #f3f3f3;
}

table tr:hover {
    background-color: #e0c0a2;
}

footer {
    background-color: #8b5e3b;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

footer .icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

footer .icons a img {
    width: 24px;
    height: 24px;
}

.word-bank {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background-color: #fbeae6;
    border: 2px dashed #8b5e3b;
    border-radius: 8px;
    margin-bottom: 20px;
}

.word-bank .word {
    padding: 10px;
    background-color: #8b5e3b;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: grab;
    user-select: none;
}

.sentence-area {
    display: flex;
    min-height: 50px;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #8b5e3b;
    border-radius: 8px;
    gap: 10px;
    margin-bottom: 20px;
}

.sentence-area .word {
    background-color: #734c2e;
}

button#checkButton {
    background-color: #8b5e3b;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button#checkButton:hover {
    background-color: #734c2e;
}

#resultMessage {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}
