/* Your existing styles */
@font-face {
    font-family: 'manoleteregular';
    src: url('font/manolete/manolete-webfont.woff2') format('woff2'),
         url('font/manolete/manolete-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'depixelbreit';
    src: url('font/depixel/depixelbreit-webfont.woff2') format('woff2'),
         url('font/depixel/breit-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'depixelbold';
    src: url('font/depixel/depixelhalbfett-webfont.woff2') format('woff2'),
         url('font/depixel/depixelhalbfett-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'depixelklein';
    src: url('font/depixel/depixelklein-webfont.woff2') format('woff2'),
         url('font/depixel/depixelklein-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'perfect_dos_vga_437_winRg';
    src: url('font/vga/perfect_dos_vga_437_win-webfont.woff2') format('woff2'),
         url('font/vga/perfect_dos_vga_437_win-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}






body {
  margin: 0;
  padding: 0;
  background-color: black;
  background-repeat: repeat-y;
  line-height: 133%;
  font-size: 0.98em;
  }
  
  
a:visited, a:hover, a:active {
  text-decoration: none;
  color: #00ff22;
  text-align: right;
}

a:link {
  text-decoration: none;
  color: #00ff22;
  text-align: right;
}

a:visited {
  color: #00ff22;
  text-align: right;
}

  p {
  line-height: 1.2em; 
 font-family: 'perfect_dos_vga_437_winRg', Georgia, serif;
}

 p2 {
   line-height: 1.2em;
    font-family: 'perfect_dos_vga_437_winRg', Georgia, serif;
    font-size: 20px;
    color: #00ff22;
 }
 
 p3 {
    line-height: 1.2em; 
 font-family: 'perfect_dos_vga_437_winRg', Georgia, serif;
 font-size: 25px;

}

h2 {
    color: white;
    font-family: 'manoleteregular', Arial, sans-serif; 
    font-weight:normal;
    font-size: 110px;
    font-style: oblique;
    text-shadow: 4px 4px 5px #5CB8E4;
    margin-top: -1;
    margin-bottom: -3;
    
  }
  
  h3 {
    color: white;
    font-family: 'manoleteregular', Arial, sans-serif; 
    font-size: 50px;
    font-style: oblique;
    text-shadow: 4px 4px 5px #5CB8E4;
     margin-top: -1;
     margin-bottom: -1;
     
    
  } 
  
  h4 {
    color: white;
    font-family: 'manoleteregular', Arial, sans-serif; 
    font-size: 50px;
    font-style: oblique;
    margin-top: -1;
    margin-bottom: -1;
  }

h5 {
  color: white;
    font-family: 'manoleteregular', Arial, sans-serif; 
    font-size: 20px;
  }
  
blockquote {
  border-left: #4d4385 3px solid;
  background: #d8d4ec;
  padding: 0.1px 0.75rem;
  margin: 0 1.5rem;
  }

hr {
  width: 75%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  }
  
  
  ul {
  list-style-image: url('/images/boxes2/bullet.gif');
}
  
/*Sticky navigation links at the top of the page.*/
.quick-nav {
  position:fixed;
  z-index: 999;
  width: 100%;
  background: #0a000a;
  background: rgba(10,0,10,1);
  text-align: right;
  color: #fff;  
  font-size: 0.875em;
  }
  
.navbar {
  padding: 1px 25px;
  }
  
.navbar a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 5px 4px;
  margin: 0 2px;
  }
  
.navbar a:hover, .footer a:hover, .navbar a:focus, .footer a:focus {
  color: #edeef3;
  transition: ease-in 0.1s, ease-out 0.1s;
  }
  
  
/*Header image.*/
.header {
  height: 350px;
  background: linear-gradient(rgba(10,0,10,0.5), rgba(10,0,10,0.4)), url(/img/pexels-4254548-crop2.jpg);
  }

/*Title bar with icon and title/tagline.*/
.title {
  min-height: 60px;
  text-align: center;
  margin-bottom: -25px;
  }
  
.title-text, .title-pic {
  padding:0;
  margin: 0;
  display: flex;
   text-align: center;
  vertical-align: top;
  }
  
/*Contains the text tagline.*/
.title-text {
  padding-right: 1em;
  width: calc(85vw - 110px);
  line-height: 167%;
  margin-top: 50px;
   text-align: center;
  padding-bottom: 15px;
  }
  
.title-text h2 {
  padding:0;
  font-size: 32px;
   text-align: center;
  }
  
/*Contains the profile pic. This can be left out and should still look okay.*/
.title-pic {
  height: 100px;
  margin-right: 100px;
  margin-top: -25px;
  border: 5px solid #52587c;
  border-radius: 10px;
  }
  
.title-pic img {
  height: 100%;
  overflow: hidden;
  }
  
/*Contains the main content and sidebar.*/
.page-wrapper {
  padding: 0 100px;
  margin: 0 auto;
  }

/*Contains the sidebar boxes.*/
.sidebar {
  position: absolute;
  padding: 30px;
  }
  
  .sidebarbox {
  margin-bottom: 15px;

  }
 
.sidebar a {
  display: block;
  padding: 5px;
  }

  
.sidebar, .main {
  display: inline-block;
  }

/*Contains main content boxes.*/
.main {
  margin: 50px 100px 50px 250px;
  width: auto;
  width: calc(100vw - 550px);
  }
  
  
/*Basic container type for subsections of main and sidebar divs*/
.box {
  margin-bottom: 15px;
  border: 1px solid black;
  background: white;
  padding: 5px 25px 15px 5px;
  }
  
/*Inner content div for boxes. Padding goes here so sidebar headers etc can keep their no-margin look.*/
.inner {
  padding: 10px 25px;
  }

.inner img {
  max-width: 100%; /*Prevent image overflow.*/
  height: auto;
  border-radius: 5px; /*Give images in content rounded corners.*/
  }
  
.box, .title-pic img {
  border-radius: 5px;
  overflow: hidden; /*Force inner divs to conform to rounded corners.*/
  }
  
  
/*Footer section.*/
.footer {
  background: #050005;
  color: #fff;
  padding: 5px 20px;
  font-size: 0.75em;
  padding-bottom: 10px;
  }
  
.footer a {
  color: #fff;
  }

/*Individual column of the footer. You can have 3 of these at the current given width.*/
.footer-column {
  width: 25%;
  margin: 5px 10px;
  display: inline-block;
  vertical-align: top;
  }


/*Adapt to narrower screens.*/
@media(max-width: 900px) {
  .page-wrapper {
    padding: 0 50px;
    }
  
  .sidebar {
    width: 25vw;
    }
    
  .main {
    margin: 50px 0 50px calc(25vw + 30px);
    width: calc(75vw - 150px);
    }
    
  .title-pic {
    margin-right: 7vw;
    }
    
  .title-text {
    padding-left: 1vw;
    padding-right: 2vw;
    }
  
  }
  
/*Mobile layout.*/
@media(orientation: portrait) {  
  .page-wrapper {
    padding-top: 0.1px;
    padding-bottom: 0.1px;
    }
  
  .sidebar, .main {
    display: block;
    margin: 0 auto;
    position: static;
    width: 100%;    
    }
    
  .sidebar {
    margin-top: 50px;
    }
    
  .main {
    margin-top: 30px;
    margin-bottom: 30px;
    }
    
    
  }
  
/***
For really narrow screens which cause the title text to wrap. 
You may need to adjust the width at which this kicks in to fit 
your own title.
***/
@media(max-width: 500px) {
  .header {
    height: 60vw;
    }
  
  .title {
    padding-right: 0;
    }
  
  .title-text {
    margin-top: -5px;
    }
    
  .title-text h2 {
    font-size: 12vw;
    line-height: 100%;
    }
    
  .title {
    height: calc(auto - 15px);
    }
    
  .page-wrapper {
    padding: 0.1px 7vw;
    }
    
  /*For extra narrow screens where the columns would get too skinny.*/
  .footer-column {
    display: block;
    width: 100%;
    margin: 0 auto;
    }
  }


/* ========================================== */
/* DREAM JOURNAL SPECIFIC STYLES - Added below */
/* ========================================== */

/* Filter section for tags */
.filter-section {
  background: #edeef3;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.filter-section h2 {
  margin-bottom: 15px;
  color: #4d4385;
  font-size: 1.2rem;
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-filter {
  padding: 8px 16px;
  background: #bcb9d6;
  border: 2px solid #52587c;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9em;
  font-family: "Open Sans", "Droid Sans", "Calibri", sans-serif;
}

.tag-filter:hover {
  background: #99a1c7;
}

.tag-filter.active {
  background: #4d4385;
  color: white;
  border-color: #4d4385;
}

.clear-filters {
  padding: 8px 20px;
  background: #52587c;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9em;
  margin-left: 10px;
  font-family: "Open Sans", "Droid Sans", "Calibri", sans-serif;
}

.clear-filters:hover {
  background: #696f92;
}

/* Container for dream cards */
.dreams-container {
  display: grid;
  gap: 20px;
}

/* Individual dream card */
.dream-card {
  background: #edeef3;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dream-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.dream-card.hidden {
  display: none;
}

.dream-title {
  color: #4d4385;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.dream-date {
  color: #888;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.dream-content {
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

/* Tags on dream cards */
.dream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  background: #4d4385;
  color: white;
  border-radius: 15px;
  font-size: 0.85em;
}

/* No results message */
.no-results {
  text-align: center;
  color: #edeef3;
  font-size: 1.2em;
  padding: 40px;
  display: none;
}

.no-results.show {
  display: block;
}