@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Comfortaa', cursive;
}

header {
    background-color: lightgrey;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
}

nav > a:hover {
    color: darkblue;
}

main {
    margin-top: 50px;
}

nav {
    width: inherit;
    height: inherit;
    display: flex;
    justify-content: start;
    align-items: center;
}
nav > a {
    text-decoration: none;
    color: black;
    padding: 0 30px;
    font-size: 20px;
}

.about_us {
    display: flex;
    justify-content: center;
}

.about_us img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.about_us-description {
    display: flex;
    flex-direction: column;
}

.about_us-description * {
    padding: 5px;
}

.my_game {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.my_game > * {
    text-align: center;
}

.my_game input, .my_game button {
    border: none;
    margin: 5px;
    min-height: 30px;
}

.my_game button {
    width: max-content;
    background-color: rgb(0, 179, 255);
    padding: 0 10px;
    border-radius: 5px;
}

.my_game input {
    background-color: lightgrey;
    outline: none;
}

.choosen_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.choosen_block-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 650px;
}

.choosen_block-container > div {
    width: 150px;
    height: 200px;
    display: flex;
    justify-content: center;
    background-color: rgb(244, 244, 111);
    align-items: center;
}

.choosen_element {
    border: 3px solid black;
}

.posts_block {
   max-width: 600px;
   margin: 20px auto;
}
.posts_block h2 {
    text-align: center;
}

.posts_block-container > * {
    margin: 5px;
    padding: 10px;
    border-radius: 10 px;
    background-color: lavender;
}
