html,body{
  /* height: 100vh; */
  margin: 0;
  padding:0;
  overflow: hidden;
}

*{
  box-sizing: border-box;
  font-family: sans-serif;
}


.top-container{
  background-image: url(https://prismdesignconsulting.com/image/top-bg.jpg);
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.link-wrapper{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.one-link{
  opacity: 0;
  width: 250px;
  height: 250px;
  margin-top: calc((90vh - 250px) / 2);
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  position: relative;
}


@media(min-width: 550px){
  #pdc-link > .one-link{
    margin-right: 5vw;
  }
  #baton-link > .one-link{
    margin-left: 5vw;
  }
}


.one-link:before {
  content: '';
  z-index: 10;
  width: 250px;
  height: 250px;
  position: absolute;
  top: 3px;
  left: 3px;
  background-color: rgba(0,0,0,0.3);
  box-shadow: 1px 1px 4px 2px rgba(0,0,0,0.3);
  box-sizing: border-box;
}

.one-link > a {
  display: block;
  width: 250px;
  height: 250px;
  position: relative;
  z-index: 100;
  overflow: hidden;
}

.one-link > a > img {
  width: 100%;
  height: 100%;
  transition-duration: 0.5s;
}

.one-link > a:hover > img{
  transform: scale(1.05);
  transition-duration: 0.5s;
}

@keyframes moveToRight{
  0%{right: -15vw;}
  100%{right: 0vw;}
}
@keyframes moveToLeft{
  0%{left: -15vw;}
  100%{left: 0vw;}
}


@media (min-width: 550px){
.top-border{
  opacity: 0;
  position: relative;
  color: #fff;
  width: 120px;
  height: 90vh;
}
.top-border > hr{
  box-sizing: border-box;
  border-left: solid 2px #fff;
  width: 2px;
  height: 40vh;
  margin: 0 auto;
}
.top-border > hr:last-child{
  margin-top: 10vh;
}

.top-enter{
  position: absolute;
  text-align: center;
  left:0;
  right:0;
  height: 30px;
  line-height: 30px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}
.top-enter-before,.top-enter-after{
  position: absolute;
  top: 5px;
  display: inline-block;
  box-sizing: border-box;
  width: 0;
  height: 0;
}
.top-enter-before{
  left: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 17.32px solid #333;
}
.top-enter-after{
  right: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17.32px solid #fff;
}
}




@media (max-width: 1000px){

  .one-link{
    width: 25vw;
    height: 25vw;
    margin-top: calc((90vh - 25vw) / 2);
  }

  .one-link:before {
    width: 25vw;
    height: 25vw;
  }

  .one-link > a {
    width: 25vw;
    height: 25vw;
  }
}





@media (max-width: 550px){


  .top-link {
    width: 100%;
  }
  .one-link {
    width: 25vh;
    height: 25vh;
    margin: 20px auto;
    text-align: center;
  }
  #pdc-link > .one-link {
    margin-bottom: 40px;
  }
  #baton-link > .one-link {
    margin-top: 40px;
  }
  .one-link > a {
    width: 25vh;
    height: 25vh;
  }

  .one-link:before {
    width: 25vh;
    height: 25vh;
    box-sizing: border-box;
  }

  @keyframes moveToLeft{
    0%{top: -15vw;}
    100%{top: 0vw;}
  }
  @keyframes moveToRight{
    0%{bottom: -15vw;}
    100%{bottom: 0vw;}
  }

  .top-border{
    opacity: 0;
    position: relative;
    color: #fff;
    width: 90vw;
    height: 50px;
  }
  .top-border > hr{
    position: absolute;
    top: 24.5px;
    display: inline-block;
    box-sizing: border-box;
    border-top: solid 1px #fff;
    width: 35%;
    height: 1px;
    vertical-align: middle;
    margin:0;
    padding:0;
  }

  .top-border > hr:first-child{
    left: 0;
  }
  .top-border > hr:last-child{
    right: 0;
  }

  .top-enter{
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    display: inline-block;
    width: 25%;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
  }
  .top-enter-before,.top-enter-after{
    position: absolute;
    left:0;
    right:0;
    margin: 0 auto;
    box-sizing: border-box;
    width: 0;
    height: 0;
    transform: rotate(90deg);
  }
  .top-enter-before{
    top: -20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 17.32px solid #333;
  }
  .top-enter-after{
    bottom: -20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 17.32px solid #fff;
  }
}
