body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at center, white, #f6f7f9);
    min-height: 100vh;
    margin: 0;
}

main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    min-height: 80vh;

}
nav {
    border-bottom: 1px groove darkgray;
    min-height: 10vh;
}

.logo {

    font-family: sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.3),
        1px 1px 2px rgb(246, 247, 249),
        -1px -1px 2px rgba(0, 0, 0, 0.5);
    border-left: 3px solid black;
    padding-left: 1rem;
}

.logo-img {
    width: 4.5rem;
    padding-right: 1rem;
    vertical-align: top;
}

.footer {
    background-color: #f6f7f9;
    min-height: 10vh;
    text-align: center;
    padding:0.5rem;
    border-top: 1px groove darkgray;

}

/* home */

.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.app {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 5vh;
    border: 1px solid darkgray;
    border-radius: 5px;
    min-width: 90%;

}

/* Таблица Умножения by HarinovIvan https://github.com/HarinovIvan */
#prod-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    border: 1px groove darkgray;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    width: 20%;
}

#prod-menu > h2 {
    text-align: center;
}

#prod-clock {
    font-size: 2rem;
    border: 1px groove darkgray;
    border-radius: 25px;
    text-align: center;
    color: forestgreen;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

#prod-start {
    margin: 10px;
    background-color: forestgreen;
    padding: 0.5em;
    border-radius: 5px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

#prod-start:hover {
    background-color: darkgreen;
}
#prod-right {
    font-family: "Arial Black", sans-serif;
    font-size: clamp(2rem, 5vw, 10rem);
    line-height: 1.2;
    word-wrap: break-word;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 2%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px groove darkgray;
    border-radius: 5px;
    margin: 10px;

}

#answer-input {
    max-height: 15vh;
    max-width: 15vw;
}

#prod-left {

   border: 1px groove darkgray;
   border-radius: 5px;
   margin: 10px;
   padding: 10px;
   width: 20%;

}
#prod-left > h2 {
    text-align: center;
}

.answers-head {
    padding-bottom: 0.2em;
    border-bottom: 1px groove darkgray;
    font-family: sans-serif;
    width: 90%;
}

.answer-item {
    font-weight: bold;
    padding: 0.4em;
    background-color: #f7f8fa;
    font-size: 1.2em;
}

.answer-yes {
    background-color: #12750d;
    color: white;
    font-weight: bold;
    padding: 0.2em;
    border-radius: 3px;
}
.answer-no {
    background-color: #85050d;
    color: white;
    font-weight: bold;
    padding: 0.2em;
    border-radius: 3px;
}

.hide-button {
    display: none;
}