* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;

    display: flex;
    flex-direction: column;

    background-color: #fffaf0;
}

header {
    text-align: center;
    padding: 35px 20px;
}

header h1 {
    margin: 0;
    font-size: 48px;
    color: #f4a300;
}

main {
    flex: 1;

    display: flex;
    justify-content: center;
    marign-top: 30px;
    flex: 1;
}

.click-box {
    width: 220px;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #f4a300;
    color: white;

    font-size: 28px;
    font-weight: bold;
    text-decoration: none;

    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

    transition: transform 0.2s, box-shadow 0.2s;
}

.click-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #ddd;
}

footer strong,
footer span {
    display: block;
    margin: 3px;
}

.auth-box {
    width: min(400px, calc(100% - 40px));
    margin: 40px auto;
    padding: 24px;
    border: 1px solid #dddddd;
    border-radius: 12px;
}

.auth-box form {
    display: grid;
    gap: 12px;
}

.auth-box input,
.auth-box button {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    font: inherit;
}

.auth-box button {
    margin-top: 8px;
    cursor: pointer;
}

#message {
    min-height: 24px;
}

html:not(.authenticated) body {
    visibility: hidden;
}

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.home-header {
    padding-top: 35px;
}

.home-header h1 {
    margin: 0;
    color: #f4a300;
    font-size: 42px;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.click-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    border-radius: 18px;
    background: #f4a300;
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.2s;
}

.click-box:hover {
    transform: scale(1.05);
}

#logout-button {
    padding: 10px 22px;
    font-size: 16px;
    cursor: pointer;
}

.home-footer {
    margin-top: auto;
    padding: 20px;
    color: #666666;
    font-size: 13px;
}

.home-footer p {
    margin: 3px;
}
