/*a container for the header that is fluid and adjusts to the screen size defined in viewport units*/
#header {
  width: 100vw;
  height: 120px;
  /*position: fixed;*/
  top: 0;
  left: 0;
  /*z-index: 1;*/
 /* background-color: black;*/
}


/*a container for the page body that is fluid and adjusts to the screen size defined in viewport units*/


body {
  overflow: hidden;
  width: 100vw;
  height: 80vh;
  background-color: rgb(30, 46, 30);
  background-image: url(img/scanlines.png);
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  font-weight: 150 ;
  letter-spacing: 2px;
  color: #acff00;
  text-shadow: 1px 1px 2px rgb(199, 235, 146) ;
  position: fixed;
  left: 0;
  z-index: 1;
  border: none;
}

body::selection {
  background-color: #acff00;
  color: #26311b;
}

#body_container {
  box-sizing: border-box; 
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: space-between;
  /*padding: 40px;*/
  background-color: gray; 
}

#body_container > div {
  box-sizing: border-box;
}

#left_content {
  width: calc(65% - 15px); /* Adjusting for half of the space between */
  padding-left:40px;
}

#right_content {
  width: calc(32% - 15px); /* Adjusting for half of the space between */
  margin-top: -15px;
  overflow-x: hidden;
  font-size: 10px;
  line-height: 15px;
  overflow:auto;
}

/*a container for the footer that is fluid and adjusts to the screen size defined in viewport units*/
#footer {
  width: 100vw;
  height: 10vh;
  background-color: #0a2adf;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
}


.terminal { 
    color: green;
    background-color: rgb(30, 46, 30);
    background-image: url(img/scanlines.png);
    }


input[type=text] {
    width:30%;
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;
    letter-spacing: 2px;
    border: 1px solid #acff00;
    color:  #acff00;
    border-left:none;
    border-right:none;
    border-top:none;
    background-color:transparent;
    padding:10px;
    outline: none;
}

input[type=text]::selection {
  background-color: #acff00;
  color: #26311b;
}

input[type=password] {
    width:100%;
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;
    letter-spacing: 2px;
    border: 1px solid #acff00;
    color:  #acff00;
    border-left:none;
    border-right:none;
    border-top:none;
    background-color:transparent;
    /*padding:10px;*/
    outline: none;
}  

input[type=password]::selection {
  background-color: #acff00;
  color: #26311b;
}

button {
    width:auto;
    margin:auto;
    float:right;
    display:block;
    cursor:pointer;
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;   
    color:  #4b4b4b;    
    background-color:transparent;
    padding-top: 30px;
    border: none;
}

button:hover {
  width:auto;
  margin:auto;
  float: right;
  display:block;
  cursor:pointer;
  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ;               
  padding-top: 30px;
  color:#acff00;
  background-color:transparent;
  border: none;
}


input[type=submit] {
    width:auto;
    margin:auto;
    float:right;
    display:block;
    cursor:pointer;
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;   
    color:  #4b4b4b;    
    background-color:transparent;
    padding: 10px;
    border: none;
   
}

input[type=button] {
  width:auto;
  margin:auto;
  float:right;
  display:block;
  cursor:pointer;
  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ;   
  color:  #4b4b4b;    
  background-color:transparent;
  padding: 10px;
  border: none;
 
}


#navlinks_next {

  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ; 
  color:  #4b4b4b; 
  text-decoration: none;

}

#navlinks_next:hover {

  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ; 
  color:#acff00;
  text-shadow: 0 0 10px #acff00, 0 0 20px #acff00, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00;
  text-decoration: none;
  animation: glowing 1.5s infinite alternate;

}

@keyframes glowing {
  0% { text-shadow: 0 0 5px #acff00, 0 0 10px #acff00, 0 0 15px #acff00, 0 0 20px #acff00, 0 0 25px #acff00, 0 0 30px #acff00, 0 0 35px #acff00; }
  50% { text-shadow: 0 0 10px #acff00, 0 0 20px #acff00, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00; }
  100% { text-shadow: 0 0 5px #acff00, 0 0 10px #acff00, 0 0 15px #acff00, 0 0 20px #acff00, 0 0 25px #acff00, 0 0 30px #acff00, 0 0 35px #acff00; }
}


#navlinks_previous {

  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ; 
  color:  #4b4b4b; 
  text-shadow: none;
  text-decoration: none;

}

#navlinks_previous:hover {

  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ; 
  color:#acff00;
  text-shadow: 0 0 10px #acff00, 0 0 20px #acff00, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00;
  text-decoration: none;
  animation: glowing 1.5s infinite alternate;
  

}



input[type=button]:hover {
  width:auto;
  margin:auto;
  float: right;
  display:block;
  cursor:pointer;
  font-family: 'VT323', monospace;
  font-size: 20px;
  font-weight: 550 ;               
  padding: 10px;
  color:#acff00;
  text-shadow: 0 0 10px #acff00, 0 0 20px #acff00/*, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00*/;
  text-decoration: none;
  animation: glowing 1.5s infinite alternate;
  background-color:transparent;
  border: none;
}


input[type=submit]:hover {
    width:auto;
    margin:auto;
    float: right;
    display:block;
    cursor:pointer;
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;               
    padding: 10px;
    color:#acff00;
    text-shadow: 0 0 10px #acff00, 0 0 20px #acff00/*, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00*/;
    text-decoration: none;
    animation: glowing 1.5s infinite alternate;
    background-color:transparent;
    border: none;
}


#navigation {
    
    float: right; 
    box-sizing: border-box; 
    margin-left: 30px;
    padding: 30px;
    font-size: 10px;
    line-height: 15px;
    color:#acff00;
    height:89%;
    width: 94%;
    overflow-x: hidden;
    background-color: rgb(30, 46, 30);
    background-image: url(img/scanlines.png);
    text-shadow: 1px 1px 2px rgb(199, 235, 146) ;
    border-radius: 10px;
    border: 2px solid #acff00; 
}


#navigation a:link {color: #acff00; text-decoration: none;}
#navigation a:visited {color: #acff00; text-decoration: none; text-shadow: 1px 1px 1px rgb(199, 235, 146) ;;}
#navigation a:hover {color: #acff00; text-decoration: underline;  text-shadow: 0 0 10px #acff00, 0 0 20px #acff00, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00;
  text-decoration: none;
  animation: glowing 1.5s infinite alternate;}


#navigation::selection {
    background-color: #acff00;
    color: #26311b;

  }

#navigation::-webkit-scrollbar {
    width: 1em;
    background-color: #acff00;
    border-radius: 20px;
    cursor: pointer;
}

#navigation::-webkit-scrollbar-track {
    background-color: #26311b;
    border-radius: 20px;
    cursor: pointer;
}

#navigation::-webkit-scrollbar-thumb {
    background-color: #acff00;
    color: #acff00;
    border-radius: 20px;
    cursor: pointer;
}

#yearNavigation {
  position: sticky;
  top: -30px;
  width: 100%;
  z-index: 10;
  background-color: rgb(30, 46, 30); /* Match the navigation background */
  background-image: url(img/scanlines.png);
  padding: 10px;
  text-shadow: 1px 1px 2px rgb(199, 235, 146);
  color: #acff00;
  margin-left:-30px;
  padding-top:30px;
  margin-top:-30px;
  padding-left:30px;
  font-size:20px;
  
}

#yearNavigation::selection {
  background-color: #acff00;
  color: #26311b;
}


#prevYear::selection {
  background-color: #acff00;
  color: #26311b;
}
#currentYear::selection {
  background-color: #acff00;
  color: #26311b;
}
#nextYear::selection {
  background-color: #acff00;
  color: #26311b;
}

#textarea-container {
  position: relative;
  float: left;
  width: 100%;
  min-width: 900px;


}

textarea {
    position: relative;
    width: 100%;
    margin: auto;
    float: left;
    display: inline-block;
    height: 85%;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #acff00;
    font-family: 'Press Start 2P', cursive;
    font-size: 11px;
    line-height: 20px;
    text-align: left;
    text-shadow: 1px 1px 4px rgb(199, 235, 146) ;
    color:  #acff00;
    background-color: rgb(30, 46, 30);
    background-image: url(img/scanlines.png);
    outline: none;
    caret-color:#acff00;
    resize:none;
}

textarea::selection {
    background-color: #acff00;
    color: #26311b;
  }

textarea::-webkit-scrollbar {
    width: 1em;
    background-color: #acff00;
    border-radius: 20px;
    cursor: pointer;
}

textarea::-webkit-scrollbar-track {
    background-color: #26311b;
    border-radius: 20px;
    cursor: pointer;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #acff00;
    color: #acff00;
    border-radius: 20px;
    cursor: pointer;
}

textarea::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-track:hover {
    cursor: pointer;
}

textarea::placeholder {
  /*color: rgb(30, 46, 30);*/
  color: #acff00;
  font-family: 'VT323', monospace;
  font-size: 24px;
  

}

label {
    font-family: 'VT323', monospace;
    font-size: 20px;
    font-weight: 550 ;
    letter-spacing: 2px;
    color:  #4b4b4b;    
}







/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange }
}


/* Entries navigation */
.month {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .day {
    font-size: 18px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
  }
  
  .day:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    /*border-left: 2px solid #00ff00;*/
    height: calc(100% - 20px);
  }
  
  .entry {
    font-size: 25px;
    margin-bottom: 5px;
    padding-left: 40px;
    position: relative;
  }
  
  .entry:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    /*border-left: 2px solid #00ff00;*/
    height: calc(100% - 10px);
  }
  
  .entry-title {
    color: #00ff00;
  }
  
  .entry-time {
    font-size: 14px;
    color: #999999;
    padding-left: 60px;
  }


  ul {
    list-style: none;
    padding-left: 20px;
  }
  li::before {
    padding-right: 10px;
    display: inline;
  }
  ul ul {
    padding-left: 40px;
  }

  .month-title {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top:20px;
    display: inline-block;
  }


  .day-title {
    font-size: 16px;
    margin-top:30px;
    margin-bottom: 10px;
    padding-top:20px;
    padding-bottom:5px;
    display: inline-block;

  }
  
  .day-title:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    /*border-left: 2px solid #acff00;*/
    height: calc(100%);
    display: inline-block;
  }

  .entry-title {
    
    color: #acff00;
  
    
  }

  .entry-title::before {
    content: "⚬";
    
    color: #acff00;
  }

  .active-entry {
    /*background-color: #acff00;*/
    font-weight: bold;
    color: #26311b!important;
    text-shadow: 0 0 10px #acff00, 0 0 20px #acff00, 0 0 30px #acff00, 0 0 40px #acff00, 0 0 50px #acff00, 0 0 60px #acff00, 0 0 70px #acff00;
    text-decoration: none;
    animation: glowing 1.5s infinite alternate;

}

/* Month underline */
hr.month {
  border-top: 2px solid #acff00;
}


.loading-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
 /* background-color: rgba(255, 255, 255, 0.8);*/
  background-color: rgb(30, 46, 30, 0.8);
  background-image: url(img/scanlines.png);
  background-blend-mode: multiply; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 12px ridge rgb(30, 46, 30, 0.5);
  border-top: 12px  rgb(172, 255, 0, 0.7);
  border-top-style: ridge;
  border-style: ridge;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

form {border: none;}

#clock {

   font-family: 'Press Start 2P', cursive;
   font-size: 65px;
   width: 355px;
   height: 200px;
   float:right;
   padding-top: 80px;

}

#clock::selection {
  background-color: #acff00;
  color: #26311b;
}

#body-container::selection {
  background-color: #acff00;
  color: #26311b;
}

#navigation::selection {
  background-color: #acff00;
  color: #26311b;
}

label::selection {
  background-color: #acff00;
  color: #26311b;
}

.day-title::selection {
  background-color: #acff00;
  color: #26311b;
}

.month-title::selection {
  background-color: #acff00;
  color: #26311b;
}

.entry_context ::selection {
  background-color: #acff00;
  color: #26311b;
}

p::selection {
  background-color: #acff00;
  color: #26311b;
}

li::selection {
  background-color: #acff00;
  color: #26311b;
}

#logo {
  float:right;
  margin-top:-32px;
  margin-right:110px;
  width: 681px;
  height: 100%;
}


#progress-container {
  position: absolute;
  bottom: 40;
  left: 0;
  width: 100%;
  height: 5px; /* or whatever height you prefer */
  z-index: 1;
}

#progress-bar {
  width: 0%; 
  height: 7px; 
  background-color: #acff00;
  z-index:10;
  position: relative;
}

.chrome #progress-bar {
  margin-top: -2px;
}

.firefox #progress-bar {
  margin-top: -6px;
}

@keyframes blink {
  0%   {opacity: 1;}
  50%  {opacity: 0;}
  100% {opacity: 1;}
}

.blinking {
  animation: blink 1s infinite;
}

/*Entry context menu*/
.context-menu {
  width: 25%;
  position: absolute;
  padding: 10px;
  border: 2px solid #acff00;
  background-color: rgb(30, 46, 30);
  background-image: url(img/scanlines.png);
  border-radius: 10px;
  box-shadow: 10px 10px 1px 0 rgba(0, 0, 0, 0.6);
  z-index: 1000;

}
.context-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.context-menu li {
  padding: 8px;
  cursor: pointer;
}

.context-menu li:hover {
  text-decoration: underline;

}
/*Entry context menu*/

/*Entry summary overlay*/

#summary-overlay {
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7); z-index: 9997;
}

#summary-content {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  border: 2px solid #acff00;
  background-color: rgb(30, 46, 30);
  background-image: url(img/scanlines.png);
  border-radius: 10px;
  box-shadow: 10px 10px 1px 0 rgba(0, 0, 0, 0.6);
  padding:20px;
  z-index: 9998;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  line-height: 20px;
  text-align: left;
  text-shadow: 1px 1px 4px rgb(199, 235, 146) ;

}

#summary-content::selection {
  background-color: #acff00;
  color: #26311b;
}

hr {
  border-style:solid;
  border-width:1px;
  border-color:#acff00;

}

/*Entry summary overlay*/


.input-container {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

.input-container label {
  margin-right: 10px; /* Adjust the right margin of the label as needed */
}

/* Style adjustments for the input field to match your label */
.input-container input[type=password] {
  font-size: 26px; /* Match the label's font size or adjust as needed */
  /* Other styles (padding, border, etc.) as needed to match the label */
}

#saveButton {
  display: none;
}