:root {
    --light-color: #F4F4F4;
    --text-color: #009DD2;
    --point-color: #E5625E;
}

body, *::before, *::after {
    box-sizing: border-box;
    background-image: url(../img/bg.png);
    background-size: cover;
    font-family: 'Josefin Sans', Arial, sans-serif, "微軟正黑體", "Microsoft JhengHei";
}

.container {
    margin-top: 3%;
}

.illustrate{
    width: 58%;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
}

.maintitle {
    text-align: center;
}

.maintitle img {
    width: 320px;
    margin: 0 auto;
}

.subtitle-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    margin: 10px auto;
}

.subtitle-block>div {
    width: 120px;
}

.subtitle-block>div>img {
    width: 100%;
}

.subtitle {
    /* letter-spacing: 15px; */
    text-align: center;
    font-size: 6rem;
    color: #005E8E;
    font-weight: bold;
}

.subtitle{
    font-size: 3em;
}

.select-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3%;
    gap: 40px;
}

.select-block>
select,
input {
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #e4e4e4;
    border-radius: 60px;
    outline: none;
    box-shadow: 0 2px 4px hsla(0,0%,43.5%,.25);
    color: #005E8E;
}

.select-block>select {
    background-color: #fff;
}

.select-block>p {
    margin: 0 10px;
    font-size: 16px;
    color: #555;
}

.select-block>input::placeholder {
    color: #005E8E;
}

.card-group {
    width: 75%;
    margin: 0 auto;
    margin-top: 3%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: start;
    justify-content: center;
}

.card {
    margin: 5px;
    background-color: #ffffff;
    position: relative;
    padding: 10px;
    padding-bottom: 30px;
    margin: 10px;
    display: flex;
    border-radius: 4px;
    transition: transform 0.3s;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.card:hover {
    transform: scale(1.03);
}

.card-img {
    width: 120px;
    margin: auto;
}

.card-img>img {
    width: 100%;
    border-radius: 8px;
}

.card-content{
    padding: 8px;
    width: 255px;
}

.card-content>h3 {
    font-weight: bold;
    margin: 2px;
    color: #266E93;
}

.card-content>h4 {
    font-weight: bold;
}

.card-content>div {
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.card-content>div>button {
    background-color: var(--text-color);
    color: var(--light-color);
}

.badge {
    color: var(--text-color);
    background-color: #ffffff;
    border: 1.2px solid var(--text-color);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.location {
    margin-left: 3px;
    color: #5555559c;
    border: 1.2px solid #5555559c;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
}

.filter {
    background-color: gainsboro;
    color: gainsboro;
}

@media screen and (max-width: 992px){
    .maintitle img {
        margin-top: 20px;
        width: 300px;
    }
    .illustrate{
        width: 80%;
    }
}

@media screen and (max-width: 850px){
    .card-group {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

@media screen and (max-width: 768px) {
    body{
        background-image: url(../img/bgrwd.png);
    }
    .maintitle img {
        margin-top: 20px;
        width: 280px;
    }
    .illustrate{
        width: 80%;
    }
    .subtitle {
        font-size: 2em;
    }
    .select-block {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .select-block>select,input {
        width: 50%;
    }
    .card-img {
        width: 80px;
    }
    .card-content{
        width: 230px;
        padding: 10px;
    }
    .card-group{
        width: 55%;
    }
}

@media screen and (max-width: 576px) {
    .maintitle img {
        margin-top: 20px;
        width: 250px;
    }
    .illustrate{
        width: 95%;
    }
    .select-block>select,input {
        width: 80%;
    }
}

.title-img{
    padding: 20px;
}
.title-img img{
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    margin-bottom: 20px
}