body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: white;
    margin-bottom: 15px;
}

.module {
    border: 0.5px solid black;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.module h2 {
    font-size: 22px;
    text-align: center;
    margin: 14px auto;
    font-weight: 500;
}

hr {
    width: 80%;
    margin: auto;
    border: none;
    height: 1px;
    background-color: grey;
}

main {
    background-color: var(--felt-color);
    height: var(--felt-height);
    width: var(--felt-width);
    position: relative;
}

#menu {
    color: white;
    width: 300px;
    position: absolute;
    left: 30px;
    top: 30px;
}

#menu label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#menu label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

#menu label span {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

#menu label:hover input ~ span {
    background-color: #ccc;
}

#menu label input:checked ~ span {
    background-color: #2196F3;
}

#menu label span:after {
    content: "";
    position: absolute;
    display: none;
}

#menu label input:checked ~ span:after {
    display: block;
}

#menu label span:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

#settings {
    color: white;
    width: 300px;
    position: absolute;
    left: 30px;
    top: 370px;
}

#settings label {
    cursor: pointer;
    font-size: 22px;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 20px 0;
}

#settings label input {
    cursor: pointer;
    transform: scale(1.5);
}

.card {
    height: 150px;
    position: absolute;
    transition: transform 0.5s ease;
}

#dealer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 200px;
    position: relative;
    margin: auto;
    top: 50px;
}

#player {
    width: 120px;
    height: 150px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: 50px;
}

#scoreboard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: white;
    width: 210px;
    height: 90px;
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 22px;
    line-height: 35px;
}

#decisions {
    width: 350px;
    position: absolute;
    margin: auto;
    bottom: 30px;
    right: 30px;
    text-align: right;
}

#decisions button {
    width: 130px;
    height: 45px;
    padding: 8px;
    font-size: 20px;
    margin: 5px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease; 
    background-color: #dfdfdf;
}

#decisions button:hover {
    background-color: white;
    border: 1.5px solid black;
}

#feedback {
    width: 480px;
    height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    background-color: var(--background-color-dark);
    border-radius: 20px;
    font-size: 28px;
    color: white;
}

#feedback i {
    font-size: 60px;
    margin: 60px 0 35px 0;
}

#feedback h3 {
    font-weight: 400;
}

#feedback p {
    font-weight: 100;
}

#feedback #wrong-choice {
    font-size: 18px;
    margin-bottom: 10px;
}

#feedback #cards-recap {
    font-size: 24px;
    margin-top: 15px;
}

#feedback #correct-choice {
    font-size: 56px;
    color: rgb(101, 195, 140);
    font-weight: 700;
}

#feedback button {
    margin: 20px auto 30px auto;
    width: 90%;
    height: 45px;
    padding: 8px;
    font-size: 20px;
    border-radius: 6px;
    border: 2px solid grey;
    cursor: pointer;
    background-color: transparent;
    color: white;
}

#feedback button:hover {
    border: 1.5px solid rgb(43, 43, 43);
    background-color: grey;
}

