
#nav{
  position: fixed;
  width: 100%;
  z-index: 2;
  display: block;
  top: 0;
  font-style: italic;
  padding: 10px;
  font-size: 1.5rem;
  background-color: var(--bg);
  color: var(--nd);
  border-bottom: 1px solid black;
}

#keyAct{
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
  font-size: 1rem;
  margin-left: 30px;
  cursor: pointer;
}

#keyAct:hover{
  text-decoration: 1px solid black underline;
}

.artList{
  margin-left: 14%;
  width: calc(100% - 5vw);
  margin-top: 80px;
  position: relative;
  display: block;

}

#keywords{
  background-color: var(--bg);
  display: block;
  position: fixed;
  height: 100vh;
  text-align: center;
  z-index: 3;
  color: var(--nd);
  transition: .3s;
  top: 0;
  margin: 0 5px;
  width: 35vw;
  border-left: 1px solid black;
  overflow: scroll;
  right: -3vw;
  padding-right: 3vw;
  transform: translate(80% ,0%);
}

#titleKey{
  padding: 10px;
  font-size: 1.5rem;
  font-style: italic;
  display: block;
  border-bottom: 1px solid black;
  background-color: var(--bg);
  color: var(--nd);
  position: sticky;
  left: 0;
  top: 0;
}

#keywords:hover{
  transform: translate(0, 0) !important;
}

.mk{
  cursor: pointer;
  display: inline-block;
  padding: 5px 10px;
border-radius: 100px;
  border: 1px solid var(--nd);
  margin: 5px 10px;
}

.mk:first-of-type{
  margin-top: 1rem;
}

.mk:last-of-type{
  margin-bottom: 1rem;
}

.mk:hover{
  background-color: var(--rd);
    text-decoration: 1px solid black underline;
}

.letter{
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 5px;
  text-align: center;
}



.article{
 cursor: pointer;
  margin: 5px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  text-align: left;
  width: 45%;
  vertical-align: top;
}

.ta:hover{
  text-decoration: 1px underline solid black;
}

h1{
  display: block;
  font-size: 1.5rem;
  position: sticky;
  top: 60px;
  height: 0;
  overflow: visible;
  left: 0;
  margin: 0px 5px 10px -14%;
}

.ta{
  display: inline-block;
  vertical-align: top;
  width: 70%;
}

.date{
  display: inline-block;
  vertical-align: top;
  width: 15%;
  font-size: .7rem;
}

.artKey{
  font-size: .7rem;
  max-height: 0;
  overflow: hidden;
  margin: 5px 0;
  transition: .3s;
}

.ta:hover .artKey{
  max-height: 30px;
}


.k::after{
  content: " • ";
}

.k:last-of-type::after{
  content: "";
  display: none;
}


input{
  display: block;
  position: absolute;
  right: 5.5vw;
  top: 12px;
  background-color: var(--bg);
  border: 1px solid var(--nd);
  padding: 2px 5px;
  font-size: 1rem;
}

input:focus{
  outline: none;
}

@media (orientation:portrait){
  .article{
    cursor: pointer;
     margin: 5px;
     display:block;
     margin-bottom: 10px;
     font-size: 1.5rem;
     text-align: left;
     width: 90%;
     vertical-align: top;
   }

   input{
    display: inline-block;
    position: relative;
    vertical-align: center;
    top: unset;
    right: unset;
  }

  .artList{
    margin-left: 0;
    width: calc(100% - 5vw);
    margin-top: 60px;
    position: relative;
    display: block;
  
  }

  #keywords{
    margin: 0 5px;
    width: 90vw;
    overflow-y: hidden;
    position: fixed;
    overflow-x: hidden;
    right: -5vw;
    font-size: .7rem;
    padding-right: 3vw;
    padding-bottom: 0;
  }

  #listKey{
    display: block;
    margin-left: 7vw;
    position: absolute;
    top: 0;
    left: 0;
    height: 100dvh;
    overflow-y: scroll;
    width: calc(100% - 10vw);
  }


  .date{
    margin-right: 3%;
  }

  h1{
    display: block;
    font-size: 1.5rem;
    position: relative;
    top: 0;
    left: 0;
    margin: 5px;
    margin-bottom: 20px;
  }
  
  .ta{

    width:80%;
  }
  
  #titleKey{
    padding: 1vw;
    position: fixed;
    transform-origin: left;
    font-size: 5vw;
    width: 110vh;
    transform:rotate(-90deg) translate(0, 50%) ;
    left: 0;
    top: 100vh;

  }

}