   @font-face {
      font-family: 'ChainsawCarnage';
      src: url('font/ChainsawCarnage.ttf') format('truetype');
    }

    @font-face {
      font-family: 'Fugue-Regular';
      src: url('font/Fugue-Regular.ttf') format('truetype');
    }
*{  
    user-select: none;
    font-family:'Fugue-Regular', sans-serif;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
   
    box-sizing: border-box;
}
#howToPlayBox {
    width: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 1rem;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(image/background2.png) center center/cover no-repeat;
    z-index: -1;
}

.nav-left {
    display: flex;
    gap: 10px;
}

.main-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family:'ChainsawCarnage', sans-serif;
    font-size: 4rem;
    color: #00beff;
    text-shadow: 0 0 10px yellow;
    margin: 0;
}

/* 우측 내비게이션 */
.nav-right {
    display: flex;
    gap: 10px;
}

/* 버튼 스타일 */
.nav-button {
    font-family:'Fugue-Regular', sans-serif;
    background: #00beff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-button:hover {
    background: white;
    color: black;
}

#uisystem2{
    position: fixed;
    margin-top: -2vh;
    margin-left: 1vw;
    z-index: 999;
    padding: 0;
    display: flex;
    gap: 10px;
}

span:hover{ 
    text-decoration: underline;
}



button{

    padding: 0.5em;
    font-size: 1.1em;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0.4em;
    box-shadow: 0 0 7px yellow inset;
    margin-top: 1em;

}


#brushButton{
    margin-top: 20vh;
    position: fixed;
}

.tool:hover{
    scale: 125%;

}


.tool:hover .overlay {
    opacity: 1;
}

#sizecontro{
    width: 24vw;
    height: 65vh;
    backdrop-filter: blur(5px);
    background: linear-gradient(to right, rgba(238, 238, 238, 0.4) 0%, rgba(255, 255, 35, 1) 80%);

    box-shadow: 0 0 15px #5d5c5d;
    border-radius: 0.3em;
    position: fixed;
    right: 1vw;
    bottom:1vw
}

.overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-80%, -50%);
        color: white;
        font-size: 1.4vw;
        color: white;
    text-shadow: 0 0 3px #00beff;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
}

.tool{
    position: absolute;
    margin: 1vw;
    transition: filter 0.3s;
}

#submitbutton:hover{
scale: 110%;
}

#container{
    display: flex;
    align-items: flex-end; 
    margin-top: 12vh;
    gap: 1vw;
}

#productcontainer{
    display: flex; 
}

#canvas {  
    po
    margin: 0;
    box-shadow: 0 0 10px #5d5c5d;
    border-radius: 0.3em;
    z-index:1;
    background: rgba(255, 255, 255, 0.1); /* 약간 투명한 배경 */
    backdrop-filter: blur(8px); /* 배경 블러 */
    filter: brightness(1.2); /* 밝기 추가 */
    border: 1px solid rgba(255, 255, 255, 0.3); /* 투명한 테두리 */
    width: ;
}
a{
    text-decoration: none;
}

.lookblur{
    filter: blur(10px);
}


@keyframes blick{
    0%{
        opacity:100%;
    }

    50%{
        opacity: 0;
    }

    100%{
        opacity:100%;
    }
}

#canvas-container{
    float: left;
    width:fit-content;
    display: flex;
    
}

#blockText{
	font-size: 1.2em;
    backdrop-filter: blur(5px);
    background-color: rgb(255,255,255,0.95);
    width: 10vw;
    height:fit-content;
    border-radius: 0.5em;
    padding: 0.5em;
    float: left;
    box-shadow: 0 0 10px yellow inset;
    z-index:2;
  
    

}

#controler{
    width: 18vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    gap: 0.5vh; 
    
}

#controler > *:not(:last-child) {
        margin-bottom: 10px;
}

#cleanAndNext{
    display: flex;
    width: 94%;
    gap: 2%;
}

#controler button{
    background-color: #fff;
    box-shadow: #5d5c5d 0 0 10px inset;
    flex: 1;
    font-size:0.8em;
    height: 5vh;
    border-radius: 1em;
}

#currentTool{
	z-index: 1;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, #fd79ff 100%);
    width: 17vw;
    height: 20vh;
    border-radius: 1rem;
    box-shadow: #fd79ff 0 0 10px inset;
   
}

#currentImage{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20vh;
}



#controlPart{
    position: fixed;
    top:17vh;
    right: 1vw;
    width: 24vw;
}

#sizecontro{
    width: 24vw;
    height: 65vh;
    backdrop-filter: blur(5px);
    background: linear-gradient(to right, rgba(238, 238, 238, 0.4) 0%, rgba(255, 255, 122, 0.8) 80%);
    box-shadow: 0 0 15px #5d5c5d;
    border-radius: 0.3em;
    position: fixed;
    right: 1vw;
    bottom:2vh;
}



.toolnumber{
font-size: 1em;
color: blue;
position: fixed;

}
