@font-face {  /*imports Gilroy-ExtraBold font*/
    font-family: 'GilroyBold';
    src: url('Gilroy-ExtraBold.otf');
}

html{
    background-color: #122930;
    color-scheme: dark;
    font-family: "Lucida Console", "Courier New", monospace;
}

html, body {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    width: 100%;
    height: 100%; 
}

h1{
    text-align: center;
    color: #ffdab0;
    font-size: 50px;
    font-family: GilroyBold, Arial, sans-serif;
  }

h2{
    text-align: left;
    margin-left: 5%;
    color: #ffdab0;
    font-size: 30px;
    font-family: GilroyBold, Arial, sans-serif;
}

h3{
    text-align: left;
    margin-left: 2.5%;
    font-size: 25px;
}

#top-shadow {
    position: fixed;
    top: 0;
    left: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 9999; /* Makes sure it stays above all else */
    pointer-events: none;
}

/* Sidebar Wrapper */
#sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 0; /* Sidebar closed */
    height: 100%;
    background-color: #061c23; 
    overflow: hidden; 
    transition: width 0.5s ease-in-out; 
    z-index: 3;
}

#sidebar-wrapper.open {
    width: 250px;
}

header {
    position: relative; 
    background-color: #061c23;
    color: #ffdab0; 
    padding-top: 20px; 
    padding-bottom: 20px; 
    text-align: center; 
    font-family: 'GilroyBold', Arial, sans-serif; 
    z-index: 1; 
    width: 100vw;
    margin-top: 0;
    margin-left: 0;
    transition: margin-left 0.5s ease-in-out;
    background-image: url(titlewave.svg);
    aspect-ratio: 960/300;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 190px;
}

/* Sidebar Icon */
.container {
    cursor: pointer;
    width: 35px;
    height: 35px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 4; 
    transition: margin-left 0.5s ease-in-out;
}

#sidebarButton.open {
    margin-left: 160px;
}

/* Button Bars */
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #ffdab0; 
    margin: 6px 0;
    transition: 0.4s;
}

/* Icon Transformations */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}


/* Sidebar menu */
.sidebar {
    width: 100%; 
    height: 100%; 
    padding-top: 60px;
    font-family: Verdana, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #f1f1f1;
}

/* Push page content to right */
#main.open {
    margin-left: 250px; 
}

#main {
    transition: margin-left 0.5s ease-in-out;
    padding: 20px;
}

header.open {
    margin-left: 250px; 
}
  
  /* For small screens */
@media screen and (max-height: 450px) {
    .sidebar {padding-top: 15px;}
    .sidebar a {font-size: 18px;}
}

.accordion {
    background-color: transparent; 
    color: #818181; 
    border: none; 
    padding: 8px 32px; 
    text-align: left;
    width: 100%;
    font-size: 25px; 
    transition: color 0.3s, background-color 0.3s; 
    cursor: pointer;
}

.accordion:hover {
    color: #f1f1f1;
}
  
  .panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }

  .accordion {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background-color: transparent;
    color: #818181;
    border: none; 
    padding: 8px 32px; 
    text-align: left;
    width: 100%; 
    font-size: 25px; 
    transition: color 0.3s, background-color 0.3s;
    cursor: pointer;
}

.accordion:hover {
    color: #f1f1f1; 
}

.accordion-icon {
    font-size: 20px; 
    margin-left: 10px; 
    transition: transform 0.3s; 
}

.accordion.active .accordion-icon {
    transform: rotate(45deg); /* Rotate + to form an x or similar when expanded */
}

.accordion + .panel a {
    font-size: 15px; /* size of accordian children */
    color: #6b6b6b; 
    text-decoration: none;
    margin-left: 10px; 
}

.accordion + .panel a:hover {
    color: #929292; 
    text-decoration: underline; 
}