/* Universal */

html {
    overflow-y: scroll;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background-color: black;
    font-family: Hiragino;
}

@font-face {
    font-family: 'HelveticaNeue';
    src: url(./fonts/HelveticaNeue.ttc);
}

@font-face {
    font-family: 'Hiragino';
    src: url(./fonts/ヒラギノ角ゴシックW7.ttc);
    font-weight: 700;
}

a {
    text-decoration: none;
}

header {
    position: fixed;
    height: 50px;
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: space-between;
}

header img {
    vertical-align: middle;
    height: 34px;
    margin: 8px 0;
}

header a {
    display: inline-block;
    position: relative;
    color: whitesmoke;
    margin: 0 10px;
    font-size: 20px;
}

header span:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 2px;
    right: 0;
    left: auto;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    background-color: whitesmoke;
}

header a:hover > span:after {
    width: 100%;
    left: 0;
}

#links {
    height: 50px;
    background-color: black;
    display: flex;
    justify-content: space-between;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#links .link {
    display: flex;
}

#links #personal, #links #procyonstudio {
    opacity: 0;
}

#links p {
    text-align: center;
    margin: 10px 15px;
    padding: 0;
    font-size: 15px;
}

#links .japanese {
    color: grey;
    font-size: 13px;
}

#links a {
    height: 100%;
    margin: 0 4px;
}

#links a:hover {
    opacity: .7;
}

#links object {
    height: 24px;
    margin: 13px 0;
    pointer-events: none;
}

#mobile-menu {
    right: 20px;
    top: 0px;
    width: 35px;
    height: 1px;
    margin: 14px 10px 0 25px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 9999;
}
  
.inner #mobile-menu {
    position: fixed;
}
  
#mobile-menu span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: whitesmoke;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
  
#mobile-menu span:nth-child(1) {
    top: 0px;
}
  
#mobile-menu span:nth-child(2), #mobile-menu span:nth-child(3){
    top: 8px;
}
  
#mobile-menu span:nth-child(4) {
    top: 16px;
}
  
#mobile-menu.start span:nth-child(1) {
    top: 15px;
    width: 0%;
    left: 50%;
    background: black;
}
  
#mobile-menu.start span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background: black;
}
  
#mobile-menu.start span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background: black;
}
  
#mobile-menu.start span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
    background: black;
}

/* Landing Page */

.landing {
    height: 850px;
    background: url(./img/bg.jpg);
    background-size: cover;
    
}

/* Journal */

.journal {
    padding: 50px 0 1px 0;
    background-color: #588BAE;
}

.entries {
    width: 98%;
    height: 75px;
    margin: 15px auto;
    color: whitesmoke;
    border-radius: 15px;
    box-shadow: 0 5px 15px #000000;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 100;
  }
  
.entries:before {
    border-radius: inherit;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -100;
    transition: opacity 0.5s;
}
  
.entries:hover:before {
    opacity: 1;
}
  
.entries .title {
    text-align: left;
    padding: 0 0 0 17px;
}
  
.entries .date {
    padding: 17px 0 0 17px;
    font-size: 10px;
}

/*  Journal Entry */

.entry {
    padding: 50px 0 0 0;
    height: 100vh;
    display: flex;
    background-color: #588BAE;
}

.entry .text {
    margin: 25px auto;
    width: 40%;
    background: rgba(255,255,255,.9);
}

.entry .text p {
    margin: 25px;
}

.picture {
    height: 95vh;
}

.picture img {
    display: block;
    height: 85vh;
    margin: 25px auto;
}

.picture p {
    text-align: center;
    color: whitesmoke;
}

/* Journal Images */

#j002 {
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 75%), url('./entries/img/j002.jpg');
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 75%), url('./entries/img/j002.jpg');
    background-size: cover;
    background-position: center bottom;
}

#j002:before {
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%), url('./entries/img/j002.jpg');
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%), url('./entries/img/j002.jpg');
    background-size: cover;
    background-position: center bottom;
}

#j001 {
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 75%), url('./entries/img/j001.jpg');
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 75%), url('./entries/img/j001.jpg');
    background-size: cover;
    background-position: center bottom;
}

#j001:before {
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%), url('./entries/img/j001.jpg');
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 35%), url('./entries/img/j001.jpg');
    background-size: cover;
    background-position: center bottom;
}
