body {
    background-color: rgb(8, 8, 12);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    background-color: transparent;
}

.block {
    color: var(--font_color);
    font-family: Roboto, sans-serif;
    font-weight: 300;

    margin: auto;
    width: 90%;
    padding: 5px;

    min-width: 495px;
    min-height: 200px;

    height: auto;

    background-color: var(--panel_background_color);
    outline-color: var(--panel_outline_color);
    border-radius: 2px;
    outline-style: solid;
    outline-width: 1px;

    animation-name: fadeInTwo;
    animation-duration: 0.2s;
    animation-timing-function: cubic-bezier(0.6, 0.17, 0.65, 0.41);
}

.projects_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.project_base {
    padding: 5px;
    box-sizing: border-box;

    width: 400px;
    height: 200px;

    border: solid rgba(0, 0, 0, 0.1) 2px;
    border-radius: 10px;
    display: flex;
}

.project_image {
    flex: 1;

    position: relative;

    background-color: rgba(100, 100, 100, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: 0.25s all;

    object-fit: contain;
}

.scroll_bg {
    position: absolute;
    overflow: hidden;

    width: 100%;
    height: 100%;

    background-size: 200%;
    animation: backgroundScroll 15s linear infinite;
    transition: all 0.25s;

    filter: opacity(0);
}

.static_bg {
    position: absolute;
    overflow: hidden;

    width: 100%;
    height: 100%;

    background-size: 100%;
    transition: all 0.25s;

    filter: opacity(0);

    animation: none;
}

.project_image > img {
    object-fit: cover;
    transition: 0.25s all;

    width: 100%;
    height: 100%;

    position: absolute;
    left: 0;
    top: 0;
}

.Title {
    animation-name: fadeIn;
    animation-duration: 1.5s;
    animation-timing-function: cubic-bezier(0.6, 0.17, 0.65, 0.41);
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    text-align: center;
    font-size: 45px;
    color: var(--font_color);
    margin-left: 20px;
}

.project_image:hover {
    filter: drop-shadow(0 0 0.75rem rgba(255, 255, 255, 0.45));
    border-radius: 0;
    cursor: pointer;
}

.project_image > img:hover {
    filter: opacity(0);
}
.project_image > div:hover {
    filter: opacity(1);
}
.project_image > div#staticbg:hover {
    filter: opacity(1);
}
