body {
    text-align: center;
    align-items: center;
}
button {
    margin: 3px auto;
}
h1 {
    font-size: clamp(2rem, 6vw, 2.3rem);
    display:inline-block;
    margin: 0;
    padding: 5px;
    width:80%;
    border-radius: 10px;
    background-color: #020e62;
    color: white;
    box-shadow: 0 0 1px 3px lightblue inset;
}
.tab-2 {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    max-width: 80%;
}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    opacity: .5;
    min-width: 70px;
    padding: .6em 1em;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: .8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    display: none;
    width: 100%;
    padding: 1em 1em;
    background-color: #E8E8E8;
    border-radius: 0 0 5px 5px;
}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: block;
}
#cute {
    background-color: #ed6196;
}
#cool {
    background-color: #5c9ff4;
}
#passion {
    background-color: #f4c461;
}
.icon-container > img:active {
    border:3px solid orange ;
}
.image-and-name > img {
    max-width: 70px;
    margin:1px;
}
.image-and-name {
    display:inline-block;
    text-align: center;
    font-size:0.85rem;
    color: #362E2A;
}
#question-container {
    font-size: 2.4rem;
    background-color: #eee;
    width: 80%;
    margin: 0 auto;
}
.question {
    color:red;
}
#checked-idol-container {
    margin: 0 auto;
    width:80%;
    align-content: center;
    height: 200px;
    display:inline-block;
}
#checked-idol-bg {
    background-color: rgb(213, 238, 247);
    margin: 0 auto;
    width:80%;
}
.sticky {
    position:sticky;
    top: 0;
    z-index: 10;
}
#point {
    margin: 1px;
    padding-top: 0;
    font-family: Helvetica;
    font-size: clamp(1.4rem,2vw,2vw);
    font-weight: 800;
    color: white;
    text-decoration: underline dotted gray;
    text-underline-offset: 6px;
    -webkit-text-stroke: 1px black;
    background-color: rgb(231, 231, 231);
    display: inline-block;
    flex-wrap: nowrap;
}
#great {
    -webkit-text-stroke: 2px #f32955;
}
#miss {
    -webkit-text-stroke: 2px #3d8203;
}
#check-button, #next-button{
    margin: 10px auto;
    padding: 3px 20px;
    cursor: pointer;
    background: linear-gradient(to bottom, #FF9CE0, #de35af );
    color: white;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1.9rem;
    box-shadow: black 0 5px 1px;
}
#erase-button, #erase-all-button{
    padding: 3px 2px;
    display: inline-block;
    cursor: pointer;
    background: linear-gradient(to bottom, white, rgb(182, 182, 182));
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1.4rem;
    box-shadow: black 0 5px 1px;
}
#dont-know {
    padding: 3px 2px;
    display: inline-block;
    cursor: pointer;
    background: linear-gradient(to bottom, rgb(162, 196, 248), rgb(115, 151, 153));
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    font-size: 1.4rem;
    box-shadow: black 0 5px 1px;
}
#result {
    font-size: clamp(1rem, 4vw, 1.8rem);
    width: 80%;
    background-color: #F5F5DC;
    display:inline-block;
    padding: 10px auto;
    margin: 0 auto;
}
.bg-polka{
    background-color: #cacaca;
    background-image: radial-gradient(rgb(68, 76, 247, 0.3) 1.7000000000000002px, #cacaca 1.7000000000000002px);
    background-size: 34px 34px;
}
.toggle-button-2 {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 50px;
    border: 3px solid #555555;
    box-sizing: content-box;
    cursor: pointer;
    transition: border-color .4s;
}

.toggle-button-2:has(:checked) {
    border-color: #4bd865;
}

.toggle-button-2::after {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    width: 22.5px;
    height: 22.5px;
    border-radius: 50%;
    background-color: #555555;
    content: '';
    transition: left .4s;
}

.toggle-button-2:has(:checked)::after {
    left: 25px;
    background-color: #4bd865;
}

.toggle-button-2 input {
    display: none;
}
.hidden-text {
    display:inline-block;
}
        .correct {
            color: #f32955;
            background-color: rgb(255, 120, 143);
            display: inline;
        }
        .incorrect {
            color: #3d8203;
            background-color: rgb(35, 35, 165);
            display: inline;
        }