/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section {
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  
}
/* other */
.info {
  margin: 20px 0;
  text-align: center;
}

p {
  color: #2e2e2efb;
  margin-bottom: 20px;
}
.beam {
    background: linear-gradient(to bottom right, #075ac0, #8fa1b8);
    border-radius: 10px;
}

/* block-$ */
.block-effect {
  font-size: calc(8px + 6vw);
}

.block-reveal {
  --t: calc(var(--td) + var(--d));

  color: transparent;
  padding: 4px;

  position: relative;
  overflow: hidden;

  animation: revealBlock 0s var(--t) forwards;
}

.block-reveal::after {
  content: '';

  width: 0%;
  height: 100%;
  padding-bottom: 4px;

  position: absolute;
  top: 0;
  left: 0;

  background: var(--bc);
  animation: revealingIn var(--td) var(--d) forwards, revealingOut var(--td) var(--t) forwards;
}


/* animations */
@keyframes revealBlock {
  100% {
    color: #ffffffca;
  }
}

@keyframes revealingIn {

  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes revealingOut {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }

}

.abs-site-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: hsla(0, 0%, 0%, .6);
  font-size: 16px;
}

section {
  flex-flow: flex;
  align-items: center;
}

.box_anim {
  background-color: #ffffff;
  border-radius: 2rem;
  width: 15rem;
  height: 10rem;
}
/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 10%;
  left: 5%;
  padding: 5%;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 10%;
  left: 5%;
  padding: 5%;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 10%;
  right: 5%;
  padding: 5%;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 10%;
  right: 5%;
  padding: 5%;
}

.img_anim_box {
  position: absolute;
  bottom: 10%;
  left:20%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding-left: 2%;
  padding-right: 2%;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  padding: 5%;
}
.centered-left {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  padding: 5%;
}
.centered-right {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(-50%, -50%);
  padding: 5%;
}
.box-shadow {
  border-radius: 4px 4px 4px 4px;
  box-shadow: #663a08 0px 1px 4px;
  border-color: white;
  background: #668bb8ab;
  border-style: solid;
  border-width: 5px;
  padding-top:5px;
  padding-bottom:20px;
}
.box-shadow-content {
  border-radius: 4px 4px 4px 4px;
  box-shadow: #663a08 0px 1px 4px;
  border-color: white;
  border-style: solid;
  border-width: 5px;
}
.ul_hony {
  width:70vmin;
  height:70vmin;
  position:relative;
}

.li_hony { 
  /*
    |a|d|a|
    -------  -           
    |/   \|  | 0.5h
    |\   /|  ^          
    ------- 
    |  w  |
  
    a = 0.5h/tan60 = 0.28867513459h
    d = 0.5h/sin60 = 0.57735026919h
    w = a + d + a  = 1.15470053838h
  
    [zoom out]
  
        |a|_d_|         _____    _
        /|     \       /     \   |
  ang=60_|      \__d__/       \  | h     
       \        /     \       /  |
        \_____|/|      \_____/  _|
              a     
       |--------|
           w
  */
  --h: calc(100% / 3);
  --w: calc(1.15470053838 * var(--h));
  --a: calc(0.28867513459 * var(--h));
  --d: calc(0.57735026919 * var(--h));
  height:var(--h);
  width:var(--w);
  position:absolute;
  list-style-type: none;
}

.img_hony {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  /* 
  
   [clip-path coordinates]
  
    --A-F--
   B|/   \|E    coord.
    |\   /|       A(a/w, 0)
    --C-D--       B(0, 50%)
                  C(a/w, 100%)
                  D(100% - a/w, 100%)
                  E(100%, 50%)
                  F(100% - a/w, 0)
                where a/w = 0.24999999999
  */
  --aw:24.99999999999%;
  clip-path:polygon(
    var(--aw) 0,
    0 50%,
    var(--aw) 100%,
    calc(100% - var(--aw)) 100%,
    100% 50%,
    calc(100% - var(--aw)) 0
  );
}

.li_hony:nth-of-type(1) {
  left:calc(50% - var(--a) - var(--d) * 0.5);
  top:0;
}
.li_hony:nth-of-type(2) {
  left:calc(50% - var(--a) * 2 - var(--d) * 1.5);
  top:calc(var(--h) * 0.5);
}
.li_hony:nth-of-type(3) {
  left:calc(50% - var(--a) * 2 - var(--d) * 1.5);
  top:calc(var(--h) * 1.5);
}
.li_hony:nth-of-type(4) {
  left:calc(50% - var(--a) - var(--d) * 0.5);
  top:calc(var(--h) * 2);
}
.li_hony:nth-of-type(5) {
  left:calc(50% + var(--d) * 0.5);
  top:calc(var(--h) * 0.5);
}
.li_hony:nth-of-type(6) {
  left:calc(50% + var(--d) * 0.5);
  top:calc(var(--h) * 1.5);
}
.div_hony {
  padding-top:30px;
  background:#668bb8;
}



/* 
style 
*/

.ul_hony {
  list-style-type: none;
  filter:drop-shadow(0 0 10px hsla(0,0%,0%,0.3));
}

.li_hony:hover {
  filter:drop-shadow(0 0 10px powderblue);
  z-index:10;
}

/*
anim
*/

.ul_hony {
  animation:r 4s forwards;
} @keyframes r {
  from {transform:rotate(180deg)}
  to {transform:rotate(0)}
}

.li_hony {
  animation:ir 4s forwards;
} @keyframes ir {
  from {transform:rotate(-360deg)}
  to {transform:rotate(0)}
}

.h1_shine {
  color: hsl(213, 94%, 19%);
  font-size: 64px;
  font-weight: bold;
  
  letter-spacing: 14px;
  cursor: pointer;
  text-transform: uppercase;

  padding-left: 64px;
  padding-right: 64px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: linear-gradient(to right, hsl(213, 60%, 27%) 0, hsl(0, 0%, 100%) 10%, hsl(213, 60%, 27%) 20%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 700px;
  }
  100% {
    background-position: 1400px;
  }
}

.h1_typewriter {
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-transform: uppercase;
  color: hsl(0, 0%, 68%);
  font-weight: bold;
  font-size: 72px;
  letter-spacing: 14px;
  overflow: hidden;
  border-right: 2px solid hsl(0, 0%, 80%);
  white-space: nowrap;
  animation: typewriter 4s steps(44) 1s 1 normal both,
    blinkTextCursor 500ms infinite;
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 2400px;
  }
}
@keyframes blinkTextCursor {
  from {
    border-right-color: hsl(0, 0%, 80%);
  }
  to {
    border-right-color: transparent;
  }
}
@media (max-width:768px) {
  .h1_shine {
    color: hsl(213, 94%, 19%);
    font-size: 16px;
    font-weight: bold;
    
    letter-spacing: 4px;
    cursor: pointer;
    text-transform: uppercase;
  
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom:10px;
    line-height: 1.0;
    background: linear-gradient(to right, hsl(213, 94%, 19%) 0, hsl(0, 0%, 100%) 10%, hsl(213, 94%, 19%) 20%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s infinite linear;
  }
  .box-shadow-content {
    border-radius: 2px 2px 2px 2px;
    border-width: 3px;
  }
}