.content {
    position: absolute;
    width: 100%;
}

@media (min-width: 992px) {
    .content {
        padding-top: 0;
        padding-left: 17rem;
    }
  }

.bg-primary {
    background-color: #902525 !important;
}

.text-primary {
    color: #902525 !important;
}

a {
    color: #902525;
}

a:hover,
a:focus,
a:active {
    color: #902525;
}

section.resume-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    /* max-width: 75rem; */
    background-color: white;
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}

section.resume-section .resume-item .resume-date {
    min-width: none
}

@media (min-width:768px) {
    section.resume-section {
        min-height: 100vh;
        /* max-width: 75rem; */
        -webkit-animation: fadein 2s;
        /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: fadein 2s;
        /* Firefox < 16 */
        -ms-animation: fadein 2s;
        /* Internet Explorer */
        -o-animation: fadein 2s;
        /* Opera < 12.1 */
        animation: fadein 2s;
    }
    section.resume-section .resume-item .resume-date {
        min-width: 18rem
    }
}

@media (min-width:992px) {
    section.resume-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
        /* max-width: 75rem; */
        -webkit-animation: fadein 2s;
        /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: fadein 2s;
        /* Firefox < 16 */
        -ms-animation: fadein 2s;
        /* Internet Explorer */
        -o-animation: fadein 2s;
        /* Opera < 12.1 */
        animation: fadein 2s;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header.masthead {
    text-align: center;
    color: white;
    background-image: url("../img/background.jpg");
    background: linear-gradient(to bottom, rgba(56, 56, 56, 0.5) 0, rgba(56, 56, 56, .5) 100%), url(../img/background.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    height: 500px;
    /* max-width: 75rem; */
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}

header.masthead .intro-text {
    padding-top: 150px;
    padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Microsoft JhengHei';
}

header.masthead .intro-text .intro-heading {
    font-size: 7vw;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 25px;
    font-family: 'Microsoft JhengHei';
}

@media (min-width: 768px) {
    header.masthead .intro-text {
        padding-top: 150px;
        padding-bottom: 100px;
        /* max-width: 75rem; */
        -webkit-animation: fadein 2s;
        /* Safari, Chrome and Opera > 12.1 */
        -moz-animation: fadein 2s;
        /* Firefox < 16 */
        -ms-animation: fadein 2s;
        /* Internet Explorer */
        -o-animation: fadein 2s;
        /* Opera < 12.1 */
        animation: fadein 2s;
    }
    header.masthead .intro-text .intro-lead-in {
        font-size: 2.5vw;
        font-weight: 300;
        font-style: italic;
        line-height: 40px;
        margin-bottom: 25px;
        font-family: 'Microsoft JhengHei';
    }
    header.masthead .intro-text .intro-heading {
        font-size: 5vw;
        font-weight: 700;
        line-height: 75px;
        margin-bottom: 50px;
        font-family: 'Microsoft JhengHei';
    }
}

.img-news {
    opacity: 0.8;
}

.img-activity {
    opacity: 0.8;
}

.sidebar-p {
    color: white;
    font-size: 1.15rem;
    font-weight: 500;
}

.sidebar-p-animation {
    background: linear-gradient(90deg, #fff,rgb(0, 0, 0), #fff);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s linear infinite;
    -webkit-background-clip: text;
    overflow: hidden;
    -webkit-text-fill-color: rgba(26, 26, 26, 0.6);
}

.highlight-section {
    padding: 3rem;
    margin-bottom: 1rem;
    background-color: #f9ecda;
}

hr.divider {
    border-width: .2rem;
    border-color: #902525;
}

hr.objective_divider {
  max-width: 3.25rem;
  border-width: .2rem;
  border-color: #902525;
}

.sub-header {
    margin: 2rem 0;
}
.sub-title {
    /* margin-right: 1rem; */
    margin: 1rem;
}

.content-sub-title {
    /* margin-right: 1rem; */
    font-size: 1.2rem;
    font-weight: 500;
}
.member-item{
    padding: 1rem 1rem;
    border-radius: 1rem;
}
.member-item:hover {
    background-color: rgb(255, 248, 232);
    border-radius: 1rem;
}
.item-active {
    background-color: #902525;
    color:white;
    border-radius: .3rem;
}
.item-inactive {
    background-color: rgb(255, 255, 255);
    color:rgb(99, 99, 99)
}
.btn-link {
    color:#902525;
}
.navbar-toggler {
    color: black
}
.media {
    display: inline;    
}
@media (min-width: 768px) {
    .media {
        display: flex;    
    }
}
.read-more:hover{
    color:#902525
}
.professor-card{
    border:none
}
@media (min-width: 992px) {
    .professor-card {
        width: 75%!important;
    }
    .professor-card-body{
        padding: 0 2rem;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 0;
    }
}

.lang{
    bottom: 2rem;
    width: 100%;
    color: rgb(255, 255, 255, .75);
    font-weight: 300;
}

.lang a:hover{
    color: white;
}

.lang-active{
    color: white;
    font-weight: 700;
}
@media (min-width: 992px) {
    .lang {
        position: absolute;   
    }
}
.en-font{
    font-size: 3rem;
}

.card-header {
    padding: 0rem 1.25rem;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: none;
}

.member-card {
    border-radius: 0;
    margin: 1rem 0;
    border: none;
}

.member-card-header {
    background-color: #cecece;;
} 

.member-card-btn {
    font-size: 1.2rem;
    color:rgb(32, 32, 32)
}

.carousel-inner{
    max-height: 350px;
}

.carousel-inner > .carousel-item {
    height: 350px;
  }
  
.carousel-inner > .carousel-item > img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 800px;
    width: auto;
}

.act-modal-header {
    padding: .3rem 1rem;
}

.activity-card-btn{
    font-size: 1.7rem;
    color: black;
    padding: 0 0 1rem 0;
}

.activity-card-btn:hover{
    color: #902525;
}

#wel-show{
    display: none;
}

.welcome {
    color: white;
    /* background-image: url("../img/welcome.jpg");
    background: linear-gradient(to bottom, rgba(56, 56, 56, 0.5) 0, rgba(56, 56, 56, .5) 100%), url(../img/welcome.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover; */
    width: 100vw;
    height: 100vh;
    position: fixed;
    display:flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    animation: fadein 2s;
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
}

.wel-title {
    font-size: 6vw;
    line-height: 6vw;
    
}

.wel-title-animation {
    background: linear-gradient(90deg, #fff,rgb(0, 0, 0), #fff);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 3s linear infinite, movein 2s;
    -webkit-background-clip: text;
    overflow: hidden;
    -webkit-text-fill-color: rgba(26, 26, 26, 0.6);
}

  
  @keyframes animate {
    0% {
      background-position: -500%;
    }
    100% {
      background-position: 500%;
    }
  }

@media (min-width: 992px) {
    .wel-title {
        font-size: 6vw;
        line-height: 6vw;
    }
}

@keyframes movein {
    from {
      margin-left: 200px;
      opacity: 0;
    }
    to {
      margin-left: 0px;
      opacity: 1;
    }
  }

.wel-btn {
    font-size: 2vw;
    padding: .5rem 1rem;
    /* opacity: .5; */
    background-color: rgb(41, 41, 41);
    border: 3px solid rgb(41, 41, 41);
    text-align: center;
    font-weight: 300;
    color: inherit;
    text-decoration: none;
}

.wel-btn:hover {
    background-color: transparent;
    text-decoration: none;
    color: black;
}

.wel-btn:hover .wel-icon {
    animation: btn-icon 1s;
    animation-iteration-count:infinite;
}

@keyframes btn-icon {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(6px);
        transform: translateX(6px);
    }
  }

#intro {
    background-image: url("../img/intro.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 30vw;
    margin-top: 1vw;
}

.nthu-div {
    display: flex;
}

#nthu{
    flex: 1;
    background-image: url("../img/nthu.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 20vw;
    width: 20vw;
    animation: movetop 3s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    animation-delay: 1s;
    opacity:0;
}

@media (min-width: 1025px) {
    #nthu {
        height: 12vw;
        width: 12vw;
    }
}

#nthu-title{
    opacity: 0;
    text-align: center;
    font-size: 4vw;

    display:inline-block;
    overflow:hidden;
    white-space:nowrap;
    animation: reveal 3s;
    animation-delay: 1s;

    height: 0px;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

#nthu-title-span {
    margin-top:-100px;
    animation: slidein 3s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes slidein {
    0% { margin-top:-100px; }
    20% { margin-top:-100px; }
    100% { margin-top:0px; }
}

@keyframes reveal {
    0% {opacity:0;height:0px; }
    20% {opacity:0;height:0px; }
    70% {opacity:1;height:100px;}
    100% {opacity:0;height:0px;}
}

@keyframes movetop {
    0% {opacity:0;}
    20% {opacity:1;}
    70% {opacity:1;}
    100% {opacity:0;}
  }

#wel-enter{
    display: none;
}

#side-bg {
    background: linear-gradient(to bottom, rgba(181, 38, 44, 0.8) 0, rgba(181, 38, 44, 0.8) 100%), url(../img/marble.jpg);
    background-size: 100% 100%;
    animation-duration: 240s;
    animation-iteration-count: infinite;
    /* animation-name: rotate; */
    animation-timing-function: linear;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}
  
  @keyframes rotate {
    from { transform: rotate(  0deg); }
    to   { transform: rotate(360deg); }
  }

#side-bg-container {
    position: fixed;
    width: 100%;
    height: 100%;
}

#logo {
    background-image: url("../img/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 8vh;
}