/*------------- font -------------*/
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Zhi+Mang+Xing&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Forum&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Zhi+Mang+Xing&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
h3 {
    font-family: "Forum", cursive; 
}

p {
    font-family: "Forum", cursive; 
}
/*------------- header -------------*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #242424;
    color: #fff;
    padding: 20px 40px; 
    height: 80px; 
}
@media (max-width: 600px) {
  .header {
    display: block;
}
.logo {
  margin-bottom: 4%;
}
a.nav-link {
  font-size: 12px;
}
}
/*------------- global  -------------*/
.center {
  text-align: center;
}
ul.content-list {
  columns: 3;
}
.content-list li {
  padding: 10px;
  margin-bottom: 10px;
  list-style: none;
  background: #242424;
  color: #fff;
  text-align: center;
  font-family: "Lobster Two", sans-serif;
}
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }
/*------------- logo -------------*/
.logo {
    position: relative; 
}

.logo-text {
    font-size: 48px;
    transition: opacity 0.5s ease-in-out;
}
.normal-logo {
    font-family: "Lobster Two", sans-serif;
}

.hover-logo {
    position: absolute; 
    top: 0;
    left: 0;
    opacity: 0; 
    font-family: "Zhi Mang Xing", cursive;
}
@media (max-width: 700px) {
  .logo-text{
font-size:32px;
}.hover-logo{
padding-top: 5%;}}

.logo:hover .normal-logo {
    opacity: 0; 
}

.logo:hover .hover-logo {
    opacity: 1; 
}


/*------------- navigation -------------*/

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-left: 30px; 
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px; 
}

.nav-link:hover {
    text-decoration: underline;
}


/*------------- introduction section  -------------*/
.content-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 70rem;
    margin: 40px auto; 
    padding:0;
}

.text-content {
    flex: 1;
    padding-right: 20px; 
    margin: 10px;
}

.image-content {
    flex: 1;
    max-width: 500px;
    margin: 10px;
}

.content-image {
    max-width: 100%; 
    height: auto; 
}
h3.intro_text {
    font-size: 48px;
}
@media (max-width: 1024px) {
h3.intro_text{
  font-size: 32px;
}}
@media (max-width: 600px) {
  h3.intro_text{
    font-size: 24px;
  }}
.intro_title{
    color:#107AB0;
}

/*------------- card section  -------------*/
.card-container {
  padding: 50px;
  background: url(http://yueqing-wang94.com/images/pexels-padrinan-19670.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}

.card-feature{
  display: flex;
  justify-content: space-evenly;
}
.article-card {
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 300ms;
  margin: 10px;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  padding: 30px 20px 20px 20px;
  height: auto;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.article-card .date,
.article-card .title {
  margin: 0;
}

.article-card .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.article-card .title {
  font-size: 17px;
  color: #fff;
}

@media (max-width: 1200px) {
  .article-card {
    width: 250px;
    height: 150px;
  }
}
@media (max-width: 900px) {
  .card-feature{
    display: block;
  }
  .article-card {
    width: 100%;
    height: 300px;
  }
  }
/*------------- button  -------------*/
.button_1 {
    background-color: #107AB0;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.5rem;
    padding: .5rem .2rem;
    position: relative;
    text-align: center;
    text-decoration: none #242424 solid;
    width: 100%;
    max-width: 300px;
    position: relative;
    cursor: pointer;
    transform: rotate(-2deg);
  }
  
  .button_1:focus {
    outline: 0;
  }
  
  .button_1:after {
    content: '';
    position: absolute;
    border: 1px solid #000000;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
  }
  
  .button_1:hover:after {
    bottom: 2px;
    left: 2px;
  }
  
  @media (min-width: 768px) {
    .button_1 {
      padding: .75rem 1rem;
      font-size: 1.25rem;
    }
  }


/*------------- MONH Page -------------*/
.image-banner {
  position: relative; 
  width: 100%; 
  overflow: hidden; 
}

.title-img {
  width: 100%; 
  height: auto; 
  max-height: 500px;
}

.image-banner-caption {
  position: absolute; 
  bottom: 20px; 
  left: 20px; 
  color: white; 
  background-color: rgba(0, 0, 0, 0.7); 
  padding: 10px; 
  border-radius: 5px; 
}

.image-banner-caption h2 {
  margin: 0; 
}

.image-banner-caption p {
  margin-top: 5px; 
}

section.section_bkg1 {
  background: #d3d3d3;
}
section.section_bkg2 {
  background: #506680;
}
section.section_bkg3 {
  background: #1E1E1E;
}
.font-white *{
  color: #fff;
}

h2.project_h2 {
  text-align: center !important;
}
img.DP_img {

  max-width: 700px;
  width: 100%;

}
img.DP_img2 {

  max-width: 500px;
  width: 100%;}

/*------------- project image section -------------*/
.project-image-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 70rem;
  margin: 40px auto; 
  padding: 0 1%;
}

.project-image {
  flex: 1 0 48%; 
  margin: 1%; 
  text-align: center; 
}

.large-img {
  width: 100%; 
  height: auto; 
  border-radius: 10px; 
}

@media (max-width: 600px) {
  .project-image {
      flex: 1 0 100%; 
      margin: 10px 0; 
  }
}

.project-image h3 {
    margin-bottom: 10px;
    font-size: 36px;
    padding: 0 0px 12px 0px;
    font-weight:700; 
}

/*------------- principles section -------------*/
.principles-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; 
  gap: 20px; 
  max-width: 900px;
  margin: 0 auto; 
}

.principle {
  flex: 1 1 calc(30% - 20px); 
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.principle:hover {
  transform: scale(1.05);
}

/*------------- Online Book reading App page -------------*/
body#page_obra {
  background: #EEEDE7 !important;
}
/*------------- footer -------------*/
.footer {
    text-align: center;
    padding: 20px 0 ;
    background-color: #242424;
    color: #fff;
    position: relative;  
    width: 100%;
}

.copyright {
    margin: 0;
}

/*------------- hr style -------------*/
.fade {
  height: 1px;
  color: #107AB0;
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba( 0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%);
}
hr {
  border: 0;
  margin: 1.35em auto;
  max-width: 100%;
  background-position: 50%;
  box-sizing: border-box;
}

