* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a; 
    font-family: Arial, sans-serif;
}

.frame {
    position: relative;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    margin: 20px;
    border: 3px solid #3f47cc;
    border-radius: 12px;
    overflow: hidden;
}

/* Top info */
.top-block {
    position: fixed;
    top: 40px;
    left: 49.8%;
    color: #cbd5f5;
    font-size: 20px;
}

.top-block2 {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #cbd5f5;
    font-size: 20px;
}

/* Main kaart */
.main {
    position: absolute;
    top: 20%;
    left: 5%;
    right: 5%;
    bottom: 25%;

    background: #1e293b;
    border-radius: 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

#Word {
    font-size: clamp(40px, 6vw, 90px);
    color: white;
    font-weight: bold;
}

/* Knoppen */
.bottom {
    position: absolute;
    bottom: 40px;
    left: 5%;
    right: 5%;

    display: flex;
    gap: 20px;
}

.bottom button {
    flex: 1;
    height: 70px;
    font-size: 24px;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

/* Kleuren zoals screenshot */
#seenbtn {
    background: linear-gradient(90deg, #7e22ce, #a855f7);
}

#newbtn {
    background: linear-gradient(90deg, #166534, #22c55e);
}

.bottom button:hover {
    transform: scale(1.03);
}

/* 🔥 TIMER BALK */
.timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 8px;
    width: 100%;
    background: #22c55e;
    transition: width 1s linear;
}
.language-btn {
    /* position: absolute; */
    /* top: 1%;
    left: 1%; */
    /* transform: translateX(-50%); */
    margin-left: 30px;
    margin-top: 5px;
    width: 8%;
    height: 6%;
    border: 0.1vw solid #555666;
    background-color:#555666 ;
    text-align: center;
    /* font-weight: bold; */
    font-size: 20px;
    font-family: fantasy;
}