@font-face {
    font-family:mainfont;
    src: url(./fonts/NotoSansMono-Light.ttf);
}

@font-face {
    font-family: 'corp';
    src: url('fonts/Corporate-Logo-Rounded-Bold-ver3.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: auto;
    background-color: #141311;
    font-family: "mainfont";
    font-size:15px;
    color: #e5e2dc;
}

p {text-indent: 1cm}
A:link{ color:#00ff00; text-decoration:none; }
A:hover{ color:#00ff00; text-decoration:underline; }
A:active{ color:#00ff00; text-decoration:none; }
A:active:hover{ color:#00ff00; text-decoration:underline; }
A:visited{ color:#00ff00; text-decoration:none; }
A:visited:hover{ color:#00ff00; text-decoration:underline; }
A img {border: 0;}

a.inline-link:link {color:#00ff00; text-decoration:none;}
a.inline-link:visited {color:#00ff00; text-decoration:none }
a.inline-link:hover {color:#00ff00; text-decoration:underline;}
a.inline-link:active {color:#00ff00; text-decoration: none;}

.image-container {
    text-align: center;
  }

.image-container-titled {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.image-wrapper {
    text-align: center;
    margin: 5px;
    box-sizing: border-box;
}

.keyboards-container {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
}

.keyboard-box {
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

#horizon {
    position: absolute;
    width: 100%;
    text-align: center;
}

#wrap {
    background-color: #020202;
    max-width: 75%; /*981, 85%, 795*/
    min-height: 700px;
    margin-left: auto;
    margin-right: auto;
}
  
@keyframes jiggle {
    0%, 100% { transform: skewX(15deg) translateX(0); }
    10%, 90% { transform: skewX(15deg) translateX(-10px); }
    30%, 70% { transform: skewX(15deg) translateX(10px); }
    50% { transform: skewX(15deg) translateX(-10px); }
  }

  @keyframes bounce {
    0%, 100% { transform: skewX(15deg) scale(1); }
    20% { transform: skewX(15deg) scale(1.2); }
    40% { transform: skewX(15deg) scale(1); }
    55% { transform: skewX(15deg) scale(1.1); }
    70% { transform: skewX(15deg) scale(1); }
    80% { transform: skewX(15deg) scale(1.05); }
    90% { transform: skewX(15deg) scale(1); }
  }
  
  #logo {
      text-align: center;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      font-size: 75px;
      margin-bottom: 15px;
      margin-top: 5px;
      font-weight: bold;
      font-family: 'corp', sans-serif;
      background-image: linear-gradient(to top, #B8C4FF, #C3F5D0, #E0D4FA);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      filter: drop-shadow(-5px 2px 0px #0000B8);
      transform: skewX(15deg);
      letter-spacing: 10px;
      transition: transform .8s ease; /* Smooth transition for transform properties */
      cursor: pointer;
  }
  
  .jiggle-effect {
    animation: jiggle .8s ease;
    animation-fill-mode: forwards; /* Keeps the element in the final state of the animation */
  }

  .bounce-effect {
    animation: bounce 2s ease; /* Adjusted to 2s for smoother transition */
    animation-fill-mode: forwards; /* Keeps the element in the final state of the animation */
  }

#clock, #date {
    color: #00ff00;
}

.container {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 auto;
}
  
.left-box,
.right-box {
    flex: 1;
}

.navigation {
    width: 65%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin-bottom: 5px;
}

#postnav {
    background-color: #020202;
    max-width: 75%;
    margin-left :auto;
    margin-right: auto;
    margin-bottom:30px;
}

#footer {
    text-align: center;
    max-width: 75%;
	margin-top:6px;
    margin-left :auto;
    margin-right: auto;
}

.post {
    text-align: left;
    margin-left: 25px;
    margin-right: 20px;
    width: auto;
    height: auto;
}

.post-text {
    text-align: left;
    margin-left: 50px;
    margin-right: 40px;
    margin-top:20px;
    margin-bottom:20px;
}

.links-container {
    display: flex;
    justify-content: space-between; /* Adjust alignment as needed */
}

.links-column {
    text-align: left;
    margin-left: 25px;
    margin-right: 20px;
    width: auto;
    height: auto;
    column-count: 1; /* Each column has its own count */
}

table {
	border-spacing: 0px;
	padding: 0px;
}

.title-formatting {
    padding-top: 1px; /* Adjust the margin-top value as needed */
    display: block; /* Ensures the element is displayed as a block element */
}

.post-divider {
    display: block; /* This makes it center like the <center> tag does */
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    height: 1px;
    width: 90%;
  }

.button {
    display: inline-block;
    margin: 1px;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 22px;
    background: linear-gradient(to bottom, #8470FF, #add8e6);
    color: white;
    font-weight: bold;
    font-style: italic;
    height: 29px;
    border: 3px outset #8470FF;
    padding: 0px 10px; /* Adjust padding to manage button size */
  }
  
.button:hover {
    color: white;
    border: 3px inset #8470FF; /* Match the border color on hover */
    text-decoration: none; /* Remove the underline on hover */
}

#gallery {
  max-width: 1200px;
  margin: 0 auto;
}

#gallery img {
  max-height: 100px;
  max-width: 100px;
  margin: 5px;
}

h3 span { font-size:15px; }
h3 {margin:0px}

@media (max-width: 1000px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .left-box,
    .right-box {

    margin-bottom: 5px;
}

    #clock, #date {
        display: inline-block; /* Ensure time and date are on the same line */
        margin-bottom: 5px;
    }
}