body{
    background: linear-gradient(to bottom, #090ba1, #3ab7ff);
    background-repeat: no-repeat;
    min-height: 100vh;
}
a:link {
    color: aliceblue;
}

a:visited {
    color: aliceblue;
}

a:hover {
    color: aliceblue;
}

a:active {
    color:aliceblue;
}
table, th, td {
  border: 3px solid;
}

.heading{
    margin-right: 200px;
    margin-left: 200px;
    background-color: rgb(255, 58, 91);
    color:aliceblue;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 15px;
}
.bodytext-purple{
    background-color: blueviolet;
    margin-left: 300px;
    margin-right: 300px;
    margin-top: 12px;
    margin-bottom: 0;
    border-radius: 15px;
    padding: 1px 0;
    color:aliceblue;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    table, th, td {
        border-color: black;
        border-collapse: collapse;
        margin: 0 auto;
        color: black;
    }
    tr:nth-child(even) {background-color: rgb(173, 173, 173);}
    tr:nth-child(odd) {background-color: rgb(206, 206, 206);}
    th {
        background-color: rgb(87, 58, 255);
        color: aliceblue;
    }
    
}
.bodytext-blue{
    background-color: dodgerblue;
    margin-left: 300px;
    margin-right: 300px;
    margin-top: 12px;
    margin-bottom: 0;
    padding: 1px 0;
    border-radius: 15px;
    color:aliceblue;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    table, th, td {
        border-color: black;
        border-collapse: collapse;
        margin: 0 auto;
        color: black;
    }
    tr:nth-child(even) {background-color: rgb(173, 173, 173);}
    tr:nth-child(odd) {background-color: rgb(206, 206, 206);}
    th {
        background-color: rgb(255, 58, 91);
        color: aliceblue;
    }
}
.footer{
    margin-left: 200px;
    margin-right: 200px;
    background-color: rgb(255, 58, 91);
    color:aliceblue;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    gap: 16px;
}

.startingsoon-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin: 12px 200px 0;
}

.startingsoon-main {
    flex: 0 1 560px;
}

.startingsoon-main .bodytext-blue,
.startingsoon-main .bodytext-purple {
    margin-left: 0;
    margin-right: 0;
}

.wordsearch-panel {
    flex: 0 1 560px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 12px 16px 16px;
}

.wordsearch-grid {
    display: grid;
    grid-template-columns: repeat(12, 1.9rem);
    gap: 4px;
    justify-content: center;
    margin: 10px auto 12px;
}

.ws-cell {
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(0, 0, 0, 0.45);
    background-color: rgba(255, 255, 255, 0.12);
    color: aliceblue;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    user-select: none;
}

.ws-cell.found {
    background-color: rgba(255, 58, 91, 0.72);
    animation: wsGlow 650ms ease-out;
}

.wordsearch-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 560px;
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 8px;
}

.wordsearch-item {
    border: 1px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.18);
    padding: 6px 8px;
}

.wordsearch-item.found {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    background-color: rgba(255, 58, 91, 0.35);
}

.wordsearch-item .finder {
    display: block;
    margin-top: 3px;
    font-size: 0.85em;
    color: #ffd9e1;
}

@keyframes wsGlow {
    from {
        box-shadow: 0 0 0 0 rgba(255, 58, 91, 0.95);
    }

    to {
        box-shadow: 0 0 0 10px rgba(255, 58, 91, 0);
    }
}

@media (max-width: 900px) {
    .startingsoon-layout {
        display: block;
        margin-left: 20px;
        margin-right: 20px;
    }

    .startingsoon-main .bodytext-blue,
    .startingsoon-main .bodytext-purple,
    .wordsearch-panel {
        margin-left: 0;
        margin-right: 0;
    }

    .wordsearch-grid {
        grid-template-columns: repeat(12, 1.45rem);
        gap: 3px;
    }

    .ws-cell {
        width: 1.45rem;
        height: 1.45rem;
        font-size: 0.82rem;
    }

    .wordsearch-list {
        grid-template-columns: 1fr;
    }
}