body {
    font-family: Helvetica, sans-serif;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(59,24,24,1) 74%, rgba(63,59,79,1) 100%); 
    height: 100vh;
    color: white;
}

.content {
    margin: 20px auto;
    width: 350px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background-color: #222;
    border-radius: 20px;
    border: solid thick #000;
    box-shadow: 0 0 10px 5px #000a;
}

.content p,
.how-to-content p {
    margin: 10px 0;
    text-align: center;
}

.content h1,
.how-to-content h1 {
    margin: 5px 0;
    text-align: center;
}

.content h2,
.how-to-content h2 {
    margin: 10px 0 5px 0;
    text-align: center;
}

.content form {
    width: 100%;
}

.content a,
.content input[type="submit"],
.how-to-content a {
    color: white;
    display: block;
    margin: 10px 0;
    padding: 20px 5px;
    text-align: center;
    text-decoration: none;
    background-color: #333;
    border-radius: 5px;
    width: 100%;
    font-size: 1.2em;
}

.content input[type="submit"]:hover,
.content a:hover,
.how-to-content a:hover {
    background-color: #555;
}


.new-game {
    display: flex;
    width: 100%;
    margin: 10px 0 20px 0;
}

.new-game img {
    width: 62px;
    height: 62px;
    margin: 0 10px 0 0;
    border-radius: 5px;
    border: solid thick #333;
    cursor: pointer;
}

.new-game img:hover {
    border-color: #555;
}

.new-game a {
    margin: 0;
}

.content form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.content form input {
    margin: 10px 0;
    padding: 20px 10px;
    width: 130px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
}

.content form input[type="submit"] {
    cursor: pointer;
}

.content form input[type="submit"]:disabled {
    background-color: #5f3a3a;
    color: #555;
    cursor: not-allowed;
}

.how-to-content {
    margin: 20px auto;
    max-width: 1000px;
    padding: 30px 50px;
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    color: white;
    background-color: #222;
    border-radius: 20px;
    border: solid thick #000;
    box-shadow: 0 0 10px 5px #000a;
    font-size: 1.1em;
}

.how-to-content img {
    width: 100%;
    border-radius: 5px;
    margin: 30px 0;
    border: solid thick #727272;
}

.how-to-content p {
    text-align: left;
}

.how-to-content h3 {
    margin-bottom: 5px;
}

.how-to-content a {
    max-width: 230px;
}

.how-to-content hr {
    margin: 20px auto;
    border: none;
    border-top: 4px solid #727272;
    width: 5px;
    border-radius: 50%;
}

.level-select-popup {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.level-select-popup .level-select {
    display: flex;
    gap: 20px;
    margin: auto;
    padding: 20px;
    background-color: #222;
    border-radius: 20px;
    border: solid thick #000;
    box-shadow: 0 0 10px 5px #000a;
}

.level-select-popup h2 {
    margin: 0 0 20px 0;
    text-align: center;
    color: white;
    font-size: 2em;
    text-shadow: 0 0 10px #000;
}

.level-select .level {
    margin: 0 10px;
    padding: 15px;
    text-align: center;
    background-color: #333;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

.level-select .level:hover {
    background-color: #555;
}

.level-select .level img {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    border-radius: 5px;
    border: solid thick #000;
}