* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #2e2e2e; /* Dark grey background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    height: 100vh;
    box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); /* Inward shadow */
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    -webkit-overflow-scrolling: touch;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90%;
    height: 100%;
    border-radius: 10px;
}

#header, #footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding: 0 1rem;
}

#header div, #footer div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent overflow */
    height: 100%; /* Ensure consistent height */
}

#header div img {
    max-height: 50%; /* Scale the logo to fit within its container */
    width: auto;
    object-fit: contain; /* Ensures proper scaling */
}

#main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

#main .section {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main .icon {
    font-size: 10rem;
    padding: 2rem;
}

#main .title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

#main .subtitle {
    font-size: 1.5rem;
    color: #ccc;
}

#main .message {
    font-size: 1rem;
    margin: 1rem 0;
}

.english {
    font-style: italic;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #main .icon {
        font-size: 6rem;
    }

    #main .title {
        font-size: 2rem;
    }

    #main .subtitle {
        font-size: 1rem;
    }
}