body {
    background-color: #20201f;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body, #wrapper {
    height: 100%;
}

#wrapper {
    display: flex;
    flex-direction: column;
}

.battery {
    width: 201px;
    height: 86px;
    border: 7px solid #999999;
    border-radius: 10px;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.top {
    height: 48px;
    width: 14px;
    background-color: #999999;
    position: relative;
    left: 212px;
    top: 19px;
    border-radius: 0 50px 50px 0;
}

.charge1,
.charge2,
.charge3,
.charge4 {
    width: 44px;
    height: 76px;
    background-color: #52d667;
    position: relative;
    border-radius: 3px;
    opacity: 0;
}

.charge1 {
    bottom: 43px;
    left: 5px;
    animation: charge-1 3s infinite;
}

@keyframes charge-1 {

    25%,
    100% {
        opacity: 1;
    }
}

.charge2 {
    bottom: 119px;
    left: 54px;
    animation: charge-2 3s infinite;
}

@keyframes charge-2 {

    0%,
    25% {
        opacity: 0;
    }

    50%,
    100% {
        opacity: 1;
    }
}

.charge3 {
    bottom: 195px;
    left: 103px;
    animation: charge-3 3s infinite;
}

@keyframes charge-3 {
    0%,
    50% {
        opacity: 0;
    }

    75%,
    100% {
        opacity: 1;
    }
}

.charge4 {
    bottom: 271px;
    left: 152px;
    animation: charge-4 3s infinite;
}

@keyframes charge-4 {

    0%,
    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.circle {
    background-color: #999999;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 100px;
    bottom: 0px;
    animation: glow1 4s infinite;
}

@keyframes glow1 {
    29% {
        background-color: #999999;
    }

    30% {
        background-color: #52d667;
    }

    100% {
        background-color: #52d667;
    }
}

.wifi1,
.wifi2 {
    border: 30px solid transparent;
    border-top: 30px solid #999999;
    border-radius: 50%;
    position: relative;
}

.wifi1 {
    height: 80px;
    width: 80px;
    top: -60px;
    left: -56px;
    animation: glow2 4s infinite;
}

@keyframes glow2 {
    49% {
        border-top-color: #999999;
    }

    50% {
        border-top-color: #52d667;
    }

    100% {
        border-top-color: #52d667;
    }
}

.wifi2 {
    height: 200px;
    width: 200px;
    left: -115px;
    top: -260px;
    animation: glow3 4s infinite;
}

@keyframes glow3 {
    69% {
        border-top-color: #999999;
    }

    70% {
        border-top-color: #52d667;
    }

    100% {
        border-top-color: #52d667;
    }
}

#img-container {
    min-height: 300px;
    position: relative;
}

#logo-container {
    text-align: center;
}

#logo-container img {
    width: 200px;
}

#text-container {
    padding: 20px;
    color: #ffffff;
    text-align: center;
    flex-grow: 1;
}

#error-container {
    padding: 5px;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    word-break: break-all;
}
