/* Color Scheme from https://designshack.net/articles/trends/best-website-color-schemes/ */
:root {
    --blue: #11ABC1;
    --snow: #ECEFF1;
    --red: #DF3062;
    --yellow: #F5B935;
    --green: #4BAC3F;
   }
   

body {
    background: white;
    width: 100vw;
    margin: 0px;
    overflow : auto;
}

p {
    font-size: 3vmax;
    margin: 0px 0px 2vmax 0px;  
}

textarea {
    border: none;
    overflow: auto;
    outline: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    resize: none;
    width: 80%;
    vertical-align: top;
    font-size: 2.5vmax;
}

p[id="showHistoryText"] {
   visibility: visible;
   display: block;
   width: 100%;
   font-family: 'Courier New', Courier, monospace;
   font-size: 2.5vmax;
}

#cat {
  display: inline-block;
  vertical-align: 100%;
}

#context {
  display: inline-block;
}

#ShowEmotion {
  visibility: visible;
  display: block;
  margin: 3%;
}

#ShowHistory {
  visibility: hidden;
  display: none;
  overflow: auto;
  margin: 3%;
}
  
#ShowAbout {
 visibility: hidden;
 display: none;
 overflow : auto;
 margin: 0px 3% 0px 3%;
}

.newEmotion {
    border: none;
    /* color: white; */
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin: 0px 0.2vmax 0px 0.2vmax;
    cursor: pointer;
    vertical-align: super;
}

h1 {
    font-size: 3vmax;
}

/* Popup Menu css */
   nav {
     height: 60px;
     background: var(--blue);
   }
   
   #menu-ctn {
     position: relative;
     top: 10px;
     margin: 0 16px;
     height: 40px;
     background: var(--red);
     width: 44px;
     display: inline-block;
   }
   
   a { cursor: pointer; }
   
   #menu-cnt {
     opacity: 0;
     transform: translate(16px, -10px) scale(0.7);
     background: #FFF;
     padding: 20px;
     box-shadow: 1px 2px 1px var(--blue);
     visibility: none;
     /* display: inline-block; */
     float: left;
     position: absolute;
     z-index: +1;
   }
   
   .menu-bars {
     height: 4px;
     width: 30px;
     list-style: none;
     background: var(--snow);
     margin: 0 7px;
     position: relative;
     top: 18px;
     transition: 0.4s all ease-in;
   }
   
   .menu-item, a.item-link {
     list-style: none;
     text-decoration: none;
     z-index: 1;
     background: transparent;
     width: 87%;
     display: inline-block;
   }
   
   a.sub-link {
     padding: 5px 20px;
     display: inline-block;
     width: 100%;
     text-decoration: none;
   }
   
   a.sub-link:nth-of-type(1) { margin-top: 12px; }
   
   hr { border: 1px solid var(--blue); }
   
   .crossed { background: var(--red); }
   
   .dropped {
     opacity: 1 !important;
     transform: translate(16px, -10px) !important;
     visibility: visible !important;
   }
   
   .menu-bars::before, .menu-bars::after {
     content: '';
     position: absolute;
     height: 4px;
     width: 30px;
     list-style: none;
     background: var(--snow);
   }
   
   .menu-bars::before { transform: translateY(-10px); }
   
   .menu-bars::after { transform: translateY(10px); }
   
   .crossed::before { animation: rotate-top-bar 0.4s forwards; }
   
   .crossed::after { animation: rotate-bottom-bar 0.4s forwards; }
   
   .hamburger::before { animation: rotate-top-bar-2 0.4s reverse; }
   
   .hamburger::after { animation: rotate-bottom-bar-2 0.4s reverse; }
   
   /* EVENT HANDLERS */
   
   .menu-item:hover, a.item-link:hover { color: var(--coal); }
   
   a.sub-link:hover {
     background: var(--snow);
     box-shadow: -4px 0 0 var(--red);
   }


/* The CSS keyframes for the hamburger animation. */
@keyframes 
rotate-top-bar {  40% {
 transform: translateY(0);
}
 100% {
 transform: translateY(0) rotate(45deg);
}
}

@keyframes 
rotate-bottom-bar {  40% {
 transform: translateY(0);
}
 100% {
 transform: translateY(0) rotate(-45deg);
}
}

@keyframes 
rotate-top-bar-2 {  40% {
 transform: translateY(0);
}
 100% {
 transform: translateY(0) rotate(45deg);
}
}

@keyframes 
rotate-bottom-bar-2 {  40% {
 transform: translateY(0);
}
 100% {
 transform: translateY(0) rotate(-45deg);
}
}

.about-p {
    font-size: 3vmax;
    margin: 3vmax 0px 2vmax 0px;
    overflow: hidden;
}

.about-title {
    text-align: center;
    font-size: 20pt;
    font-weight: bold;
}

.about-centered {
    text-align: center;
    font-size: 16pt;
}

.about-together {
    margin-bottom: 2px; /* between paragraphs */
    margin-top: 2px; /* between paragraphs */
}

.center-image {
    text-align: center;
    overflow-x: auto;
}

a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}

a:hover {
  background-color: #ddd;
  color: black;
}

.previousButton {
  background-color: #f1f1f1;
  color: black;
  border-radius: 50%;
  position:fixed;
  bottom:4px;
  left:4px;
  font-size: 20pt;
}

.nextButton {
  background-color: #f1f1f1;
  color: black;
  border-radius: 50%;
  position:fixed;
  bottom:4px;
  right:4px;
  font-size: 20pt;
}

.centerDate {
  text-align:center;
}

.encloseDate {
  position:fixed;
  bottom: 2vmax;
  /* width:100%; */
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: -1;
  font-size: 2vmax;
}
