/* loader.css */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
}

#loader {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #16a085;
    animation: spin 1.7s linear infinite;
}

#loader:before, #loader:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

#loader:before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: #e74c3c;
    animation: spin-reverse .6s linear infinite;
}

#loader:after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-top-color: #f9c922;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% { 
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.loaded #loader-wrapper {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s 1s ease-out;
}

#content {
    display: none;
}

.loaded #content {
    display: block;
}