:root {
    --loose-clr: #bc4749;
    --win-clr: #386641;
    --hint-clr: #ff9f1c;
    --bt-inp-bg-clr: #f2e8cf;
    --bg-bg-clr: #fdfffc;
    --txt-clr: #293241;
}

body {
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    gap: 5vh;
    text-wrap: pretty;
    background-color: var(--bg-bg-clr);
    color: var(--txt-clr);
}

body > div:first-of-type {
    text-align: center;
}

h1, h5 {
    margin: 0;
}

.container {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 1.5rem;
    border-radius: 1rem / 50%;
    box-shadow: 0 0 0 5px var(--bt-inp-bg-clr);

}

button, input {
    font: inherit;
    padding: 3px 6px;
    color: inherit;
    border: none;
    border-radius: 5px;
    transition: all .3s ease;
    background-color: var(--bt-inp-bg-clr);
}

.user-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 2px;
}

button:disabled:hover {
    box-shadow: initial;
    transform: none;
}

input:focus {
    box-shadow: 0 0 2px 0 var(--txt-clr);
}

.status, .tries {
  transition: all 0.3s ease;
  font-weight: bold;
  text-wrap: pretty;
  text-align: center;
}

.win {
    background-color: var(--win-clr);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--bg-bg-clr);
}

.loose {
    background-color: var(--loose-clr);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--bg-bg-clr);
}

.hint {
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--bg-bg-clr);
    background-color: var(--hint-clr);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: var(--txt-clr);
    color: var(--bg-bg-clr);
    padding-bottom: 5px;
}

a {
    font: inherit;
    transition: all .3s ease;
}

a:link {
    color: inherit;
}

a:visited {
    color: var(--bt-inp-bg-clr);
}

a:hover {
    font-size: larger;
}