@font-face {
  font-family: "Abel";
  src: url("/assets/font/ablpr.otf") format("truetype");
}

body {
  margin: 0;
  font-size: 20px;
  font-family: 'Abel', sans-serif;
  cursor: move;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

@media (pointer: coarse) {
  body:not(#projectBody) {
    user-select: none;
    -webkit-user-select: none;
  }
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

#myContent {
  position: relative;
  z-index: 1;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 600px;
}

a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: 0.4s ease;
}

div#myLinks {
  float: left;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

div#myLinks a {
  display: inline-block;
  vertical-align: middle;
}

div#myLinks a:hover {
  color: white;
  padding: 20px;
  background-color: rgba(76, 0, 103, 0.8);
}

#mySocial {
  float: left;
  padding-top: 10px;
}

#mySocial a:hover IMG {
  width: 23px !important;
  height: 23px !important;
}

h1 {
  font-size: 60px;
}

#myTitle {
  display: inline-block;
  cursor: crosshair;
}

#myTitle2 {
  font-size: 14px;
  float: right;
  color: white;
  background-color: black;
  white-space: nowrap;
  width: 160px;
  height: 1.5em;
  line-height: 1.5em;
  overflow: overlay;
  text-align: center;
}

.myChar {
  display: inline;
  float: left;
}

#myContent .imageBox {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  box-shadow: 4px 4px 8px gray;
  margin-bottom: 20px;
}



/*************************************************************************/
body#projectBody {
  background: -webkit-linear-gradient(bottom, #ECE8F4, #faf9fc, #FFF) fixed;
  color: black;
}


#projectBody::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: #000;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 9999;
}

#projectBody.page-in::before {
  opacity: 0;
}

#projectBody a {
  padding: 0 2px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  transition: 0.4s ease;
}

#projectBody a:hover {
  color: white;
  background-color: black;
}

#homeLink {
  float: right;
  font-weight: bold;
  font-size: 30px;
}

#homeLinkTop {
  float: left;
  padding: 20px !important;
}

#homeLinkTop IMG {
  width: 23px;
  height: auto;
  transition: transform .5s ease-in-out;
}

#homeLinkTop:hover {
  background-color: transparent !important;
}

#homeLinkTop IMG:hover {
  transform: rotate(180deg);
}

.videoYoutube {
    position: relative;
    padding-bottom: 56%; /* 16:9 >> 56.25 */
    padding-top: 25px;
    height: 0;
    border-radius: 3px;

}
.videoYoutube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    box-shadow: 4px 4px 8px gray;
}

.videoVimeo {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 3px;

}
.videoVimeo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    box-shadow: 5px 5px 20px grey;
}