@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import "./scrollbar.css";

* {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #1A80B8;
    display: flex;
    margin: 0px;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

header {
    grid-area: logo;
}

button {
    padding: 20px;
    margin: 20px;
    box-shadow: 1px 2px 2px #222;
    font-size: 18px;
    font-weight: bold;
    border-radius: 20px;
    background-color: #E4DAD9;
	transition: 0.2s;
}

button:hover{
    background-image: linear-gradient(#E4DAD9, #b1a7a6);
    cursor: pointer;
    transform: translateY(-5px);
}

h1,h2,h3,figcaption {
    text-align: center;
    text-shadow: 2px 0 0 black, -2px 0 0 black, 0 2px 0 black, 0 -2px 0 black, 4px 4px black, -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black;
    color: #ff9b29;
    font-size: 36px;
    margin-top: 20px;
    font-weight: bold;
}

h2,h3,figcaption {
    font-size: 24px;
    text-shadow: 1px 0 0 black, -1px 0 0 black, 0 1px 0 black, 0 -1px 0 black, 1px 1px black, -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black;
}

h3 {
    margin: 0;
    font-size: 20px;
}

figcaption {
    margin: 0;
    font-size: 20px;
    border-radius: 20px;
    padding: 5px;
}

p {
    margin: 5px 0px;
    font-size: 14px;
    white-space: pre-wrap;
	color: #ff9b29;
}

a, a:visited, a:hover, a:active {
    color: inherit;
}

.container {
    box-shadow: 1px 2px 2px #222;
    border: 1px solid black;
    border-radius: 20px;
    padding: 20px;
    margin: 20px;
    background-color: #2A2D34;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

#main-menu {
    display: flex;
    flex-direction: column;
}
#main-menu button {
    width: 250px;
    font-weight: bold;
    margin: 20px;
}

#game-container,#end-screen,#instructions,#options,#select-category {
    display: none;
    text-align: center;
}

#end-screen {
    width: 80%;
}

#game-container {
    flex-direction: column;
    align-items: center;
    width: 80%;
}

#instructions p {
    text-align: justify;
    line-height: 1.5;
    margin: 20px 0px;
    font-size: 16px;
}

#options input {
    width: 75%;
}
#options p {
    font-weight: bold;
    font-size: 20px;
}

.option-container{
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#select-category {
    flex-direction: column;
    align-items: center;
}

#select-category-options{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 0.5fr));
    grid-gap: 20px;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: stretch;
}
#select-category-options button{
    width: inherit;
    margin: 0;
    font-size: 16px;
}
