
.container {
    width: 90%;
    margin: 100px auto;
    padding: 0;
    box-sizing: border-box;
    min-height: auto;
    font-family: 'jf-jinxuan-M';
}

.tabs {
    margin: 3% auto;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 400;
}

.tab {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    transition: ease-in-out 0.4s;
    color: #545453;
}

.tab:hover {
    background-color: #a09180;
    color: white;
}

.tab.active {
    cursor: default;
    background-color: #a09180;
    color: white;
}

.container label {
    font-size: 24px;
    font-weight: 400;
    color: var(--595757);
}

input, textarea, select {
    width: 100%;
    height: 40px;
    padding: 0 10px 0 20px;
    border: none;
    border-bottom: 1px solid var(--717679);
    font-size: 24px;
    font-weight: 400;
    color: var(--595757);
    background: transparent;
}

input:focus, textarea:focus, select:focus {
    outline: none;
}

select:invalid {
    color: var(--B5B5B6);
}

canvas {
    border: 1px solid var(--717679);
}

.required {
    position: relative;
    left: 10px;
    bottom: 20px;
    font-size: 15px;
    color: #c8413a;
}

#f1 .col-12 > div {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    padding: 5vh 3vw;
}

#f1 .col-12 > div label {
    display: inline-block;
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

#f2 .col-12 {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    padding: 5vh 2vw;
}

#f2 .col-12 > label {
    display: inline-block;
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

#code {
    width: 150px;
}

canvas {
    margin: 10px;
}

#refresh {
    color: #568761;
    background-color: transparent;
    border: none;
    font-size: 24px;
}

.btn {
    margin: 20px;
    padding: 10px 30px;
    font-size: 24px;
    font-weight: 400;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0;
}

button[type="submit"] {
    background-color: #c8413a;
}

button[type="submit"]:hover {
    background-color: #a09180;
}

button[type="reset"] {
    background-color: #545453;
}

button[type="reset"]:hover {
    background-color: #a09180;
}

#upload {
    margin: 5px;
    padding: 5px 10px;
    background-color: #545453;
    font-size: 24px;
    white-space: nowrap;
}

#upload:hover {
    background-color: #a09180;
}

#info {
    margin: 0 5%;
    color: #9f9f9e;
    font-size: 24px;
    display: flex;
    align-items: flex-end;
}

#info img {
    max-width: 150px;
    max-height: 150px;
    margin: 10px;
}


@media screen and (max-width: 768px) {
    .w-auto {
        width: 140px !important;
    }

    .container {
        margin: 50px auto;
    }

    .tabs {
        font-size: 23px;
        padding: 5px 15px;
    }

    .tab {
        padding: 5px 15px;
    }

    label {
        font-size: 20px;
    }

    input, textarea, select {
        font-size: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 20px;
    }

    #refresh {
        font-size: 20px;
    }

    #f1 .col-12 > div {
        padding: 4vh 0vw;
    }

    #f2 .col-12 {
        padding: 4vh 2vw;
        width: 95%;
    }

    .required {
        font-size: 20px;
    }

    .message{
        margin-left:5%;
        width: 90% !important;
        padding-left: 0 !important;
        padding-top: 0vh !important;
    }

    #info {
        font-size: 20px;
        flex-direction: column;
    }

    #upload {
        font-size: 20px;
    }
}

@media screen and (max-width: 425px) {

    .container {
        margin-bottom: 20px;
    }

    .tabs {
        font-size: 18px;
        padding: 5px;
    }

    label {
        font-size: 18px;
    }

    input, textarea, select {
        font-size: 18px;
    }

    .btn {
        font-size: 18px;
        margin: 10px;
        padding: 5px 15px;
    }

    #refresh {
        font-size: 18px;
    }

    #f1 .col-12 > div {
        padding: 3vh 0vw;
    }

    #f2 .col-12 {
        padding: 3vh 2vw;
    }

    .required {
        font-size: 18px;
    }

    #info {
        font-size: 18px;
    }

    #upload {
        font-size: 18px;
    }
}