* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    font-family: 'Arial', sans-serif;
    background: #282c34;
}
.con {
    width: 100vw;
    max-width: 500px;
    height: 100vh;
    max-height: 800px;
    border: solid 2px #444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    background: #f4f4f4;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#prg {
    width: 80%;
    height: 20px;
    border: solid 2px #555;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
}
.timeBar {
    width: 0;
    height: 100%;
    background: #61c0bf;
    border-radius: 6px;
    animation: timeBar 1.8s linear infinite;
}
@keyframes timeBar {
    0% {
        width: 0;
    }
    100% {
        width: 110%;
    }
}
#disp, .score, .control {
    width: 80%;
    display: none;
}
#disp {
    height: 200px;
    border: solid 20px #ddd;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff;
}
#colors {
    font-size: 50px;
    font-weight: bold;
    color: #333;
}
.score {
    font-size: 24px;
    display: grid;
    place-items: center;
}
#scr {
    background: #f5f5f5;
    border: solid 2px #bbb;
    border-radius: 8px;
    padding: 6px 30px;
    color: #333;
}
.control {
    width: 70%;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
}
#right, #wrong {
    width: 60px;
    height: 60px;
    font-size: 30px;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: not-allowed;
}
#right {
    background: #28a745;
}
#wrong {
    background: #dc3545;
}
.startBt {
    height: 30px;
}
#startBt {
    font-size: 24px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
#startBt:hover {
    background: #0056b3;
}
#startBt:active {
    transform: scale(0.95);
}
.hidden {
    display: none;
}
.clicked {
    transform: scale(0.8);
    transition-duration: 0.2s;
}
