@font-face {
    font-family: 'americankestrallaser';
    src: url('../pages//americankestrallaser.ttf');
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-image: url('../img/hintergrund.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* etwas dunkler als 0.4 */
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo {
    font-family: 'americankestrallaser', sans-serif;
    font-size: 120px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease;
    text-align: center;
}

.menu {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.button {
    width: 100%;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #f47c2b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: background 0.3s, transform 0.2s;
}

.button:hover {
    background: #fff3e0;
    transform: translateY(-3px);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: white;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 300px;
    text-align: center;
    animation: slideUp 0.8s ease;
}

.popup input,
.popup input[type="range"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.popup button {
    padding: 10px;
    background: #f47c2b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.popup button:hover {
    background-color: #e4681a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}