/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


/* Margin is for the outside 
   Padding is for the inside
*/

/*This is for the head navigation for the whole website*/

@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand_Book.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand-Bold';
  src: url('fonts/Quicksand_Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand-Oblique';
  src: url('fonts/Quicksand_Book_Oblique.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}


a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: #353238;
}



body {
  background-color: #420a06;
  color: #353238;
  margin: 0;
  font-family: 'Quicksand', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url("images/Logo.png");
  background-size: 100px 100px;
  background-repeat: repeat;
  mix-blend-mode: difference;

  opacity: .2;   /* 👈 controls background transparency */
  z-index: -1;
}


/* Sidebar (left column) */
.page {
  display: flex;
  justify-content: center; /* centers horizontally */
}

/* Inner layout (your actual content area) */
.page_layout {
  display: flex;
  width: 80%;
  max-width: 950px;
  min-width: 500px;
  background: #daccb9;
}

.links{
  text-decoration: underline;
}



/* Sidebar */
.sidebar {
  width: 150px;
  background: #BE5A38;
  display: flex;
  flex-direction: column;
  align-items: center;

  position: sticky;
  top: 0;   
  height: 100vh; 
}

.sidebar_navigation{
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  font-size: 175%;
}

.sidebar_references {
  margin-top: auto;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 5px;

  display: flex;
  justify-content: center;
}

.sidebar_references img {
  max-width: 100%;
}

.sidebar_button{
  font-size: 75%;
  text-decoration: none;
  color: #353238;
  background-color: #C1B4AE; 
  
  padding-top: 6px;
  padding-left: 7px;
  padding-right: 7px;
  padding-bottom: 8px;

  margin-bottom: 5px;

  border-color: #BE7C4D;
  border-radius: 13px;
  border-style: solid;

  text-align: center;
}

.sidebar_button:hover {
  border-style: solid;
  background-color: #ebdcc1;
}
/* !Sidebar */



/* Main content */
.page_content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.page_title{
  /* font-family: "Quicksand-Oblique"; */
  font-size: 200%;
  text-align: center;
  background-color: #ebdcc1;

  padding-top: 12px;
  padding-bottom: 14px;
  padding-left: 10px;

  border-color: #BE7C4D;
  border-radius: 10px;
  border-width: 3px;
  border-style: solid;
}



.section{
  margin-top: 15px;
  margin-bottom: 20px;
}

.section_title{
  font-size: 130%;
}

.section_text{
  font-size: 95%;
}



.post{
  background-color: #f3b182;
  border-color: rgb(212, 92, 55);
  border-radius: 5px;
  border-style: dotted;

  margin: 10px;
}

.post_title{
  font-size: 135%;
  text-align: left;
  margin: 10px;
}

.post_description{
  font-size: 75%;
  text-align: justify;
  margin: 10px;
}

.post:hover{
  /* background-color: #db7b36; */
  /* animation: borderSwap 1s steps(1) infinite; */
  border-style: solid;
}

/* @keyframes borderSwap {
  0%, 49% {
    border-style: solid;
  }
  50%, 100% {
    border-style: dotted;
  }
} */

.post_navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.post_button {
    text-decoration: none;
    padding: 10px 18px;
    background-color: #d8c3a5; /* adjust to your palette */
    color: black;
    border-radius: 6px;
    transition: 0.2s ease;
}

.post_button:hover {
    background-color: #c5ae8c;
}



