body {
    background-color: #00AEEF;
    background-image: url('../img/CPS2-background.png');
    background-repeat: no-repeat;
    background-position: center 150px;
    background-size: auto;
    width: 800px;
    height: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100% - 80px); /* Subtract footer height */
    width: 100%;
    margin-bottom: 80px; /* Add margin equal to footer height */
}

.header {
    margin-top: 25px;
    margin-bottom: 10px;
}

.input-container {
    margin: 0;
    display: flex;
    flex-direction: column;  /* Stack elements vertically */
    align-items: center;
}

input[type="text"] {
    width: 100px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    margin: 5px 0;
    background-color: #0000ff;
    color: white;
    border-radius: 25px;
}

.input-label {
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
}

.button-container {
    position: relative;  /* Remove fixed positioning */
    margin-top: 20px;   /* Add space after input */
}

#message-container {
    position: absolute;
    bottom: 100px;  /* Keep above footer */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    z-index: 99; /* Below footer */
}

.message {
    display: block;
    margin: 10px auto;
    padding: 15px 30px;
    border-radius: 25px;
    width: 80%;
    text-align: center;
}

.error {
    background-color: #ffebee;
    color: red;
    border: 1px solid #ef5350;
    font-weight: bold;
}

.success {
    background-color: #e8f5e9;
    color: green;
    border: 1px solid #66bb6a;
}

#download-btn {
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    background-color: #0000ff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#download-btn:hover {
    background-color: #839aff;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #00AEEF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
}

.coffee-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.coffee-link:hover {
    transform: scale(1.1);
}

.coffee-link img {
    width: 150px;
    height: auto;
}

.footer-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.howto-link {
    text-decoration: none;
    padding-right: 20px;
    font-size: 16px;
    transition: color 0.3s;
}

.howto-link:hover {
    color: #839aff;
}