/* Demo by http://creative-punch.net */

/* @import "https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"; */


.circular-menu {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  /* position: relative; */
  position: fixed;
  right: 0;
  bottom: 15px;
  z-index: 9;
}
@media screen and (min-width: 769px) {
  .circular-menu {
    width: 150px;
    height: 150px;
  }
}

.circle {
  width: 80px;
  height: 80px;
  opacity: 0;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}
@media screen and (min-width: 769px) {
  .circle {
    width: 150px;
    height: 150px;
  }
}

.open.circle {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
}

.circle a {
  text-decoration: none;
  color: #fff;
  /* display: block; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  /* line-height: 40px; */
  border-radius: 50%;
  box-sizing: border-box;
  margin-left: -20px;
  margin-top: -20px;
  position: absolute;
  text-align: center;
  transform:scale(1);
}
@media screen and (min-width: 769px) {
  .circle a {
    height: 110px;
    width: 110px;
  }
}

.circle a.pos01 {
  background-color: #315990;
  left: 18%!important;
  top: -110%!important;
}
@media screen and (min-width: 769px) {
  .circle a.pos01 {
    left: 18%!important;
    top: -85%!important;
  }
}

.circle a.pos02 {
  background-color: #c492ca;
  left: -90%!important;
  top: -70%!important;
}
@media screen and (min-width: 769px) {
  .circle a.pos02 {
    left: -60%!important;
    top: -55%!important;
  }
}

.circle a.pos03 {
  background-color: #83a4d1;
  left: -130%!important;
  top: 40%!important;
}
@media screen and (min-width: 769px) {
  .circle a.pos03 {
    left: -85%!important;
    top: 25%!important;
  }
}


.circle a:hover {
  transform:scale(1.2);
}

.circle a p {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0;
}
@media screen and (min-width: 769px) {
  .circle a p {
    font-size: 14px;
    line-height: 1.4;
  }
}

.menu-button {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 70px);
  text-decoration: none;
  text-align: center;
  color: #444;
  border-radius: 50%;
  display: block;
  height: 80px;
  width: 80px;
  line-height: 80px;
  padding: 10px;
  background-color: #aaaaaa;
  /* border: 2px solid #c48eb0; */
  /* 2021/06/17 */
  display: flex!important;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(4px 4px 7px rgba(0,0,0,0.2));
}
@media screen and (min-width: 769px) {
  .menu-button {
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    height: 130px;
    width: 130px;
    line-height: 130px;
  }
}
@media all and (-ms-high-contrast: none){
  .menu-button {
    /* background: none; */
    background-image: url(../img/common/ie_btn.png);
    box-shadow: 4px 4px 7px rgba(0,0,0,0.2);
  }
  .menu-button:hover {
    background-image: none;
  }
}
/* howto */
.howto-button {
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 70px);
  text-decoration: none;
  text-align: center;
  color: #444;
  border-radius: 50%;
  display: block;
  height: 80px;
  width: 80px;
  line-height: 80px;
  padding: 10px;
  background-color: #c38eb0;
  /* 2021/06/17 */
  display: flex!important;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(4px 4px 7px rgba(0,0,0,0.2));
}
@media screen and (min-width: 769px) {
  .howto-button {
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    height: 130px;
    width: 130px;
    line-height: 130px;
  }
}
.howto-button p {
  color: #fff;
  font-size: 12px;
}
@media screen and (min-width: 769px) {
  .howto-button p {
    font-size: 14px;
  }
}
.howto-button:hover {
  color: #fff;
}

/* 2021/06/17 */
.menu-button::before {
  position: relative;
  padding-left: 3px;
}

.menu-button p {
  z-index: 99;
  color: #fff;
  pointer-events: none;
  line-height: 1.2;
}
@media screen and (min-width: 769px) {
  .menu-button p {
    line-height: 1.8;
  }
}

.menu-button:hover p {
  color: #000;
  pointer-events: none;
}

.menu-button span {
  color: #fff;
  position: absolute;
  transform: scale(1);
  transition: 0.5s;
  background: linear-gradient(90deg,transparent 0%, #c492ca 0%, #c492ca 50px,#5b79a3 50px,#5b79a3 100%, transparent 100%);
  border-radius: 50%;
  display: block;
  height: 80px;
  width: 80px;
  line-height: 80px;
  padding: 10px;
}
@media screen and (min-width: 769px) {
  .menu-button span {
    background: linear-gradient(90deg,transparent 0%, #c492ca 0%, #c492ca 75px,#5b79a3 75px,#5b79a3 100%, transparent 100%);
    height: 130px;
    width: 130px;
    line-height: 130px;
  }
}
@media all and (-ms-high-contrast: none){
  .menu-button span {
    background-image: none;
  }
}

.menu-button span:hover {
  transform: scale(0);
  transition: 0.5s;
}

/* Author stuff */
h1.author {
  text-align:center;
  color: white;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 300;
}

h1.author a {
  color: #348;
  text-decoration:none;
}

h1.author a:hover {
  color: #ddd;
}