html {
    height: 100%;
    background-color: blanchedalmond;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



span{
    font-size: 1.5rem;
}


.yuhi {
    animation:2s linear infinite rotationZ;
}

.profile {
    position: absolute;
    height: 90%;
    width: 100%;
    top: 50px;
}

.contents {
    position: absolute;
    width: 95%;
    height: 95%;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background: rgb(255,255,255,0.5);
    overflow: scroll;
}
.contents .text{
    position: absolute;
    max-width: 75%;
    top:10%;
    left:50%;
    transform: translate(-50%,-0%);
    color: #333333;
}

.menu {
    position: absolute;
    top: 0px;
}

.menu > ul {
    list-style: none;
    padding: 0;
    font-size: large;
}

.menu > ul > li {
    display: inline-block;
}

.menu > ul > li:hover {
    animation: colorHover .2s ease-out forwards;
}

li + li {
    margin-left: 8px;
}

li > a {
    color: black;
    text-decoration: none;
}

@keyframes rotationY {
    0%{ transform:rotateY(0); }
    100%{ transform:rotateY(360deg); }
}

@keyframes rotationX {
    0%{ transform:rotateX(0); }
    100%{ transform:rotateX(360deg); }
}

@keyframes rotationZ {
    0%{ transform:rotateZ(0); }
    100%{ transform:rotateZ(360deg); }
}

@keyframes colorHover {
    0%{ transform: translateY(0px); }
    100%{ transform: translateY(-5px); }
}

/* リンクカードここから */
.link-card {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    padding: 1.5em 1.5em 1.5em 2em;/* リンクカード内周りの余白調整 */
    border: 1px solid silver;
    box-shadow: 3px 3px 5px 0px rgb(170, 170, 170);
    transition:.2s;
    border-radius: 5px;
  }
  .link-card a:hover {
    text-decoration: none;
  }
  .link-card:hover {
    box-shadow: 3px 3px 5px 2px rgb(170, 170, 170);
  }
  .link-card a {
    color: black !important;
  }
  /* アイキャッチ画像右寄せ表示 */
  .link-card-image {
    display: inline-block;
    float: right;
    width: 160px;
    height: 90px;
    margin: 4px 5px 10px 10px;
  }
  .link-card-image img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    object-position: center center;
    box-shadow: 4px 4px 4px 0px rgb(133,133,133);
  }
  /* 記事タイトル表示 */
  .link-card-title {
    margin: 0 !important;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.4;
  }
  /* 記事要約文表示 */
  .link-card-description {
    margin: 1em 0 !important;
    font-size: 13px;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  /* フッタードメイン表示 */
  .link-card-footer {
    font-size: 12px;
  }
  /* 引用符マークや背景色やbox-shadow等デザインの非表示化 */
  .link-card blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
  }
  .link-card blockquote::before,
  .link-card blockquote::after {
    content: none;
  }
  /* スマホ表示変態 右寄せバージョン */
  @media ( max-width : 480px ) {
  .link-card-image {
    display: block;
    float: none;
    margin: 0.6em auto;
  }
  .link-card-title {
    text-align: center;
  }	
  }
  /* リンクカードより上下の余白 必要な場合にクラス名 yohaku 追記して利用する */
  .yohaku {
      margin-top: 50px;
      margin-bottom: 50px;
  }