@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

html, body {
    margin: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.maintenance {
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('fb-maintenance.jpg') center / cover no-repeat;
}

.maintenance::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.logo,
.message,
.sub-message,
.refresh {
    position: relative;
}

.logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: invert(1);
}

.message,
.sub-message {
    margin: 0;
    color: #fff;
}

.message {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
}

.sub-message {
    margin-top: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    line-height: 1.4;
}

.refresh {
    margin-top: 1.5rem;
    padding: 0.6rem 1.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.refresh:hover,
.refresh:focus-visible {
    background: #fff;
    color: #000;
}
