/* fonts */
@font-face {
  font-family: 'Amoeba';
  src: url('https://cdn.jsdelivr.net/gh/neon42-jpg/joel-fonts/amoeba.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body, p, li, a {
  font-family: 'garamond', garamond;
  font-size: 16px;
  line-height: 1.5;
  color: #3a2a2a;
  margin: 0;
  padding: 0;
}

h5 {
  font-family: 'garamond', garamond;
  font-size: 18px;
  line-height: 1.5;
  color: #3a2a2a;
  margin: 0;
  padding: 0;
}

/* header */
#site-header {
  text-align: center;
  margin: 1rem 0;
}

#site-title {
  font-family: 'Amoeba', cursive;
  font-size: 3rem;
  margin: 0.5rem 0;
  color: #ff5f8a;
  text-shadow: 2px 2px #ffd6e0;
  transform: rotate(-1deg);
  transition: transform 0.2s ease;
}
#site-title:hover {
  transform: rotate(0deg) scale(1.05);
}

#main-menu {
  display: inline-flex;
  gap: 25px;
  margin-top: 0.5rem;
}m

#main-menu a {
  font-family: 'Garamond', serif;
  font-size: 1.6rem;
  color: #3a2a2a;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, text-shadow 0.2s ease;
}

#main-menu a:hover {
  color: #ff69b4;
  transform: scale(1.15);
  text-shadow: 2px 2px #ffd6e0;
}

/* headings */
h1, h2, h3, h4 {
  font-family: 'Amoeba', cursive;
  color: #ff5f8a;
  text-shadow: 2px 2px #ffd6e0;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

h1 { font-size: 3rem; transform: rotate(-1deg); }
h2 { font-size: 2.2rem; transform: rotate(-1deg); }
h3 { font-size: 1.8rem; transform: rotate(-1deg); }
h4 { font-size: 1.4rem; }

h1:hover, h2:hover, h3:hover { transform: rotate(0deg) scale(1.05); transition: transform 0.2s ease; }

/* notes */
#cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, 250px); 
  gap: 2rem;                                   
  justify-content: center;                        
  padding: 2rem;
  margin: 0 auto;
}

.note {
  width: 220px;          
  min-height: 180px;
  margin: 0;
  background: #ffd6e0;
  border: 2px solid #ffb6c1;
  box-shadow: 4px 4px 0px #ff8fab;
  padding: 1rem;
  border-radius: 10px;

  transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.note:hover {
 
  box-shadow: 6px 6px 0px #ff8fab;
}

.note h3 {
  margin-top: 0;
  font-size: 22px;
  font-family: 'Amoeba', cursive;
  text-align: center;
}

.note p, h5, .note ul {
  font-family: 'garamond', garamond;
  font-size: 16px;
  text-align: center;
  margin: 0.5rem 0;
}

.note img.note-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.5rem 0;
  object-fit: cover;
}



.note.wide-note {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  display: block;

  transition: transform 0.1s ease, box-shadow 0.1s ease;
  text-align: left;
  padding: 2rem;
  box-sizing: border-box;
}

.note.wide-note:hover {
 
  box-shadow: 6px 6px 0px #ff8fab;
}

.note.wide-note h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.note.wide-note p, h5, .note ul {
  font-family: 'garamond', garamond;
  font-size: 16px;
  text-align: center;
  margin: 0.5rem 0;
}

.wide-note img.note-image {
  width: 100%;
  height: 300px;             
  object-fit: cover;         
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
}


/* wider notes */



.note.wider-note {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  display: block;

  transition: transform 0.1s ease, box-shadow 0.1s ease;
  text-align: left;
  padding: 2rem;
  box-sizing: border-box;
}

.note.wider-note:hover {
 
  box-shadow: 6px 6px 0px #ff8fab;
}

.note.wider-note h3 {
   margin-top: 0;
  font-size: 22px;
  font-family: 'Amoeba', cursive;
  text-align: center;
}

.note.wider-note p, h5, .note ul {
  font-family: 'garamond', garamond;
  font-size: 16px;
  text-align: left;
  margin: 0.5rem 0;
}



/* themes  */
.theme-light {
  background: linear-gradient(180deg, #ffeaf3 0%, #fff6fa 100%);
}
.theme-dark {
  background: #1a1a1a;
  color: #f9f9f9;
}
.theme-retro {
  background: #fff9e5;
  color: #222;
}

/* youtube notes  */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* footer */
#site-footer {
  text-align: center;
  background-color: #ffd6e0;
  color: #3a2a2a;
  padding: 1rem 0;
  font-family: 'VT323', garamond;
  font-size: 14px;
  margin-top: 2rem;
}

/* flex */
.flex-box {
  display:flex;
  flex-wrap:wrap;
  margin: 0 auto;
  padding: 0;
  align-items: flex-start;
}

.flex-box section {
  margin: 1em;
}

.full { flex: 1 1 100%; }
.half { flex: 1 1 calc(50% - 2em); }
.third { flex: 1 1 calc(33% - 2em); }
.twothird { flex: 1 1 calc(66% - 2em); }
.quarter { flex: 1 1 calc(25% - 2em); }
.threequarter { flex: 1 1 calc(75% - 2em); }



/* up ! */ 

.up  {
	text-align: center;
  font-family: 'Amoeba', cursive;
  font-size: 3rem;
  margin: 0.5rem 0;
  color: #ff5f8a;
  text-shadow: 2px 2px #ffd6e0;
  transform: rotate(-1deg);
  transition: transform 0.2s ease;
}
