/* common */
header {
  position: relative;
  padding: 6vh;
}

header>.center {
  position: relative;
  width: 95%;
  margin: 0 auto;
  color: #fff
}

header .video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 10px solid var(--sub-light-color);
  border-radius: 50px 0 50px 0;
  overflow: hidden;
}

header .video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.5);

}

header .center .photo {
  border: 10px solid var(--mid-color);
}

header .center .title h1 {
  font-size: min(7vw, 40px);
  font-weight: 700;
}

header .center .title p {
  font-weight: 600;
}

header .center .contact li {
  text-align: center;
}

header .center .contact li > i {
  font-size: 30px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border: 2px solid #fff;
  transition: all .3s;
}

header .center .contact li:hover > i{
  border: 2px solid var(--main-color);
  background: rgba(0,0,0,.2);
}


header .center .contact li p {
  margin: 10px 0;
}


header .center .contact li p a {
  display: inline-block;
  white-space: nowrap;
  width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 500;
  border-radius: 50px;
  transition: all .3s;
}

header .center .contact li p a:hover{
  background: var(--main-color);
}

header .center .slogun{
  font-size: min(5vw, 16px);
  font-style: italic;
  font-weight: 500;
  opacity: .8;
}

/* desktop */
@media screen and (min-width:1000px) {
  header .center .photo {
    width: 25%;
    margin-bottom: -90px;
  }

  header .center .title {
    margin-bottom: 30px;
    padding-left: 10px;
    border-left: 1px solid #fff;
  }

  header .center .title i {
    position: absolute;
    left: 0px;
    top: -5px;
  }

  header .center .contact {
    display: flex;
    position: absolute;
    right: 5%;
    bottom: 20%;
    width: 65%;
    padding-top: 30px;
    border-top: 1px dotted rgba(255, 255, 255, 0.3);
  }

  header .center .contact li {
    width: 33.33%;
  }
}

  header .center .slogun{
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    margin-top: 20px;
    }



/* destop end */



/* mobile */
@media screen and (max-width:1000px) {
  header .center .title {
    text-align: center;
  }

  header .center .photo {
    width: min(70%, 200px);
    margin: 30px auto;
  }

  header .center .contact {
    border-radius: 0 30px 0px 30px;
    border: 1px dotted rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
  }

  header .center .contact li {
    margin: 20px 0;
  }
}

header .center .slogun{
  margin-top: 20px;
  text-align: center;
}
