@font-face { 
    font-family: Nintendo-DS-BIOS; 
    src: url('/assets/font/Nintendo-DS-BIOS.ttf'); 
}

body {
    font-family: Nintendo-DS-BIOS;
    background: #111;
    color: #fff;
    gap: 30px;
    padding: 30px;
}

#tool {
    display: flex;
    gap: 30px;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 1%;
    width: 1000px;
}

input {
    margin-bottom: 10px;
}

.canvas-wrapper {
    position: relative;
    display: inline-block;
}

img {
    max-width: 400px;
    display: block;
}

.crop-box {
    position: absolute;
    border: 2px solid #4da6ff;
    box-sizing: border-box;
    cursor: move;
}

.handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.handle {
    border-radius: 50%;
    border: 1px solid black;
}

.previews {
    display: flex;
    gap: 10px;
}

.handle.nw { top: 0; left: 0; cursor: nwse-resize; }
.handle.ne { top: 0; left: 100%; cursor: nesw-resize; }
.handle.sw { top: 100%; left: 0; cursor: nesw-resize; }
.handle.se { top: 100%; left: 100%; cursor: nwse-resize; }
.handle.w  { top: 50%; left: 0; cursor: ew-resize; }
.handle.e  { top: 50%; left: 100%; cursor: ew-resize; }

.preview {
    border: 2px solid #444;
    width: 200px;
    height: 200px;
}

.preview-small {
    width: 50px;
    height: 50px;
}

#preview-circle {
    border-radius: 50%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.55);
}

button {
    margin-top: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

#title {
    font-size: 60px;
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
    background-size: 45%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: title 5s linear infinite;
    animation: title 5s linear infinite;
}

@keyframes title {
    0%{background-position:10% 0%}
    50%{background-position:91% 100%}
    100%{background-position:10% 0%}
}
@-webkit-keyframes title {
    0%{background-position:10% 0%}
    50%{background-position:91% 100%}
    100%{background-position:10% 0%}
}

#subtitle {
    font-size: 25px;
}

.wavy {
    animation-name: wavy;
    animation-duration: 1.3s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    position: relative;
    top: 0;
    left: 0;
    }
    @keyframes wavy {
    0% {
        top: 0px;
    }
    50% {
        top: -15px;
    }
    100% {
        top: 0px;
    }
}

.bottom-left {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    font-size: 20px;
}