/* -------------------- Base Styles -------------------- */
html,
body {
    height: 100%;
    margin: 0;
}

/* -------------------- Canvas & Global Elements -------------------- */

/* -------------------- Buttons -------------------- */
#start,
.submit-button,
#restart {
    border: 3px solid black;
    display: flex;
    width: 300px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background-color: #F68B00;
    border-radius: 25px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    cursor: pointer;
}

#start:hover,
.submit-button:hover,
#restart:hover {
    background-color: #C1272D;
}

/* -------------------- Overlays -------------------- */
.game-over-overlay,
.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.game-over-overlay {
    display: none;
}
.start-overlay.hidden {
    display: none;
    pointer-events: none;
}

/* -------------------- Containers -------------------- */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.start-container,
.game-over-container {
    width: 422px;
    background: #1D1712;
    border: 3px solid;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

/* Specific heights for overlays */
.start-container {
    height: 600px;
}
.game-over-container {
    height: 600px;
}

/* -------------------- Typography -------------------- */
h1 {
    color: #F68B00;
    padding-top: 5px;
    font-family: "Grenze", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 48px;
}
iframe {
    border: solid 3px #000000;
    border-radius: 10px;

}
.start-indhold,
.indhold {
    padding-top: 20px;
    padding-left: 50px;
    display: flex;
    flex-direction: row;
    flex-shrink: 30;
    width: 422px;
}

.start-button {
    display: flex;
    flex-direction: column;
    width: 260px;
    height: 250px;
}
.start-indhold h1{

}
.start-button h2 {
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.indhold h2 {
    color: #F68B00;
    font-size: 36px;
    padding-top: 40px;
}

p {
    color: #C1272D;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

/* -------------------- Form Elements -------------------- */
input {
    border-radius: 10px;
    padding: 16px 32px;
    font-size: 20px;
}

/* -------------------- Score & UI -------------------- */
.score-ui {
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    font-weight: 900;
}

#perfect {
    position: absolute;
    font-size: 30px;
    font-weight: bold;
    color: darkred;
    opacity: 0;
    transition: opacity 1s;
}

#instructions {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    width: 200px;
    height: 150px;
    position: absolute;
    font-weight: 600;
    font-size: 16px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    transition: opacity 2s;
    }

#mouse{
    height: 60px;
}

/* -------------------- Miscellaneous -------------------- */
#ghost {
    display: flex;
    height:  122px;
}

.buttons p {
    color: white;
}

label {
    color: white;
}
