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

html,
body {
    width: 100%;
    height: 100%;
}

html {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-primary-color);
    color: var(--text-primary-color);
    font-size: large;
}

main {
    width: 100%;
    height: 100%;

}

main section {
    width: 100%;
    height: 100%;
    padding: var(--padding-xxl);
    display: flex;
    justify-content: center;
    gap: var(--gutter-xl);
    align-items: center;
}

.top {
    display: flex;
    gap: var(--gutter-m);
}

.btn {
    padding: var(--padding-s) var(--padding-m);
    border: none;
    outline: none;
    border-radius: 30px;
    background-color: var(--bg-active-color);
    color: var(--text-active-color);
    font-size: large;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1vw;
}

.btn:hover {
    transform: scale(1.05);
    background-color: rgb(237, 255, 255);
    box-shadow: 0px 0px 10px 2px rgba(220, 219, 219, 0.15);
}

#card:hover {
    box-shadow: 0px 0px 10px 2px rgba(30, 36, 46, 0.479);
}

#card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(245, 245, 245, 0.247);
    aspect-ratio: 5/3;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.24);
    transition: all 0.1s ease-out;
}

.bottom {
    cursor: pointer;
    margin-top: var(--gutter-m);
    height: 25vw;
}

.bottom .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 65%;
    font-style: oblique;

}

.bottom .placeholder i {
    font-size: 10vw;
}

.left {
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gutter-m);
    align-items: center;
    padding: var(--padding-xl);
}

.right {
    width: 30%;
    height: 100%;
    padding: var(--padding-xl);
}

.filters {
    margin-top: var(--gutter-m);
    width: 100%;
    display: flex;
    flex-direction: column;
    color: #b5bbbb;

}

.filters input {
    width: 100%;
}

input[type="range"] {
    -webkit-appearance: none;
    /* Resets Chrome, Safari, Edge */
    appearance: none;
    width: 100%;
    /* Desired slider width */
    background: transparent;
    /* Removes default background */
    cursor: pointer;
}

input[type="range"]:focus {
    outline: none;
    /* Removes default focus ring */
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #ddd;
    height: 4px;
    border-radius: 2px;
}

/* Firefox */
input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 6px;
    border-radius: 4px;
}

/* Chrome, Safari, Edge, Opera */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Critical for Chrome/Safari */
    appearance: none;
    background: #78a2cd;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    margin-top: -4px;
    /* Centers thumb on a 8px track: (track_height/2) - (thumb_height/2) */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    background: #78a2cd;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: none;
    /* Removes default Firefox border */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.image-canvas {
    max-width: 100%;
    max-height: 100%;
    border-radius: 1rem;

}

.main-image {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    /* Optional rounded corners */


}

.blur-shadow {
    position: absolute;
    top: 15px;
    /* Pushes the shadow downwards */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Places it behind the main image */
    filter: blur(20px);
    /* Creates the deep blur effect */
    opacity: 0.7;
    /* Softens the intensity of the shadow */
}