@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');

* {
    font-family: 'Hina Mincho', sans-serif;
    box-sizing: border-box;
    outline: none;
    font-weight: 500;
}

body {
    margin: 0;
    padding: 30px;
    background: pink;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    margin: 0;
    margin: 50px 0;
    font-weight: 800;
}

#main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 0 5px #999;
}

@media screen and (max-width: 480px) {
    #main {
        padding: 20px;
    }
}

main {
    width: 100%;
}

hr {
    width: 100%;
    border: none;
    border-top: 1px dotted salmon;
    margin: 50px 0;
}

label {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    cursor: pointer;
    input[type=text],
    textarea,
    select {
        border: 1px solid #000;
        height: 50px;
        padding: 0 20px;
        font-size: 16px;
        border-radius: 5px;
    }

    textarea {
        padding: 20px;
        resize: vertical;
    }

    &>p {
        font-size: 18px;
        font-weight: 800;
    }
}

#radio {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    gap: 20px;

    label {
        display: flex;
        flex-direction: row;
        margin: 0;

        p {
            margin: 0;
            font-size: 16px;
            font-weight: 500;
        }
    }
}

.attention {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 20px;

    h3 {
        font-size: 16px;
        margin: 0;
        font-weight: 800;
        margin-bottom: 10px;
    }

    p {
        font-size: 13px;
        margin: 0;
    }
}


input[type="file"]::file-selector-button {
    margin-right: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #000;
    font-size: 14px;
    font-family: 'Hina Mincho', sans-serif;
    cursor: pointer;
}

.sharebtn {
    button {
        background: #fff;
        border: 1px solid #000;
        border-radius: 5px;
        height: 80px;
        width: 100%;
        font-size: 20px;
        color: #000;
    }
}

.dbtn {
    display: flex;
    gap: 20px;
    button {
        background: #fff;
        border: 1px solid gray;
        border-radius: 5px;
        height: 80px;
        width: 100%;
        font-size: 20px;
        opacity: 0.5;
        color: #000;
    }
}

button {
    cursor: pointer;
}

.preview {
    width: 100%;
    aspect-ratio: 1.13 / 1;
    background-color: #f5f5f5;
    border-radius: 10px;
}
.pre {
    font-size: 20px;
    text-align: center;
    font-weight: 800;
}

.life {
    font-weight: 800;
    font-size: 27px;
    color: transparent;
    background: linear-gradient(to right, #65defc, #938aff);
    display: block;
    -webkit-background-clip: text;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: rgb(110, 155, 251);
    font-weight: 600;
}

.countp {
    text-align: center;
    font-size: 18px;
    span {
        font-weight: 800;
        font-size: 25px;
        margin-left: 10px;
    }
}

.tool {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    a {
        width: 100%;
        aspect-ratio: 16 / 5;
        border: 1px solid #000;
        border-radius: 10px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}