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

.loading {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.honeycomb {
    height: 48px;
    position: relative;
    width: 48px;
}

.honeycomb div {
    animation: honeycomb 2.1s infinite backwards;
    background: #d2a024;
    height: 24px;
    margin-top: 12px;
    position: absolute;
    width: 48px;
}

.honeycomb div::after, .honeycomb div::before {
    content: "";
    border-left: 24px solid transparent;
    border-right: 24px solid transparent;
    position: absolute;
    left: 0;
    right: 0;
}
.honeycomb div::after {
    top: -10.5px;
    border-bottom: 12px solid #d2a024;
}

.honeycomb div::before {
    bottom: -11px;
    border-top: 12px solid #d2a024;
}
.honeycomb div:nth-child(1) {
    animation-delay: 0s;
    left: -56px;
    top: 0;
}

.honeycomb div:nth-child(2) {
    animation-delay: 0.1s;
    left: -28px;
    top: 44px;
}

.honeycomb div:nth-child(3) {
    animation-delay: 0.2s;
    left: 28px;
    top: 44px;
}

.honeycomb div:nth-child(4) {
    animation-delay: 0.3s;
    left: 56px;
    top: 0;
}

.honeycomb div:nth-child(5) {
    animation-delay: 0.4s;
    left: 28px;
    top: -44px;
}

.honeycomb div:nth-child(6) {
    animation-delay: 0.5s;
    left: -28px;
    top: -44px;
}

.honeycomb div:nth-child(7) {
    animation-delay: 0.6s;
    left: 0;
    top: 0;
}

@keyframes honeycomb {
    0%, 20%, 80%, 100% {
        opacity: 0;
        transform: scale(0);
    }

    30%, 70% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes honeycomb {
    0%, 20%, 80%, 100% {
        opacity: 0;
        transform: scale(0);
    }

    30%, 70% {
        opacity: 1;
        transform: scale(1);
    }
}

.main-content {
    opacity: 0;
}

.loading, .main-content {
    transition: opacity 0.5s, visibility 0.5s;
    visibility: hidden;
}

.loading.visible, .main-content.visible {
    opacity: 1;
    visibility: visible;
}

