html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

body * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #181C21;
    color: #fff;
}

main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    background: #2e3137 linear-gradient(to bottom, #2e3137 0%, #262a2e 4%, #25292e 9%, #21232b 100%);
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
}

.maintenance-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
}

.maintenance-bg img {
    width: inherit;
    max-width: 722px;
}

.maintenance-content h2 {
    font-size: 24px;
    margin-top: 30px;
    text-align: center;
    padding: 0 10px;
}

.maintenance-content p {
    font-size: 16px;
    margin: 16px 0;
    text-align: center;
    padding: 0 10px;
    line-height: 20px;
}

.twitter-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 149, 224, 0.8);
    text-decoration: none;
    border-radius: 100%;
}

.twitter-link:before {
    content: "";
    background: url("./assets/twitter.svg") no-repeat center;
    width: 16px;
    height: 16px;
}

.twitter-link:hover {
    background: #1B95E0;
}

.twitter-link:active {
    background: rgba(27, 149, 224, .9);
}

.maintenance-bg {
    margin-top: 100px;
    width: 100%;
    padding-bottom: 110px;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    background: url("./assets/maintenance-bg.webp") no-repeat bottom center;
}

footer {
    min-height: 18px;
    background: #2e3137 linear-gradient(to bottom, #2e3137 0%, #262a2e 4%, #25292e 9%, #21232b 100%);
    position: sticky;
    bottom: 0;
}

@media screen and ( min-width: 900px ) and ( max-height: 800px ) {
    .maintenance-bg {
        margin-top: 60px;
        padding-bottom: 60px;
        background-position: center 180px;
    }
}


@media screen and ( max-width: 600px ) {
    .maintenance-bg {
        background-size: contain;
        padding-bottom: 30px;
    }
    .maintenance-content h2 {
        margin-top: 0;
        padding: 0 20px;
    }
    .maintenance-content p {
        max-width: 80%;
    }
}

@media screen and ( max-width: 414px ) {
    .maintenance-content p  {
        padding: 0 20px;
        max-width: 100%;
    }
}

@media screen and ( max-width: 375px ) {
    .maintenance-content {
        padding-top: 60px;
    }
    .maintenance-bg {
       margin-top: 70px;
    }
}

@media screen and ( max-width: 360px ) {
    .maintenance-content {
        padding-top: 60px;
    }
}

@media screen and ( max-width: 300px ) {
    .maintenance-content h2  {
        font-size: 20px;
    }
}


@media screen and ( min-width: 820px ) and ( min-height: 1180px ) {
    .maintenance-bg {
        margin-top: 160px;
    }
}

@media screen and ( min-width: 912px ) and ( min-height: 1368px ) {
    .maintenance-bg {
        margin-top: 260px;
    }
}

@media screen and ( min-width: 1024px ) and ( min-height: 600px ) and ( max-height: 600px ){
    .maintenance-content {
        padding-top: 20px;
    }
    .maintenance-bg img {
        max-width: 500px;
    }
}