.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.loader circle {
    fill: none;
    stroke: #4A3520;
    stroke-width: 4;
    stroke-dasharray: 157;
    stroke-dashoffset: 0;
    animation: dash 2s linear infinite;
}

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

@keyframes dash {
    0% {
        stroke-dashoffset: 157;
    }
    50% {
        stroke-dashoffset: 40;
    }
    100% {
        stroke-dashoffset: 157;
    }
}
