@import url(https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);
@import url(https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css);

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

.barcode {
    font-family: 'Code128';
    font-size: 50px;
}

input.valid {
    border: 2px solid green;
}

input.invalid {
    border: 2px solid red;
}

.name-cn {
    font-family: "cwTeXFangSong", serif;
    font-size: 24px;
}


.logo-title{
    text-align: center;
    font-family: "cwTeXFangSong", serif;
    font-size: 3vw;
}
@media (max-width: 768px) { /* 小於 768px，例如手機 */
    .logo-title{
        font-size: 5vw; /* 手機上字體稍微放大 */
    }
}

.name-en {
    font-family: 'Raleway', sans-serif;
}


.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

/* CSS */
.image-container {
    position: relative;
    display: inline-block;
}

.property-image {
    max-width: 50px;
    height: auto;
    transition: transform 0.3s ease;
}

.property-image:hover {
    transform: scale(1.2);
    /* 縮小的圖片比例 */
    cursor: pointer;
}

.image-container:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 放大比例 */
    height: 100%;
    /* 放大比例 */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    transition: 0.3s ease;
}