html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #000608;
    background-image: url('../images/roast_flame.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
}

.wrapper {
    flex: 1; /* Nimmt den restlichen Platz zwischen Header und Footer ein */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px 5px #ff8930;
    max-width: 500px;
    width: 100%;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.footer {
    background-color: #000608;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: sticky; /* Macht den Footer sticky */
    bottom: 0; /* Positioniert den Footer am unteren Rand */
    width: 100%;
}



.content {
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 100px); /* Adjust this value based on your layout */
    padding-bottom: 20px;
    box-sizing: border-box;
}

a {
    color: #ffc839;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

a:hover {
   color: #ffb300;
}
.container form {
    max-width: 100%; /* Verhindere, dass das Formular über den Container hinausgeht */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.roast-text {
    font-size: 16px;
    color: #fff;
    text-align: left;
    margin-bottom: 20px;
}

.screenshot-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.screenshot-row img {
    max-width: 100px;
    border-radius: 5px;
}

.logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #ffc839;
    margin-bottom: 20px;
}

label {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

input[type="text"], input[type="file"] {
    width: 90%; /* Reduziere die Breite des Datei-Upload-Eingabefelds */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    display: block; /* Stelle sicher, dass das Eingabefeld einen Block-Layout hat */
    margin-left: auto;
    margin-right: auto; /* Zentriere das Eingabefeld horizontal */
}

input[type="submit"] {
    background-color: #ff8930;
    color: #000;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #ffb300;
}

.error {
    color: #ffc839;
    margin-bottom: 20px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.copy-button {
    background-color: #ffc839;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #ffb300;
}

.overlay.active {
    display: flex;
}

.temperature {
    font-size: 24px;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 18px;
}



.footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer ul li {
    display: inline;
}

.footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.footer ul li a:hover {
    text-decoration: underline;
}

 /* Stil für das Fragezeichen-Symbol */
        .help-icon {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 30px;
            height: 30px;
            cursor: pointer;
        }

        /* Stil für das Overlay */
        .helpoverlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .helpoverlay.active {
            display: flex;
        }

        /* Inhalt des Overlays */
        .helpoverlay-content {
            background: black;
            padding: 20px;
            border-radius: 10px;
            max-width: 50%;
            text-align: center;
            position: relative;
        }

        /* Schließen-Button im Overlay */
        .close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
        }

        /* Hover-Effekt für das Fragezeichen-Symbol */
        .help-icon:hover {
            cursor: pointer;
        }
