@font-face {
    font-family: PixelOperator;
    src: url('https://casper-valentine.neocities.org/Assets/PixelOperator.ttf');
}

@font-face {
    font-family: PixelOperator;
    src: url('https://casper-valentine.neocities.org/Assets/PixelOperator-Bold.ttf');
    font-weight: bold;
}

body {
  color: #fcf7ed;
  background-image: url('https://casper-valentine.neocities.org/Assets/recipesBackground.png');
  background-size: 898px;
  background-color: #ea1e27;
  font-family: 'PixelOperator', sans-serif;
  font-size: 18px;
  }
  
a {
  color: inherit;
  font-weight: bold;
  }
  
hr {
  border-color: #ea1e27;
  margin: 1.75rem 1.5rem;
  }
  
blockquote {
  border-left: 2px solid;
  margin: 0.1rem 0.5rem;
  padding: 1px 1rem;
  }

/* Main container; all content goes in here. */  
.wrapper {
  margin: 2rem 10rem;
  }

/* Top section with page title, optional description.*/
.header {
  padding: 1.5rem 0.25rem 2.25rem 0.25rem;
  text-align: center;
  }
  
.header h1 {
  margin: 0.15em 0;
  font-weight: bold;
  }
  
.header p {
  font-size: 0.95em;
  }
  
/* The navbar of tabs. The illusion of a tab connecting into the main box is created by
 * giving the nav tab links an extra thick bottom border that covers the top border of
 * the main content box, and making the "current" tab's bottom border the same color
 * as the inside of the box. 
 * Some padding trickery is needed to maintain this illusion without weird janky corner
 * bits being visible, so if you change the border thickness, BE AWARE you may need to
 * fiddle with this to make everything look nice again. 
 */
.navigation {
  margin-bottom: -2px; /* cover the top border of the main box */
  margin-left: 1rem; /* so the leftmost tab, if selected, doesn't create a weird border gap at the side. */
  }
  
.navigation a {
  color: #edf2ed;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05rem; /* our padding trick makes buttons weirdly tall, so this helps fix it */
  }
  
.nav-button {
  background: #180b08;
  padding: 0.35em 1.5em 0em 1.5em;
  border-radius: 15px 3px 0 0;
  display: inline-block;
  text-align: center;
  border-bottom: 4px solid #180b08;
  }
  
/* For the link to the page you're currently on. */
.navigation .intro {
  background: #fff134;
  color: #180b08;
  border: 3px solid #180b08;
  border-bottom: 4px solid #fff134;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 3px 3px; /* round bottom corners to minimize visibly janky edges */
  text-decoration: underline;
  }

  .navigation .mine {
  background: #1ecaff;
  color: #180b08;
  border: 3px solid #180b08;
  border-bottom: 4px solid #1ecaff;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 3px 3px; /* round bottom corners to minimize visibly janky edges */
  text-decoration: underline;
  }

  .navigation .others {
  background: #fa5091;
  color: #180b08;
  border: 3px solid #180b08;
  border-bottom: 4px solid #fa5091;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 3px 3px; /* round bottom corners to minimize visibly janky edges */
  text-decoration: underline;
  }

  .navigation .notes {
  background: #84db3c;
  color: #180b08;
  border: 3px solid #180b08;
  border-bottom: 4px solid #84db3c;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 3px 3px; /* round bottom corners to minimize visibly janky edges */
  text-decoration: underline;
  }

  .navigation .fun {
  background: #180b08;
  color: #180b08;
  border: 3px solid #180b08;
  border-bottom: 4px solid #180b08;
  margin-bottom: -2px; /* fiddly trickery to make the 'tab connecting to main' illusion work. */
  padding-top: 6px;
  padding-bottom: 2px;
  border-radius: 15px 3px 3px 3px; /* round bottom corners to minimize visibly janky edges */
  text-decoration: underline;
  }
  

/* The main content of the page goes in here. */
.main {
  border: 3px solid #180b08;
  border-radius: 5px;
  overflow: hidden; /*so background doesn't overflow corners*/
  }
  
.main a {
  color: #c10003;
  }
    
.main-inner {
  background: #fcf7ed;
  color: #180b08;
  padding: 0.25rem 1.5rem 1rem 1.5rem;
  display: block;
  }
  
/* Prevent large image overflow. */
.main-inner img {
  max-width: 100%;
  height: auto;
  }
  

/*Text outside the box, at the bottom of the page.*/
.footer {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin: 20px;
  }

.footer p {
    margin: 5px;
    padding: 0;
}


/* For narrower screens. */
@media (max-width: 1280px) {
  .wrapper {
    width: 80%;
    margin: 1.5rem auto;
    }
  }

@media (max-width: 800px) {
  .wrapper {
    width: 87%;
    margin: 1rem auto;
    }
  }
  
/* Rearrange into column format for mobile. */
@media (orientation: portrait), (max-width: 750px) {
  .wrapper {
    width: 95%;
   }
   
  .header {
    padding-bottom: 1px;
    }
   
  .navigation {
   margin: 0;
   }
   
   /* Since the 'tab' look doesn't work in a vertical layout, undo our fiddly padding/border tricks and do something more normal instead. */
  .nav-button {
    font-size: 1.05em;
    text-align: center;
    display: block;
    padding: 0.5rem 1.5rem;
    margin: 0.375rem 0;
    border-radius: 5px;
    }
  
  .navigation .intro {
    border-bottom: 3px solid #180b08;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }

    .navigation .mine {
    border-bottom: 3px solid #180b08;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }

    .navigation .others {
    border-bottom: 3px solid #180b08;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }

    .navigation .notes {
    border-bottom: 3px solid #180b08;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }

    .navigation .fun {
    border-bottom: 3px solid #180b08;
    margin-bottom: 0.375rem;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    }
  
  .main {
    border-radius: 5px; 
    }
  }
    
  /* Buttons display slightly differently on mobile -- make sure the border colors are correct! */
  @media(orientation: portrait), (max-width:750px) {
    .navigation .intro {
    border-bottom: 3px solid #180b08;
    }

    .navigation .mine {
    border-bottom: 3px solid #180b08;
    }

    .navigation .others {
    border-bottom: 3px solid #180b08;
    }

    .navigation .notes {
    border-bottom: 3px solid #180b08;
    }

    .navigation .fun {
    border-bottom: 3px solid #180b08;
    }
  
  .main {
    border-radius: 5px;  
    border: 3px solid #180b08;
    }
    
  .main-inner {
    background: #fcf7ed;
    color: #180b08;
    }
    
  .main-inner a {
    color: #c10003;
    }
  }