body { margin: 0; overflow: hidden; font-family: Arial, sans-serif; }
canvas { display: block; }
#startPage{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image: url('images/background_cgv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 24px;
    text-align: center;
    z-index: 10;
}
#startPage::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
#startPage button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
}
#startPage button:hover {
    background-color: #45a049;
}
#settings-modal{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
}
.toggle-container{
    display: flex;
    align-items: center;
    margin: 20px;
}
.switch{
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin-left: 10px;
}
.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition:0.4s;
    transition:0.4s;
    border-radius: 25px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition:0.4s;
    transition:0.4s;
    border-radius: 50%;
}
input:checked +.slider {
    background-color: #4CAF50;
}
input:checked +.slider:before {
    transform: translateX(25px);
}
button {
    padding: 10px 20px;
    font-size: 1rem;
    margin-top: 20px;
}
#ui {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}
#cameraButton, #kickButton {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
#cameraButton:hover, #kickButton:hover {
    background-color: #45a049;
}
#game-over-screen{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 2rem;
    text-align: center;
    z-index: 10;
}

#game-over-screen h1{
    font-size: 3rem;
    margin-bottom: 1rem;
}

#game-over-screen button{
    padding: 1rem 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 1rem;
}
