/* =====================
   VARIABLES
   ===================== */
:root {
  --background-color: #70a7dc;
}


/* =====================
   RESET
   ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* =====================
   CURSOR
   ===================== */
body, html, a, a:hover, textarea {
  cursor: url("./images/cainehand.png"), auto;
}


/* =====================
   BODY / PAGE LAYOUT
   ===================== */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--background-color);
  padding-top: 160px;
  padding-bottom: 20px;
}


/* =====================
   TOP BORDER
   ===================== */
#top-border {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url('./images/websiteballoons.png');
  background-repeat: repeat-x;
  z-index: 9999;
}


/* =====================
   SITE HEADER
   ===================== */
#site-header {
  text-align: center;
  margin-bottom: -.4em;
}

#site-header img {
  width: 800px;
  height: auto;
}


/* =====================
   NAV
   ===================== */
#nav {
  width: 800px;
  overflow: visible;
}

nav {
  width: 800px;
  text-align: center;
  padding-bottom: .5em;
  border-bottom: 1px dashed #000000;
}

nav a {
  font-family: "Margarine", sans-serif;
  font-size: 20px;
  text-decoration: none;
}


/* =====================
   DROPDOWN
   ===================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffd966;
  border: 1px dashed #ff3c46;
  padding: 0.5em;
  z-index: 100;
  white-space: nowrap;
}

.dropdown-menu a {
  display: block;
  padding: 0.3em 0.5em;
  font-size: 15px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}


/* =====================
   FRAME CONTENT
   No clown-box frame on blog pages —
   .frame-content acts as the content area directly
   ===================== */
.frame-content {
  width: 800px;
  background: #ffd966;
  padding: 1em;
  overflow-y: auto;
}

.frame-content::-webkit-scrollbar {
  width: 8px;
}

.frame-content::-webkit-scrollbar-track {
  background: #000000;
}

.frame-content::-webkit-scrollbar-thumb {
  background-color: #70a7dc;
  border-radius: 10px;
}


/* =====================
   FOOTER
   ===================== */
footer {
  margin-top: auto;
  border-top: 1px dashed #000000;
  padding: 1em 2em 0;
  color: #76B1FF;
  width: 100%;
  margin-bottom: -.5em;
}


/* =====================
   BELOW FRAME
   ===================== */
#below-frame {
  text-align: center;
  color: white;
  margin-top: 1em;
  font-family: "Margarine", sans-serif;
  font-size: 25px;
}

/* =====================
   BELOW FRAME
   ===================== */
#below-frame {
  text-align: center;
  color: white;
  margin-top: 1em;
  font-family: "Margarine", sans-serif;
  font-size: 25px;
}


/* =====================
   TYPOGRAPHY
   ===================== */
a {
  color: #000000;
}

a:hover {
  color: #ff3c46;
}

h1, h2, h3 {
   margin-top: 0.8em;
  margin-bottom: 0.4em;
  color: #ff3c46;
  font-family: "Margarine", sans-serif;
  margin-top: 1em;
}

h4 {
  margin-bottom: -.1em;
  color: #000000;
  font-family: "Margarine", sans-serif;
}

ul {
  list-style-image: url('./images/balloon2.gif');
  list-style-type: square;
  padding-left: 1.5em;
}

mark {
  background-color: inherit;
  color: #ff3c46;
  font-weight: 800;
}


/* =====================
   STICKERS
   ===================== */
.sticker {
  position: fixed;
  height: auto;
  z-index: 50;
  pointer-events: none;
}

#sticker1 {
  right: 50px;
  bottom: 50px;
}


/* =====================
   GALLERY
   ===================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.gallery img {
  width: 100%;
  height: auto;
}


/* =====================
   FLEX LAYOUTS
   ===================== */
.flex-container {
  display: flex;
}

.column {
  width: 400px;
  padding: 10px;
}

.credit-container {
  display: flex;
}

.credit-column {
  width: 150px;
  padding: 20px;
}

.centered {
  text-align: center;
}