@font-face {
    font-family: 'Lexend Deca'; /* Name your font family */
    src: url('LexendDeca.ttf'); /* Locate the .ttf file within your directory*/
}

:root {
    color-scheme: light dark;
}

body {
    font-family: 'Lexend Deca', serif;
    background-color: light-dark(#FBF9F6, #0B1D26);
    color: light-dark(#204B57, #F9A20C);
}

a {
    font-family: 'Lexend Deca', serif;
    color: light-dark(#204B57, #F9A20C);
}

#canvas {
    border: 1px solid light-dark(#0B1D26, #FBF9F6);
    position: relative;
    margin-top: 20px;
}

.shape {
    position: absolute;
    background-color: #eee; /* Background color for visibility */
    border: 1px solid light-dark(#0B1D26, #FBF9F6); /* Border for visibility */
}

.square {
    border: 1px solid light-dark(#0B1D26, #FBF9F6);
}

.circle {
    border: 1px solid light-dark(#0B1D26, #FBF9F6);
    border-radius: 50%;
}

.shape-input {
    margin-bottom: 20px;
}

.LCD {
    position: absolute;
    background-color: #ccc; /* Add your desired background color */
    border: 1px solid light-dark(#0B1D26, #FBF9F6);
}

/* Hide the default file input text */
.file-input {
    display: none;
}

/* Style the custom file input button */
.custom-file-upload {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* Match Bootstrap button padding */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
    cursor: pointer;
    text-align: center;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    vertical-align: middle; /* Ensure vertical alignment */
}

.custom-file-upload:hover {
    background-color: #0056b3; /* Darker background color on hover */
    border-color: #0056b3; /* Darker border color on hover */
}

.custom-file-upload:focus {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Maintain shadow on focus */
    outline: 0; /* Remove default focus outline */
}

.rotate-icon {
    transition: transform 0.3s ease;
}

.rotate-icon.down {
    transform: rotate(180deg);
}

.card {
    background: light-dark(#FBF9F6, #0B1D26);
    border: 1px solid light-dark(#0B1D26, #FBF9F6);
}
