header {
    padding: 10px;
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-family: 'Tilt Prism', cursive;
}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

header img {
    width: 10%;
    margin-right: 20px;
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
    display: block;
    font-size: 18px;
    color: #444;
    margin: 0;
}

div.container {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* border: 1px solid purple; */
    width: 95%;
}

.try-again {
    width: 100%;
    padding: 4px 18px;
    background-color: orangered;
}

.loser {
    padding: 20px;
    background-color: red;
}

h2.name {
    display: none;
}

p {
    padding: 4px;
}

.hide {
    opacity: 0;
}


.guessCTA {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-bottom: 20px;
}

button {
    width: 30%;
    padding: 32px;
    border-radius: 25px;
    color: white;
    background-color: transparent;
    font-size: xx-large;
    border: 3px solid white;
}

/* button:last-of-type {
    margin-bottom: 10px;
} */

button:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: all ease-in-out .4s;
}

div.container {
    width: 95%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.container p {
    color: white;
    font-size: 36px;
    padding: 4px;

}

#page {
    min-height: 85vh;
    margin-top: 10px;
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-image: linear-gradient(to right, darkgreen, olive);
}

input {
    width: 50%;
    padding: 12px;
    font-size: 28px;
    margin: 34px 0;
    border-radius: 25px;
}

input:active,
input:focus {
    cursor: pointer;
    transform: scale(1.1);
    transition: all ease-in-out .4s;
}

#board {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    text-align: center;
    flex-direction: column;
    background-color: #44444462;
    border-radius: 25px;
}

.winner {
    color: white;
}

#try-again {
    width: 100%;
    padding: 4px;
    background-color: orangered;
    color: white;
}

footer {
    width: 100%;
    padding: 20px;
    background-color: white;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center
}