body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
    font-family: Arial, sans-serif;
}

.game-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    position: relative;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45%;
}

.word, .sentence {
    margin: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.word {
    background-color: #d1c4e9;
}

.sentence {
    background-color: #bbdefb;
}

.matched {
    background-color: #a5d6a7 !important;
    pointer-events: none;
}

.line {
    position: absolute;
    height: 2px;
    background-color: #000;
    transform-origin: 0 0;
}

/* Custom alert dialog styles */
.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-alert-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#custom-alert-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#custom-alert-button:hover {
    background-color: #45a049;
}

.instructions {
    font-weight: bold;
    font-style: oblique;
    font-size: 25px;
    color: blue;
    display: block;
    margin: 20px;
    padding: 10px;
}
