#bird {
      cursor: pointer;
      transition: transform 0.1s;
  }
  #loading-bar {
  width: 0%;
  height: 5px !important; 
  background-color: #008080; 
  transition: width 2s linear;
  }
  #bird:hover {
      transform: scale(1.1);
  }
  
  #bird:active {
      transform: scale(0.9);
  }

:root {
    --header-image: url('../img/banner.png');
    --body-bg-image: url('../img/purplesky.gif');

    /* colors */
    --content: #43256E;
}
@font-face {
      font-family: 'Mix';
      src: url('../fonts/Mix.woff2') format('woff2');
    }
@font-face {
      font-family: 'Gohu';
      src: url('../fonts/Gohu.woff2') format('woff2');
}
@font-face {
      font-family: 'Simple';
      src: url('../fonts/Simple.woff2') format('woff2');
}

body {
    font-family: 'Gohu', sans-serif;
    margin: 0;
    background-color: #08031A;
    background-size: 65px;
    color: #fceaff;
    background-image: var(--body-bg-image);
}

* {
    box-sizing: border-box;
}

#container {
    max-width: 900px;
    margin: 0 auto;
    /* this centers the entire page */
}

/* the area below is for all links
EXCEPT for the navigation */
#container a {
    color: #ED64F5;
    font-weight: bold;
}

#header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #5e4e8c;
    background-position: -20px -100px;
    background-size: 110%;
    height: 150px;
    background-image: var(--header-image);
}


#ImageContainer img {
    display: flex;
    justify-content: center;
    margin: 20px;
    width: 85%;
}

#logo {
    font-family: 'Mix', sans-serif;
    font-size: 2.5em;
    color: #e686de;
    text-align: center;
}

/* navigation section!! */
#navbar {
    height: 40px;
    background-color: #13092D;
    font-family: 'Simple';
    /* navbar color */
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

/* navigation links*/
#navbar li a {
    color: #ED64F5;
    /* navbar text color */
    font-weight: 800;
    text-decoration: none;
    /* this removes the underline */
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

#flex {
    display: flex;
}

aside {
    background-color: #241445;
    width: 200px;
    padding: 20px;
    font-size: smaller;
    /* this makes the sidebar text slightly smaller */
}

main {
    background-color: #43256E;
    flex: 1;
    padding: 20px;
    order: 2;
}


*/ #leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #13092D;
    /* background color for footer */
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
    /* this centers the footer text */
}

h1,
h2,
h3 {
    color: #ED64F5;
}

h3 {
    font-family: 'Mix';
}

h1 {
    font-size: 25px;
    margin-top: 0px;
    font-family: 'Mix';
}

strong {
    /* this styles bold text */
    color: #ED64F5;
}

.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

/* CSS for extras */

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}


.testresults-container {
    padding: 20px;
    color: white;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.results-table th,
.results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.results-table a {
    color: #ff69b4;
    text-decoration: none;
}

.results-table a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 835px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    #header {
        height: 0;
        overflow: hidden;
    }
    
    #navbar {
        height: auto;
        min-height: 40px;
        padding: 1px;
    }

    #navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px;
        padding: 1px;
    }

    #navbar li {
        flex: 0 1 auto;
        padding: 1px;
        min-width: 90px;
    }

    #navbar a {
        display: block;
        padding: 8px 5px;
        font-size: 14px;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    #navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0px;
    }

    #navbar li {
        flex: 0 1 auto;
        min-width: 120px;
    }

    #navbar a {
        padding: 8px 5px;
        font-size: 16px;
    }
}

.blacklines {
    position: relative;
    transition: all 0.15s;
}
.blacklines:active {
    transform: translateY(2px);
    background-color: #1f1f1f;
}

.blacklines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.06) 3px,
        rgba(255, 255, 255, 0.06) 6px
    );
    pointer-events: none;
    transition: background-position 0.1s linear;
}

.blacklines:hover::after {
    animation: scanlines 0.15s linear infinite;
}

.blacklines:hover {
    transform: translateY(1px);
}

.accessibility-toggle {
    font-family: 'Mix', serif;
    padding: 10px 16px;
    background-color: #181a1b;
    color: #765878;
    border: 2px solid #814d85;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    text-align: center;
}

.accessibility-toggle:hover {
    background-color: #7a4a7d;
    color: white;
    transform: translateY(1px);
}

.accessibility-toggle:active {
    transform: translateY(2px);
    background-color: #1f1f1f;
}

.accessibility-toggle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.06) 3px,
        rgba(255, 255, 255, 0.06) 6px
    );
    pointer-events: none;
    transition: background-position 0.1s linear;
}

.accessibility-toggle:hover::after {
    animation: scanlines 0.15s linear infinite;
}

@keyframes scanlines {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 0 4px;
    }
}

/* Utility classes for common inline styles */
.main-purple-bg {
    background: #39205d;
}

.bordered-box {
    padding: 20px;
    border: 2px solid #814d85;
    margin: 20px 0;
}

.dark-input-bg {
    background: #2a1744;
    padding: 15px;
    margin: 15px 0;
}

.error-box {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.error-text {
    color: #ff6b6b;
}

.link-light {
    color: #d7c2cb;
}

.guestbook-entry {
    margin-bottom: 5px;
    margin-top: 5px;
    word-break: break-word;
    padding: 15px;
    border: 1px solid #594380;
    background: #2d1849;
}

.entry-name, .entry-ssn {
    font-weight: bold;
    color: #a088c4;
}

.entry-message {
    margin: 10px 0;
    color: #d4c6e9;
}

.entry-date {
    font-size: 0.8em;
    color: #7659a3;
    text-align: right;
}

.visit-count {
    text-align: center;
    color: #d4c6e9;
}

.delete-button {
    background: #d32f2f;
}

.section-border {
    border: 1px solid #814d85;
}


input[type="text"],
input[type="email"],
textarea {
    font-family: 'Mix', serif;
    padding: 8px;
    border: 1px solid #814d85;
    border-radius: 0;
    width: 100%;
    font-size: 16px;
    background-color: #181a1b;
    color: white;
}

/* Add placeholder styles */
input::placeholder,
textarea::placeholder {
    color: #7b7b7b;
    opacity: 1;
}

textarea {
    resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #7a4a7d;
}