
  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #ffffff;
  --content-background-color: #ffffff;
  --sidebar-background-color: #ffffff;

  /* Text Colors: */
  --text-color: #322118;
  --sidebar-text-color: #000000;
  --link-color: #322118;
  --link-color-hover: white;

  /* Text: */
  --font: "Helvetica Neue", Helvetica, sans-serif;
  --heading-font: "Helvetica Neue", Helvetica, sans-serif;
  --font-size: 20px;

  /* Other Settings: */
  --margin: 1px;
  --padding: 20px;
  --border: 4px solid #000000;
  --round-borders: 4px;
  --sidebar-width: 250px;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
  padding:2px;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width:1000px;
  width:90%;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0 auto;
  padding: auto;
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("");
}

.dropdown {
  position: relative;
  display: inline-block;
  left:0;
}

.dropdown-menu{
  position: absolute;
  left:0;
  top:70%;
  left:120%;
  z-index:1000;
  margin:0;
  padding-left:0px;
  padding-top:15px;
  padding-bottom: 15px;
  padding-right: 35px;
  background: linear-gradient(160deg, #77a2cc 0%, #b3c5df 80%);
  border: 1px solid grey;
  border-radius: 7px;
  box-shadow: inset 0px 0px 20px grey, 0px 0px 10px grey;
  width: 120px;
  height:150px;
}

#statuscafe {
    padding: 20px;
    padding-left:10px;
    background-color: azure;
    border: .5px solid grey;
    margin:20px;
    margin-top:15px;
    margin-bottom:10px;
    width: 210px;
    height:250px;
    background-color: #A2BCD8;
    background: linear-gradient(160deg, #77a2cc 0%, #b3c5df 80%);
    border-radius: 7px;
    box-shadow: inset 0px 0px 20px grey, 0px 0px 10px grey;
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
    overflow: scroll;
    
}

#statuscafe:hover {
  transform: translateY(8px);
  box-shadow: inset 0px 0px 20px grey, 0px 0px 10px lightgrey;
}

#statuscafe {
  display: inline-block; /* Required for transform properties to apply correctly */
  color: #322118;
  cursor:default;
  
  /* Smoothly animates the movement back and forth over 0.3 seconds */
  transition: transform 0.3s ease; 
}

/* Triggers when the user's cursor hovers over the element */
#statuscafe:hover {
  /* Moves the text 10 pixels to the right. Use a negative value to move left. */
  transform: translatey(-5px); 
}
#statuscafe-username {
    margin-bottom: 3px;
    font-size: 17px;
    color: #322118;
    font-weight:bold;
}
#statuscafe-content {
    margin: 3px;
    color:white;
    text-align: left;
    font-size: 14px;
    
}

.scroll-container {
  display: flex;            /* Aligns images in a single row */
  overflow-x: auto;         /* Enables horizontal scrolling when content overflows */
  overflow-y: hidden;       /* Prevents accidental vertical scrolling */
  gap: 7px;                /* Adds spacing between the images */
  padding: 0px;            /* Adds inner padding around the track */
  margin:0px;
  white-space: nowrap;      /* Prevents images from wrapping to a new line */
  scroll-behavior: smooth;  /* Ensures smooth scrolling adjustments */
}

.scroll-container img {
  width: 100px;             /* Sets a fixed width for the images */
  height: 50%;            /* Sets a fixed height for consistency */
  object-fit: cover;        /* Prevents image distortion */
  border-radius: 2px;       /* Optional: rounds image edges */
  flex-shrink: 0;           /* Crucial: prevents images from squishing to fit */
}

/* Moves the track by half its total width (one full set of images) */
@keyframes scrollLoop {
  to {
    transform: translateX(-50%); 
  }
}

.no-underline {
  color: #10b981;
  text-decoration: none;
  transition: all 0.3s ease;
}

.no-underline:hover {
  color: white;
  text-decoration: underline;
}

.no-underline {
  text-decoration:none;
}

.sliding-container {
  width: 100%;
  height:50px;
  margin:0;
  padding:0;
  overflow: hidden;
}

.sliding-gif {
  width: 100px; 
  animation: slide-anim 7s linear infinite;
  margin:0;
  padding:0;
}

@keyframes slide-anim {
  0% {
    transform: translateX(100vw); 
  }
  100% {
    transform: translateX(-100px); 
  }
}

    .gallery-container {
            overflow: hidden;
            width: 100%;
            background-color: white;
            padding:5px;
            margin: 0px;
            white-space: nowrap;
            position: center;
            border:1px lightgrey solid;
            box-shadow:inset 0px 0px 20px grey;
            border-radius:7px;
            justify-content: center;
            align-items: center;
            display: flex;
        }

        /* The moving track containing two identical groups */
        .gallery-track {
            display: inline-flex;
            width: 100%;
            animation: infiniteScroll 20s linear infinite;
        }
        

        /* Group styling */
        .gallery-group {
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        /* Image styling */
        .gallery-group img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            margin: 2px;
            border-radius: 2px;
        }
        
        .gallery-group2 {
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

        /* Image styling */
        .gallery-group2 img {
            width: 90px;
            height: 140px;
            object-fit: cover;
            margin: 2px;
            border-radius: 2px;
        }

        /* Pause animation on hover for better user experience */
        .gallery-container:hover .gallery-track {
            animation-play-state: paused;
        }

        /* KEYFRAME LOGIC: Translate exactly up to -50% */
        @keyframes infiniteScroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

.repeat-box {
  margin:20px;
  padding:10px;
  background-color:white;
  border-radius: 7px;
  border: 3px black solid;
  width: 180px;
  height: 50px;
  display: flex; justify-content: center; align-items: center;
}

.image-gallery {
  display: flex;       /* Aligns items side-by-side */
  gap: 5px;           /* Adds space between the pictures */
  justify-content: center; /* Centers the row on the screen */
}

.image-gallery img {
  width: 32%;          /* Fits exactly 3 images nicely on one line */
  height: 170px;
  width:170px; /* Maintains the original aspect ratio */
  object-fit: cover;   /* Prevents images from stretching distortively */
}

.recent-listens {
  margin:20px;
  padding:10px;
  background-color:white;
  border-radius: 7px;
  border: 5px black dashed;
  width: 600px;
  height: 300px;
  overflow: scroll;
}

.image-container2 {
  display: flex; /* Keeps container tight around the image */
  text-align: left;    /* Centers the text below the image */
  margin: 0px;          /* Adds spacing around the block */
}

.image-container2 img {
  display: block;        /* Removes unwanted bottom gap under the image */
  max-width: 150px;       /* Makes the image responsive */
  height: 150px;
}

.image-container2 figcaption {
  margin-top: 4px;       /* Adds spacing between image and text */
  font-size: 13px;
  color: #333;
}

.image-container {
  display: grid; /* Keeps container tight around the image */
  text-align: left;    /* Centers the text below the image */
  margin: 2px;          /* Adds spacing around the block */
}

.image-container img {
  display: block;        /* Removes unwanted bottom gap under the image */
  max-width: 100%;       /* Makes the image responsive */
  height: auto;
}

.image-container figcaption {
  margin-top: 2px;       /* Adds spacing between image and text */
  font-size: 13px;
  color: #333;
}

.update-box {
  margin:20px;
  padding:20px;
  background-color: white;
  border-radius: 7px;
  background-image: 
    linear-gradient(90deg, transparent 80px, #ff4d4d 50px, #ff4d4d 70px, transparent 81px),
    linear-gradient(#e0f0ff 1px, transparent 1px);
  background-size: 100% 100%, 100% 24px;
  box-shadow: inset 0px 0px 20px  grey;
  border:1px solid lightgrey;
  width: 650px;
  height:300px;
  text-align: left;
  font-size: 17.5px;
  padding-left: 82px;
  overflow: scroll;
}

.movie-poster {
  margin:20px;
  padding:30px;
  background-color:white;
  border-radius:7px;
  box-shadow:0px 0px 20px grey;
  border: 1px solid lightgrey;
  width: 500px;
  height: 1000px;
}

.card-quote {
  margin:20px;
  width: 210px;
  padding: 20px;
  padding-top: 20px;
  background-color: #A2BCD8;
  background: linear-gradient(160deg, #77a2cc 0%, #b3c5df 80%);
  border-radius: 7px;
  box-shadow: inset 0px 0px 20px  grey, 0px 0px 10px lightgrey;
  border: .5px lightgrey solid;
  transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
}

.card-quote:hover {
  transform: translateY(8px);
  box-shadow: inset 0px 0px 20px grey, 0px 0px 10px lightgrey;
}

.card-quote {
  display: inline-block; /* Required for transform properties to apply correctly */
  color: #322118;
  cursor:default;
  
  /* Smoothly animates the movement back and forth over 0.3 seconds */
  transition: transform 0.3s ease; 
}

/* Triggers when the user's cursor hovers over the element */
.card-quote:hover {
  /* Moves the text 10 pixels to the right. Use a negative value to move left. */
  transform: translatey(-5px); 
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: white;
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

.color-block {
  background-color: #265890; /* Change this to any color or hex code */
  padding: 15px;             /* Space between the text and the edge of the block */
  width: 500px;              /* Adjust width as needed */
  margin: 5px 0;            /* Space outside of the block */
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1100px;
  height:1000px;
  margin: 0 auto;
  display: grid;
  grid-column-gap: 4px;
  grid-row-gap: 3px;
  grid-template: "header header" auto "leftSidebar main" auto "footer footer" auto / var(--sidebar-width) auto;
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: scroll;
  padding:20px;
  background: var(--content-background-color);
  border: 1px dotted;
  outline: 1px dotted;
  outline-color: black;
  outline-offset:2px;
  border-radius: var(--round-borders);
  border-color: black;
  align-content: flex-start;
}


/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

.header-image {
  background-image: url("https://www.image2url.com/r2/default/images/1785455377621-f23aef02-d116-4aa1-bd7d-af92b6d9f341.webp");
  background-position:bottom;
  background-repeat:no-repeat;
  background-size: cover;
  height:250px;
  background-position:0% 30%;
}

header {
  grid-area: header;
  font-size: 1.2em;
  border: 1px dotted;
  outline: 1px dotted;
  outline-color: black;
  outline-offset:2px;
  border-radius: var(--round-borders);
  background: var(--content-background-color);
  border-color: #000000;
  margin-top: 1px;
  margin-bottom:3px;
}

.header-content {
  padding: 10px;
}

.header-title {
  font: "Helvetica Neue", Helvetica, sans-serif;
  font-size: 3.2em;
  font-weight: bold;
  color: black;
  position: relative;
  top:150px;
  right:14px;
  text-shadow:4px 4px 5px black;
}

.moving-text {
  display: inline-block; /* Required for transform properties to apply correctly */
  font-size: 3.2em;
  color: #322118;
  cursor:default;
  
  /* Smoothly animates the movement back and forth over 0.3 seconds */
  transition: transform 0.3s ease; 
}

/* Triggers when the user's cursor hovers over the element */
.moving-text:hover {
  /* Moves the text 10 pixels to the right. Use a negative value to move left. */
  transform: translateX(10px); 
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  margin:0 auto;
  max-height: 730px;
  border-top:1px dotted;
  border-bottom: 1px dotted;
  border-left: 1px dotted;
  border-right: 1px dotted;
  border-radius: 5px;
  outline: 1px dotted;
  outline-color: black;
  outline-offset: 2px;
  border-color:#000000;
  overflow: visible;
  background-color: white;
  padding:5px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top:15px;
  justify-content: center;
  color: var(--sidebar-text-color);
  line-height: 1.7;
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 20px;
  font-family: var(--heading-font);
  color: #322118;
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 5px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background-color: #d8e7ed;
  padding: 20px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

p {
  margin-block:10px;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  width:1100px;
  height:40px;
  border: 1px dotted black;
  outline:1px dotted black;
  outline-offset:2px;
  border-radius: var(--round-borders);
  margin-top:3px;
  margin-bottom:3px;
  overflow: hidden;
  font-size: 0.60em;
  padding: 10px;
  justify-content: center;
  background: var(--content-background-color);
  display: flex;
  
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}

/* NAVIGATION IN HEADER */

header nav {
  margin-bottom: 0;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

header nav ul li {
  position: relative;
}

header nav ul li:first-child > a {
  padding-left: 0;
}

header nav ul li:last-child > a {
  padding-right: 0;
}

/* Subnavigation (Drop-Down): */

header nav ul ul {
  background: var(--content-background-color);
  display: none;
  position: absolute;
  top: 100%;
  left: 10px;
  padding: 0.5em;
  z-index: 1;
  border: var(--border);
  min-width: 100%;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
}

header nav ul li:hover ul,
header nav ul li:focus-within ul {
  display: block;
}

header nav ul li strong {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: normal;
}

header nav ul ul li a {
  display: block;
  padding-left: 0;
  padding-right: 0;
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

main blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 30px;
}

main h2 {
  font-size: 23px;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: 100px;
  height: 100px;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100px;
  height: 100px;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "leftSidebar" auto "main" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  
  .right-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
