@font-face {
  font-family: "CrimsonPro-ExtraLight";
  src: url("../assets/fonts/CrimsonPro-ExtraLight.woff2") format("woff2"), url("../assets/fonts/CrimsonPro-ExtraLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CrimsonPro-Light";
  src: url("../assets/fonts/CrimsonPro-Light.woff2") format("woff2"), url("../assets/fonts/CrimsonPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    font-size: 1em;
    font-family: "CrimsonPro-Light";
    /* font-family: Arial, Helvetica, sans-serif; */
    color: rgb(48, 48, 48);
    text-indent: 0;
    line-height: 1.2;
  
  }
  
  html,
  body {
    overscroll-behavior-x: none;
    scroll-behavior: smooth; 
  }
  
  body {
    margin: 8px;
    background-color: white;
    text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  }

  /* header */
header {
    top: 0;
    left: 0;
    padding: 1.5em;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
  } 
  
   .contact,
  .about { 
    /* text-indent: 0.3rem; */
    width: 50%;
  }
  .about{
    text-indent: 0.1rem;

  }

  
  /* footer */
  footer {
    position: fixed;
    left:0;
    width: 100%;
    padding: 1.5em;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.9178824972) 28%, rgba(255, 255, 255, 0) 100%);
  }
  
    #selectyear {
      display: none;
      border-radius: 0;
      border-style: none;
      background-color: field;
  
    }
 .projectFilter{
  position: fixed;
  width: 100%;
  bottom: 2em;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
 }

 .filterName{
  width:16.1%;
  /* color: black; */
  font-size: 0.7em;
  
 }

 .filterName:hover{
  color: violet;
  font-style: italic;
  cursor: pointer;
 }

 .projectbox .box {
  display: none;
}

.projectbox .box.show {
  display: block;
}

.underCon{
  position: relative;
  top: 0;
  left: 5vw;
  font-size: 4em;
  display: none;
}
  /* 自适应 */
/* 最小 */
@media only screen and (max-width: 600px) {

  /* #i a,
  #i .box {
    width: 100%;
    min-height: auto !important;
  }


  .projectFilter{
    flex-direction: column;
    font-size: 1.5em;
    bottom: 1em;
  }
  .filterName{
    margin-top: 0.5vh;
    width: auto;
  } */
   body{
    overflow: hidden;
   }
   .projectFilter{
    display: none;
   }
  .introduction{
    display: none;
  }
main{
  display: none;
}
  .underCon{
    display: block;
  }
  
}

@media only screen and (min-width: 600px) {

  #i a,
  #i .box {
    width: 50%;
    min-height: 110px;
    height: auto;
  }

}

@media only screen and (min-width: 700px) {

  #i a,
  #i .box {
    width: 33.3%;
    min-height: 100px;
    height: auto;
    object-fit: contain;

  }

}

@media only screen and (min-width: 900px) {

  #i a,
  #i .box {
    width: 25%;
  }

}


@media only screen and (min-width: 1400px) {

  #i a,
  #i .box {
    width: 16.6%;
    height: 200px;
  }
}

/* box details */
@media only screen and (max-width: 768px) {
  #i .box h1 {
    width: 69%;
  }
}

@media only screen and (max-width: 2000px) {
  #i .box p:first-of-type{
    font-size: 0.8em;
    width: 86%;
    height:auto;
  }
}

/* imagedetails */

@media only screen and (max-width: 1030px) {
  #photohide{
    display: none !important;
  }
}

#mobilephoto{
  display: none;
}
@media only screen and (max-width: 1030px) {
  #selectyear, #mobilephoto{
    display: block !important;
  }
}