:root {
    --MapDot:2vw;
    --DotShy:1.6s;
    --HalfDotShy:.8s;
}

#Service_Window{
    display: flex;
    flex-direction: column;
    align-items: center;
    width:90%;
}
#area img{
    width:100%;
}
#CountryList>div{
    display: flex;
    font-size: 30px;
    flex-wrap: wrap;
}

#CountryList p{
    margin:0;
    color:#fff;
}

#CountryList h4{
    font-size: 1.6em;
    margin: 6px auto 10px;
}

#CountryList .title{
    width:100%;
    text-align: center;
    color:black;
    margin: 50px auto 10px;
    border-radius: 15px;
    border-bottom: 3px solid black;

}

#CountryList a{
    text-decoration: none;
    margin: 10px 30px;
}

#CountryList a>div {
    border-radius: 15px;
    padding: 4px 20px;
    background:#6e6e6e;
    transition: all .5s ease;

}

#CountryList a>div:hover {
    background:#0f0f0f;
}

#GoBack {
    border-radius: 30px;
    margin: 5px 0 20px;
    width: 100%;
    color: white;
    background: rgb(51, 51, 51);
    display: flex;
    align-items: center;
    flex-direction: column;
}

#GoBack p{
    margin:0;
    font-size:1.5em;
}

#area {
    position: relative;
    width:100%;
    height:100%;
}

#area>div{
    width: 0;
    height: 0;
    position: absolute;
}

#area >div>div{
    width: var(--MapDot);
    height: var(--MapDot);
    border-radius: 50%;

    position: absolute;
    top:calc(var(--MapDot)/-2);
    right: calc(var(--MapDot)/-2);
}


.DealerTitleBox{
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.DealerTitleBox>h3{
    font-weight: bold;
}

.DealerTitleBox>h4{
    color: gray;
}

.ItemList{
    width:80%;
    display:flex;
}

.Dealer{
    width: 100%;
    display: flex;
    margin: 25px 10px;
    border-left: 25px solid gray;
    border-right: 25px solid gray;
    border-top: 8px solid rgb(51, 51, 51);
    border-bottom: 8px solid rgb(51, 51, 51);
    flex-direction: column;
    align-items: center;
}

.DealerItemBox {
    width:80%;
    vertical-align: top;
    height:160px;
}

.DealerItemBox h4{
    margin:0;
    font-size: 1.3em;
}


.DealerItemBox p{
    margin:20px;
    font-size: 1em;
}

.Dealer .Portal{
    text-decoration-color: gray ;
    border-radius: 15px;
    margin:0 0 20px;
    width:300px ;
    height:75px ;
    background: linear-gradient(170deg , #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 50%,#000000 51%,#111111 60%,#2b2b2b 76%,#1c1c1c 91%,#131313 100%);
    background-size: 200%;
    background-position: 10% 10%;
    transition: all .5s ease;
}

.Dealer .Portal:hover{
    background-position: 100% 100%;
}

.Portal>p{
    text-align: center;
    color: white;
    font-size: 2em;
    margin:0;
}


#area>div>div:nth-of-type(1){
    animation: enlargeAnimation var(--DotShy) linear 0s infinite; 
    
}
#area >div>div:nth-of-type(2){
    animation: enlargeAnimation var(--DotShy) linear var(--HalfDotShy) infinite; 
}

@keyframes enlargeAnimation {
    0%{
        transform: scale(0); /* 初始和结束状态为原始大小 */
        border: calc(var(--MapDot)/2) solid rgb(250, 149, 255);
    }
    30% {
        border: calc(var(--MapDot)/2) solid rgb(184, 0, 197);
    }
    60%{
        transform: scale(1.3); /* 初始和结束状态为原始大小 */
    }
    100% {
        transform: scale(2); /* 中间状态为放大 2 倍 */
        border: 0px solid #fff;
    }
}

@media screen and (max-width:1000px) {
    #Service_Window{
        width:100%;
    }
}