﻿.teams-box{
    width: 100%;
    min-height: 100vh;
}
.teams-all-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 80px 0;
}
.teams-pages-img{
    width: 400px;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 20px;
    display: inline-block;
    vertical-align: bottom;
}

.teams-pages-img-border-box{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}
.teams-pages-img-border-top{
    width: 88%;
    display: block;
    position: absolute;
    height: 1px ;
    background-color: #dddddd;
    left: 6%;
    top: 0;
}
.teams-pages-img-border-right{
    width: 1px;
    display: block;
    position: absolute;
    height: 86% ;
    background-color: #dddddd;
    top: 7%;
    right: 0;
}
.teams-pages-img-border-bottom{
    width: 88%;
    display: block;
    position: absolute;
    height: 1px ;
    background-color: #dddddd;
    left: 6%;
    bottom: 0;
}
.teams-pages-img-border-left{
    width: 1px;
    display: block;
    position: absolute;
    height: 86% ;
    background-color: #dddddd;
    top: 7%;
    left: 0;
}
.teams-pages-name-box{
    width: calc(100% - 400px);
    display: inline-block;
    vertical-align: bottom;
    box-sizing: border-box;
    padding-left: 40px;
    text-align: left;
}
.teams-pages-name{
    font-family: "Noto Sans TC";
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #323c53;
}
.teams-pages-name-en{
    font-family: "Roboto";
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #8f8681;
}
.teams-pages-name-text{
    font-family: "Noto Sans TC";
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: #000;
    margin-top: 10px;
}
.teams-pages-edit-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 40px 0;
    font-family: "Noto Sans TC";
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 2;
}
.teams-pages-back-box{
    width: 100%;
    display: block;
    margin-top: 60px;
    text-align: center;
}
.teams-pages-back{
    width: 200px;
    display: inline-block;
    border: 1px solid #323c53;
    font-family: "Noto Sans TC";
    font-size: 18px;
    line-height: 38px;
    letter-spacing: 0.06em;
    color: #323c53;
    transition: all 0.3s linear;
    
}



@media only screen and (max-width: 1000px){
    .teams-all-box{
        width: 750px;
        padding: 60px 0;
    }
}
@media only screen and (max-width: 768px){
    .teams-all-box{
        width: 550px;
        padding: 40px 0;
    }
    .teams-pages-img{
        width: 200px;
        padding: 10px;
    }
    .teams-pages-name-box {
        width: calc(100% - 200px);
        padding-left: 20px;
    }
    .teams-pages-name{
        font-size: 28px;
    }
    .teams-pages-name-en{
        font-size: 18px;
    }
    .teams-pages-name-text{
        font-size: 20px;
        margin-top: 5px;
    }
}
@media only screen and (max-width: 550px){
    .teams-all-box{
        width: calc(100vw - 40px);
        padding: 20px 0;
    }
    .teams-pages-edit-box{
        padding: 20px 0;
        line-height: 1.4;
        font-size: 16px;
    }
    .teams-pages-name{
        font-size: 20px;
    }
    .teams-pages-name-en{
        font-size: 16px;
    }
    .teams-pages-name-text{
        font-size: 18px;
        line-height: 1.2;
    }
}
@media only screen and (max-width: 400px){
    .teams-pages-img{
        width: 100%;
    }
    .teams-pages-name-box{
        width: 100%;
        padding-left: 0;
        padding-top: 20px;
    }
}


/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .teams-pages-back:hover{
        background-color: #8f8681;
        color: #fff;
        border-color: #8f8681;
    }
    .teams-pages-img,
    .teams-pages-name-box,
    .teams-pages-edit-box,
    .teams-pages-back-box{
        opacity: 0;
    }
    .teams-pages-img-box.anima .teams-pages-img{
        animation: fadeInLeft 1s linear 0s 1 both;
    }
    .teams-pages-img-box.anima .teams-pages-name-box{
        animation: fadeInRight 1s linear 0s 1 both;
    }
    .teams-pages-edit-box.anima{
        animation: fade 1s linear 0s 1 both;
    }
    .teams-pages-back-box.anima{
        animation: fadeInUp 1s linear 0s 1 both;
    }
}