@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    text-decoration: none;
    list-style-type: none;
    border: none;
    outline: none;
}

html,body{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    height: 8vh;
    display: flex;
    z-index: 15000;
    background-color: #EEEAE1;
    z-index: 555466;
}

.headerLeft{
    width: 40%;
    height: 100%;
    padding-left: 10%;
}

.logo{
    height: 100%;
}

.headerMenu{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.menuLink{
    color: black;
    font-family: sans-serif;
    font-size: 18px;
    transition: .2s;
}

.menuLink:hover{
    font-size: 20px;
    color: #4287f5;
}

.headerRight{
    width: 60%;
    height: 100%;
}

.burger{
    display: none;
}

main{
    width: 100%;
    height: 92vh;
    background-image: url(images/backgorund.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

main::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #377aff1d;
}

.title{
    font-size: 95px;
    font-family: "Noto Sans TC", sans-serif;
    color: white;
    text-align: center;
    filter: drop-shadow(0 0 1px black);
    opacity: 0;
    transform: scale(.25);
    animation: .8s grow forwards;
}

.text{
    max-width: 95%;
    text-align: center;
    width: 550px;
    font-size: 20px;
    margin-bottom: 30px;
    color: white;
    font-family: "Noto Sans TC", sans-serif;

    filter: drop-shadow(0 0 1px black);
    opacity: 0;
    transform: scale(.25);
    animation: .8s grow .3s forwards;
}

.btn{
    width: 190px;
    height: 50px;
    background-color: #4287f5;
    cursor: pointer;
    font-size: 17px;
    font-family: "Noto Sans TC", sans-serif;
    color: white;
    transition: .3s;
    cursor: pointer;
    z-index: 15000;
    opacity: 0;
    transform: scale(.25);
    animation: .8s grow .6s forwards;
}

.btn:hover{
    background-color: white;
    color: #4287f5;
}

.btn:hover > a{
    color: #4287f5;
}

.btn:active{
    transition: 0s;
    transform: scale(.9);
}

.section1{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.box{
    max-width: 95%;
    width: 400px;
    height: 350px;
    transition: .3s;
}

.boxImg{
    width: 100%;
    height: 70%;
    background-size: cover;
    background-position: center;
}

.boxInfo{
    width: 100%;
    height: 30%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.boxImg1{
    background-image: url(images/box1.webp);
    
}

.boxImg2{
    background-image: url(images/translate.jpg);
}

.boxImg3{
    background-image: url(images/box2.webp);
}

.boxTitle{
    text-align: center;
    font-size: 19px;
    font-family: "Noto Sans TC", sans-serif;
    color: #4287f5;
}

.boxText{
    width: 85%;
    text-align: center;
    font-size: 13px;
    font-family: "Noto Sans TC", sans-serif;
    color: #A2A2A2;
}

.section1:hover .box:not(:hover){
    transform: scale(0.9);
    filter: blur(1px);
}


.section2{
    scroll-margin: 50px;
    width: 100%;
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F6F5F5;
}

.sec2Top{
    width: 100%;
    height: auto;
    padding: 15px 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.sec2Bottom{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
}

.sec2Title{
    color: #4287f5;
    font-size: 35px;
    font-family: "Noto Sans TC", sans-serif;
}

.sec2Text{
    font-family: "Noto Sans TC", sans-serif;
    font-size: 15px;
    text-align: center;
}

.sec2Box{
    width: 350px;
    height: 230px;
    display: flex;
    padding: 20px 10px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    transition: .5s;
    border-radius: 14px;
}

.sec2Box:hover{
    background-color: white;
}


.sec2BoxTitle{
    font-size: 22px;
    color: #4287f5;
    font-family: "Noto Sans TC", sans-serif;
}

.sec2BoxText{
    font-size: 16px;
    color: black;
    font-family: "Noto Sans TC", sans-serif;
}

.check{
    width: 30px;
}

.fixed{
    position: fixed;
    transform: translateY(-110%);
    animation: .5s comeHeader forwards;
}

@keyframes comeHeader{
    from{
        transform: translateY(-110%);
    }
    to{
        transform: translateY(0);
    }
}

@keyframes grow{
    from{
        opacity: 0;
        transform: scale(.25);
    }
    to{
        opacity: 1;
        transform: scale(1.0);
    }
}

.section3{
    scroll-margin: 150px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 10px;
    margin-bottom: 50px;
}

.sec3Title{
    font-size: 35px;
    color: #4287f5;
    font-family: "Noto Sans TC", sans-serif;
    text-align: center;
}

.sec3Text{
    width: 80%;
    font-family: "Noto Sans TC", sans-serif;
    text-align: center;
    font-size: 15px;
}

.section4{
    width: 100%;
    height: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-margin: 150px;
}

.topContact{
    width: 100%;
    height: auto;
    display: flex;  
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.topContact:hover .contactBox:not(:hover){
    transform: scale(0.9);
}



.bottomContact{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

iframe{
    width: 90%;
    height: 550px;
    border-radius: 15px;
}

.contactBox{
    width: 300px;
    height: 150px;box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    border-radius: 15px;
    transition: .3s;
}

.icon{
    width: 40px;
}

.contactText{
    width: 90%;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: bold;
    text-align: center;
}

.contactBox > a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 25px;
    color: black;
}

.btn > a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
}