#bg-pattern {
    position: absolute;
    inset: 0;
    z-index: -99999;
    opacity: 0.5;
    background-repeat: repeat;
    background-size: 50px 50px;
}

.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern-grid)'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    background-repeat: repeat;
    overflow: auto;
}