@font-face {
    font-family: "LexendDeca-Regular";
src: url(../fonts/LexendDeca-Regular.woff) format("woff");
}

html {
    overflow-x: hidden;
    font-family: "LexendDeca-Regular";
    font-weight: 100px;
    color: white;
    width: 100%;
    height: 100%;
    z-index: 0;
}

a,
a:visited {
    text-decoration: none !important;
    color: white;
}

p{
font-weight: bold;
}

small {
    padding: 1%;
}

header {
    text-align: center;
    padding: 10px;
}

#line {
    border-bottom: dotted 2px whitesmoke;
}

#img {
    padding: 5%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-weight: 100px;
}

#profile {
    display: grid;
    width: 100%;
    height: 100%;
    background: url(img/butayaro.png) no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#profile p {
    padding: 1.25%;
}

#profile img {
    text-decoration: none;
    transition: all .5s;
    border-radius: 80px;
    width: 160px;
    border: solid whitesmoke;
}

#profile img:hover {
    text-decoration: none;
    transform: scale(1.2);
}

#profile #body {
padding-top: 5%;
}

#profiletext {
    width: 100vx;
    height: 100%;
    animation-duration: 0.875s;
    animation-name: profileanime;
    background-color: rgba(0,0,0,0.75);
    position: relative;
}

#profilecontents {
    border-bottom: dotted 2px whitesmoke;
    padding: 1.25%;
}



#who {
    background: #03A9F4;
}

#contact {
    background: #673AB7;
}

#skill {
    background: #3F51B5;
}

#link {
    height: 100%;
    font-size: 16px;
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: white;
    border: solid 0.5px white;
    border-radius: 5px;
    transition: all .5s;
}

#link:hover {
    color: black;
    background-color: white;
}

#notlink {
    height: 25px;
    font-size: 16px;
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    color: rgb(169, 169, 169);
    border: solid 0.5px rgba(169, 169, 169, 0.5);
    border-radius: 5px;
}



#body {
    padding: 1%;
    position: relative;
    text-align: center;
    animation-duration: 5s;
    animation-name: textanime;
}

#body h1 {
    font-size: 60px;
}

#unselected{
color: gray;}

@keyframes profileanime {
    0% {
      transform:translateX(100%);
    }
    100% {
      transform:translateX(0%);
    }
}


@keyframes textanime {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
}

@media screen and (max-width: 550px) {
    html {
        background: url(background.jpg) no-repeat;
        background-attachment: fixed;
        background-size: 375%;
    }

  #profile {
      grid-template-rows: 25% 1fr;
  }

    /* 表示領域が320px以下の場合に適用するスタイル */
    header {
        font-weight: 125px;
        font-size: 50px;
        height: 100%;
        padding: auto auto;
    }
}

@media screen and (min-width: 551px) {
    html {
        background: url(background.jpg) no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

    /* 表示領域が800px以上の場合に適用するスタイル */
    header {
        font-weight: 125px;
        font-size: 60px;
        height: 100%;
        padding: auto auto;
    }

  #profile {
      grid-template-columns: 50% 1fr;
  }

    #intro {
        display: grid;
        grid-template-columns: 50% 1fr;
    }

    #skilltile {
      display: grid;
      grid-template-columns: 25% 50% 1fr;
    }

}