/* Universal Styles */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Body and Links */
body {
    background-color: #fbfbfb;
}

a {
    color: black;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

/* Header / Top Bar */
#banner {
    width: 100%;
    height: 160px;
    background-image: url('./images/banner.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #cccccc;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

/* Linkstruktur */
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo */
#logo {
    height: 140px;
}

/* Titel */
#header-title {
    font-size: 62px;
    font-weight: bold;
    color: black;
}

/* Sprachwahl */
.banner-right {
    display: flex;
    align-items: center;
}

.language-select select {
    font-size: 16px;
    padding: 6px 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background-color: #ffffffcc;
    color: #333;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.3s;
}

.language-select select:focus {
    outline: none;
    border-color: #888;
}

/* Dashboard */
.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    background-color: #fbfbfb;
    border-radius: 8px;
    width: 500px;
    padding: 20px;
}

.titlebar {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel {
    width: auto;
    height: auto;
    margin: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Input Elements */
.input,
input,
select {
    font-size: 16px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #f7f7f7;
    margin: 0.4em;
    padding: 0.4em 0.6em;
    width: 100%;
}

.input:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #888888;
    background-color: #ffffff;
}

/* Buttons */
.button,
#saveSecretBtn,
#deleteSecretBtn,
#copyBtn {
    display: inline-block;
    margin: 5px;
    padding: 8px 16px;
    border-radius: 5px;
    background-color: #f7f7f7;
    border: 1px solid #cccccc;
    cursor: pointer;
    color: #666666;
    font-size: 16px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.button:hover,
#saveSecretBtn:hover,
#deleteSecretBtn:hover,
#copyBtn:hover {
    background-color: #d7d7d7;
    border-color: #999999;
    color: #333333;
}

/* Timer and Status */
#timer {
    font-size: 16px;
    font-weight: bold;
}

#storageStatus {
    font-size: 14px;
    font-style: italic;
    color: #777777;
}

/* Table */
table {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-spacing: 0;
    margin-top: 20px;
}

td {
    padding: 10px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

/* Headings */
h1 {
    font-size: 80px;
}

h2 {
    font-size: 48px;
}

h3,
h4,
h5 {
    font-size: 18px;
}

/* Responsiveness */
@media (max-width: 768px) {
    #banner {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        text-align: center;
    }

    .brand {
        flex-direction: column;
        gap: 8px;
    }

    #logo {
        height: 50px;
    }

    #header-title {
        font-size: 24px;
    }

    .language-select select {
        font-size: 14px;
        padding: 4px 8px;
    }

    .dashboard {
        flex-direction: column;
        padding: 10px;
    }

    .content {
        width: 100%;
        padding: 15px;
    }

    .panel {
        width: 100%;
        padding: 10px;
    }
}
