a{
    text-decoration: none;
}
.intro{
    display: flex;
    padding-top: 6%;
    max-width: 1200px;
}
.photo{
    border-radius: 15px;
    margin-top: 96px;
}
.introWord{
    margin-left: 7%;
    display: flex;
    flex-direction:column;
}
.name{
    display: flex;
    flex-wrap: wrap;
}
.subtn{
    width: 80px;
    height: 35px;   
    background-color: #003566;
    border-radius: 5px;
    border: #003566 1px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transition: 300ms ease-in-out;
}
.subtn a{
    color: white;
}

.subtn:hover{
    cursor: pointer;
    background-color: #ffc300;
    border: none;
}
.subtn:hover a{
    color: #003566;
}
.link{
    background-image: linear-gradient(#003566 0 0);
    background-position: bottom left; /*Adjust the background-position to move the line*/
    background-size: 20px 2px; /*Adjust the background size to control length and height*/
    background-repeat: no-repeat;
    padding-bottom: 3px;
    transition:all 300ms ease-out;
}
.link:hover{
    background-size: 100% 2px;
    transition:all 300ms ease-out;
}
.long-content{
    line-height: 1.5;
    font-size: 18px;
    text-align: justify;
}
@media(max-width:1000px){
    .intro{
        max-width: 800px;
        width: 100%;
    }
}
@media(max-width:600px){
    .intro{
        flex-direction: column;
        align-items: center;
    }
    .photo{
        margin-top: 0px;
        width: 100px;
    }
    .long-content{
        font-size: 12px;
        text-align: left;
    }
    .introWord{
        margin-left: 0px;
    }
}
