@font-face {
    font-family: GenYo-Gothic;
    src: url('/assets/fonts/GenYoGothicTW-M-01.ttf') format('truetype');
  }


/* ----- 通用區 ----- */
a {
    color: #6064f4;
    text-decoration: none;
  }
  
a:hover {
    color: #6064f4;
    text-decoration: none;
  }

section {
    margin-left: 12vw;
    margin-right: 12vw;
    padding-top: 50px;
    overflow: hidden;
}

.start_title {
    width: 100%;
    height: 120px;
}

.start_title img {
    height: 120px;
    float: left;
}

.start_title_texts {
    float: left;
    margin-left: 50px;
    display: block;
}

.start_title_texts h3 {
    font-size: 35px;
}

.start_title_texts h4 {
    font-size: 50px;
}

.content {
    margin: 50px;
    width: 860px;
}

.content img {
    width: 600px;
}

.content h3 {
    margin-top: 30px;
    color: #6d70bb;
    font-size: 28px;
    margin-left: 10px;
    font-family: GenYo-Gothic;
}

.content p {
    font-size: 25px;
    margin-top: 30px;
    letter-spacing: 3px;
}

.display {
    margin: 50px;
    padding: 50px;
}

.student {
    width: 250px;
    display: flex;
    flex-direction: row;
    height: 500px;
}

.student img {
    height: 250px;
}

.display h3 {
    margin-top: 30px;
    font-size: 35px;
    font-weight: bold;
}

.display h2 {
    font-size: 25px;
    font-weight: normal;
    color: #717171;
}

.display #display-works {
    margin-left: 15vw;
}

@media (max-width: 991px) {

    section {
        margin-left: 6vw;
        margin-right: 6vw;
        padding-top: 30px;
        overflow: hidden;
    }
    
    .start_title {
        width: 100%;
        height: 70px;
    }
    
    .start_title img {
        height: 70px;
        float: left;
    }
    
    .start_title_texts {
        float: left;
        margin-left: 20px;
        display: block;
    }
    
    .start_title_texts h3 {
        font-size: 20px;
    }
    
    .start_title_texts h4 {
        font-size: 30px;
    }
    
    .content {
        margin: 20px;
        width: 300px
    }
    
    .content img {
        width: 300px;
    }
    
    .content h3 {
        margin-top: 20px;
        color: #6d70bb;
        font-size: 20px;
        font-family: GenYo-Gothic;
        
    }
    
    .content p {
        font-size: 18px;
        margin-top: 30px;
        letter-spacing: 3px;
    }
    
    .display {
        margin: 30px;
        padding: 20px;
    }
    
    .student {
        width: 250px;
        display: flex;
        flex-direction: row;
        height: 250px;
    }
    
    .student img {
        height: 100px;
    }
    
    .display h3 {
        margin-top: 10px;
        font-size: 25px;
        font-weight: bold;
    }
    
    .display h2 {
        font-size: 15px;
        font-weight: normal;
        color: #717171;
    }
    
    .display #display-works {
        margin-left: 50px;
    }


}



/* ----- Nav -----*/
#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9997;
    transition: all 0.5s;
    padding: 15px;
    overflow-y: auto;
  }
  
  @media (max-width: 991px) {
    #header {
      width: 300px;
      background: #fff;
      border-right: 1px solid #e6e9ec;
      left: -300px;
    }
  }
  
  @media (min-width: 991px) {
    #main {
      margin-left: 100px;
    }
  }
  
  .nav-menu {
    padding: 0;
    display: block;
  }
  
  .nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-menu>ul>li {
    position: relative;
    white-space: nowrap;
  }
  
  .nav-menu a,
  .nav-menu a:focus {
    display: flex;
    align-items: center;
    color: #45505b;
    padding: 10px 18px;
    margin-bottom: 8px;
    transition: 0.3s;
    font-size: 15px;
    border-radius: 50px;
    background: #f2f3f5;
    height: 56px;
    width: 100%;
    overflow: hidden;
    transition: 0.3s;
  }
  
  .nav-menu a i,
  .nav-menu a:focus i {
    font-size: 20px;
  }
  
  .nav-menu a span,
  .nav-menu a:focus span {
    padding: 0 5px 0 7px;
    color: #45505b;
  }
  
  @media (min-width: 992px) {
  
    .nav-menu a,
    .nav-menu a:focus {
      width: 56px;
    }
  
    .nav-menu a span,
    .nav-menu a:focus span {
      display: none;
      color: #fff;
    }
  }
  
  .nav-menu a:hover,
  .nav-menu .active,
  .nav-menu .active:focus,
  .nav-menu li:hover>a {
    color: #fff;
    background: #8688ae;
  }
  .nav-menu li:hover>a#s10 {
    color: #fff;
    background: #3c5392;
  }
  .nav-menu li:hover>a#s20 {
    color: #fff;
    background: #5b549b;
  }
  .nav-menu li:hover>a#s30 {
    color: #fff;
    background: #529f97;
  }
  .nav-menu li:hover>a#s40 {
    color: #fff;
    background: #529f97;
  }
  .nav-menu li:hover>a#s50 {
    color: #fff;
    background: #e0bc5e;
  }
  
  .nav-menu a:hover span,
  .nav-menu .active span,
  .nav-menu .active:focus span,
  .nav-menu li:hover>a span {
    color: #fff;
  }
  
  .nav-menu a:hover,
  .nav-menu li:hover>a {
    width: 100%;
    color: #ffffff;
  }
  
  .nav-menu a:hover span,
  .nav-menu li:hover>a span {
    display: block;
  }

  .mobile-nav-toggle {
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 28px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 0;
    cursor: pointer;
    border-radius: 50px;
    padding: 5px;
  }
  
  .mobile-nav-toggle i {
    color: #45505b;
  }
  
  .mobile-nav-active {
    overflow: hidden;
  }
  
  .mobile-nav-active #header {
    left: 0;
  }
  
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    background-color: #8688ae;
  }

  /* Image expanding */

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-content {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

#img-viewer {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(59, 59, 59);
}

#img-viewer .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#img-viewer .close:hover {
  cursor: pointer;
  color: #6064f4;
  scale: 1.5;
}

@media only screen and (max-width: 700px) {
  .modal-content {
      width: 100%;
  }
}

.img-container {
  position: relative;
  width: 100%;
}

.img-container img{
  width: 200px;
}

.img-source {
  border: 5px solid #ccc;
  border-radius: 5px;
  width: 100%;
  cursor: pointer;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #f7f8f9;
    color: #45505b;
    font-size: 14px;
    text-align: center;
    padding: 30px 0;
  }
  
  #footer h3 {
    font-size: 25px;
    font-weight: 700;
    position: relative;
    font-family: "Poppins", sans-serif;
    padding: 0;
    margin: 0 0 15px 0;
  }
  
  #footer p {
    font-size: 15;
    font-style: italic;
    padding: 0;
    margin: 0 0 40px 0;
  }
  
  #footer .social-links {
    margin: 0 0 40px 0;
  }
  
  #footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #0563bb;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .social-links a:hover {
    background: #0678e3;
    color: #fff;
    text-decoration: none;
  }
  
  #footer .copyright {
    margin: 0 0 5px 0;
  }
  
  #footer .credits {
    font-size: 13px;
  }

  #footer a h2 {
    font-size: 17px;
    text-decoration: none;
  }
