@font-face {
    src: url(../font/SDK.ttf)  format("truetype");
    font-family: SDK;
}
* {
    font-weight: 400;
    font-family: SDK;
}
body {
    background-color: #f5f5f5;
}

#card {
    position: relative;
    border-radius: 12px;
    background-color: #444;
    padding: 24px 0;
    width: 800px;
    height: fit-content;
}
#weapon_icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 110px;
    height: 110px;
}
#weapon_detail {
    display: flex;
    padding: 0 12px 4px;
    width: fit-content;
    img {
        filter: invert(92%) sepia(46%) saturate(7105%) hue-rotate(339deg) brightness(102%) contrast(85%);
        width: 32px;
        height: 32px;
    }
    #weapon_owner {
        margin-left: 12px;
        width: fit-content;
        color: #eee;
        font-size: 24px;
        line-height: 32px;
    }
}
#weapon_title {
    display: flex;
    flex-wrap: wrap;
    border-radius: 0 24px 24px 0;
    background-color: #ecd928;
    padding: 4px 12px;
    width: fit-content;
    min-width: 600px;
    height: fit-content;
    #weapon_name {
        margin-left: 12px;
        width: fit-content;
        color: #000;
        font-size: 32px;
        line-height: 40px;
    }
}
#weapon_wrap {
    display: flex;
    justify-content: space-between;
    padding: 12px;
}
#weapon_image_box {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    border-radius: 12px;
    background: linear-gradient(to top left, rgba(245,245,245,0.2),rgba(245, 245, 245, 0.8));
    width: 300px;
    height: 300px;
    #noimage {
        font-size: 40px;
    }
}
#status_container {
    width: calc(100% - 312px);
}
#weapon_status {
    display: flex;
    color: #fff;
    .substatus_box {
        display: flex;
        margin-right: 24px;
        h3 {
            font-size: 16px;
            line-height: 24px;
        }
        p {
            font-size: 40px;
            line-height: 60px;
        }
    }
}
#weapon_text {
    border-radius: 4px;
    background-color: #ccc;
    padding: 12px;
    width: 100%;
    height: fit-content;
    min-height: 240px;
    color: #000;
    font-size: 16px;
    line-height: 24px;
}
#credit {
    color: #ccc;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
}

#input_area {
    margin: 12px;
    border: 0.2px solid #000;
    border-radius: 4px;
    background-color: #fff;
    padding: 12px;
    max-width: 500px;
    height: fit-content;
    @media (width >= 1300px) {
        position: absolute;
        top: 0;
        right: 0;
        width: 400px;
        #owner_input::placeholder {
            font-size: 18px;
        }
    }
    @media (width >= 1400px) {
        width: 500px;
        #owner_input::placeholder {
            font-size: 20px;
        }
    }
    @media (width >= 1500px) {
        top: 0;
        left: 1000px;
    }
    label {
        display: block;
        color: #444;
        font-size: 16px;
        text-align: 24px;
    }
    input, select, textarea {
        display: block;
        margin: 4px 0 12px;
        border: 0.2px solid #000;
        border-radius: 4px;
        background-color: #fff;
        padding: 6px;
        width: 100%;
        color: #000;
        font-size: 20px;
        text-align: 32px;
    }
    #file_input::file-selector-button {
        display: none;
    }
    textarea {
        field-sizing: content;
        min-height: 120px;
        margin-bottom: 4px;
    }
    button {
        border-radius: 4px;
        background-color: #444;
        padding: 6px;
        width: fit-content;
        height: fit-content;
        color: #fff;
        font-size: 16px;
        line-height: 24px;
    }
    #download_button {
        margin-top: 12px;
        background-color: #000;
        padding: 12px;
        font-size: 24px;
        line-height: 32px;
    }
}