body {
    font: 300 16px/180% "Arial", "Microsoft JhengHei", "Apple LiGothic Medium", "Microsoft YaHei", sans-serif;
    background: url(../img/background.svg) no-repeat center center,linear-gradient(to top,#54C3F1,#00479B);
    background-size: 110%;
    margin: 0 auto;
    padding: 0 0;

}

:root {
    --color-1: #21D19F;
    --color-2: #05A3FF;
    --color-3: #1ecbff;
    --color-4: #cff786;
    --color-5: #f7d71e;
    --color-6: var(--color-1);
}

h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 138px;
    background: linear-gradient(to right, var(--color-1), var(--color-2), var(--color-3), var(--color-4), var(--color-5), var(--color-6));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 12250ms infinite linear;
    width: 100%;
    height: 100px;
    margin: 20px auto 50px auto;
    line-height: 120px;
    text-align: center;
    padding: 20px 0;
}

h1:hover {
    animation-play-state: running;
}

@keyframes rainbow-text {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 400% 0%;
    }
}

main {
    display: flow-root;
    min-height: calc(100vh - 76px);

}

h3 {
    margin: 20px auto;
    text-align: center;
    border-radius: 50px;
    padding: 15px 20px;
    width: 200px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
     background-color: #666b7abd;
    /*animation-duration:2s;
    animation-iteration-count: infinite;
    animation-name: mymove ;
     */
}
h3 a {color: #fff;text-decoration: none;}
h3 a:hover {color: #cff786;text-decoration: none;}
/* @keyframes mymove {
    0%   { background:#30cfd0;}
    100% { background:#330867;}
  } */

.logo {
    background: #00479B url(../img/logo.svg) no-repeat center center;
    background-size:100%;
    width: 100%;
    max-width: 200px;
    display: flex;
    border-radius: 50px;
    padding: 35px 15px;
    margin: 5% auto 0 auto;

}

 
ul li {
    color: #fdfbfb;
    line-height: 40px;
    margin: 0;
}

.content {
    padding: 0 25px;
    margin: 20px auto 0 auto;

}

.boxrow {
    margin: 2rem auto 2rem auto;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    display: contents;
    padding: 1rem .8rem;
    flex-wrap: nowrap;
    width: 75%;
    margin: 0 2px;
}

.box .pic {
    border-radius: 50px;
    text-align: center;
    text-indent: -9999px;
    width: 40px;
    display: block;
    padding: 25px 5px 25px 5px;
    margin-right: 5px;

}

.box .color_01 {
    background-color: #d02f6d;
}

.box .color_02 {
    background-color: #22BCB5;
}

.box .color_03 {
    background-color: #1192b9;
}

.box .color_04 {
    background-color: #6a972f;
}

.box .color_05 {
    background-color: #4a7f94;
}

.title_01 {
    background: url(../img/title_01.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;

}

.title_02 {
    background: url(../img/title_02.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.title_03 {
    background: url(../img/title_03.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.title_04 {
    background: url(../img/title_04.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.title_05 {
    background: url(../img/title_05.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.title_06 {
    background: url(../img/title_06.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.title_07 {
    background: url(../img/title_07.svg) no-repeat center center;
    display: inline-block;
    background-size: 70% 70%;
}

.box ul.link {
    list-style: none;
    margin: 0 15px 0 5px;
    float: left;
    text-align: left;
    padding: 0 0;
    font-size: .8em;
}

.box ul.link h4 {
    color: #fff;
    font-weight: 300;
    letter-spacing: 8px;
    padding: 0 10px;
    font-size: 1rem;
    margin: 3px auto 0 auto;
}

.box ul.link p {
    border-radius: 50px;
    background-color: #eee;
    padding: 0 .2rem 0 .8rem;
    margin: 0 auto;
    color: #000;
    min-width: 90px;

}

.box ul li {
    color: #FFF;
    line-height: 25px;

}

.box ul.link p span {
    color: #5680A5;
    ;
    font-size: .7rem;
}

.box ul.link p i {
    color: #5680A5;
    font-size: .6rem;
    margin: 0 3px;
}

.box ul.link a {
    display: inline-block;
    padding: 0 2px;
    color: #000;
}

.box ul.link a:hover {
    border-radius: 6px;
    color: #c7503b;
    text-decoration: none
}

footer {
    font: 300 1.6em/180% sans-serif;
    display: flex;
    justify-content: center;
    color: #fff;
    background: #033673;
    padding: 15px 0;
    align-content: center;
    letter-spacing: 10px;
}

@media screen and (max-width:1024px) {
    main {min-height: calc(100vh - 127px);}
    .box {
        padding: 1rem 0.5rem;
        width: 29.5%;
        display: inline-flex;  
    }
    h1{font-size: 120px;}
}

@media screen and (max-width:660px) {
    main {
        height: auto;
        padding: 0 20px;
    }

    .content {
        padding: 0;
    }

    .logo {
        margin: 15% auto 0 auto;
        width: 50%;
    }

    h1 {

        padding: 0;
        font-size:54px;
        margin: 10px auto;
    }

    .boxrow {
        justify-content: space-between;
    }

    .box {
        padding: 1rem 0.5rem;
        width: 43.5%;
        display: inline-flex;
    }

    .box ul.link {
        margin: 0 5px;
    }

    .box .pic {
        min-width: 20px;
        background-size: 90%;
        padding: 25px 5px 25px 5px;
    }

    footer {
        letter-spacing: normal;
        display: flex;
        height: 50px;
        align-items: center;
        font-size: 1.4rem;
        padding: 10px 10px;
    }
}