/*--------------------------------------------------------------
   Base Typography
   Sets up general font styles for the page and links.
--------------------------------------------------------------*/

body {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/* Links (general) */
a {
  font-family: "Bebas Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  text-decoration: none;
}

/* Specific Bebas Neue font styling */
.bebas-neue {
  font-family: "Bebas Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  text-decoration: none;
}

/* Specific Roboto font styling */
.roboto {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

/*--------------------------------------------------------------
   Headings
   Ensures all heading elements are consistently styled 
   with lowercase text and uppercase first letter.
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  font-family: "Bebas Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  text-decoration: none;
}

/* Uppercase first letter for all headings */
h1::first-letter, 
h2::first-letter, 
h3::first-letter, 
h4::first-letter, 
h5::first-letter, 
h6::first-letter {
  text-transform: uppercase;
}

/*--------------------------------------------------------------
   Social Media Icons
   Styles for the various social media platform icons.
--------------------------------------------------------------*/

.bi-bluesky {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentColor;
  background: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 600 530" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z" fill="%231185FE"/></svg>');
  background-size: contain;
}

/* Social Media Colors */
.bi-discord { color: #5865F2; }
.bi-facebook { color: #1877F2; }
.bi-github { color: #181717; }
.bi-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.bi-linkedin { color: #0A66C2; }
.bi-mastodon { color: #6364FF; }
.bi-medium { color: #000000; }
.bi-pinterest { color: #E60023; }
.bi-reddit { color: #FF4500; }
.bi-snapchat { color: #FFFC00; text-shadow: 0 0 3px rgba(0, 0, 0, 0.3); }
.bi-tiktok { background: linear-gradient(45deg, #25F4EE, #FE2C55); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.bi-twitch { color: #9146FF; }
.bi-twitter { color: #1D9BF0; }
.bi-vimeo { color: #1AB7EA; }
.bi-youtube { color: #FF0000; }

/*--------------------------------------------------------------
   File List Styles
   Organizes the file list and ensures uniformity in the display.
--------------------------------------------------------------*/

.filelist,
.filelist ul,
.filelist li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Entire list font sizing */
.filelist {
  font-size: 0.85rem;
}

/* Row container for headers and file rows */
.filelist > li > ul {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

/* Header row (defines visual structure) */
.flisthead {
  font-weight: 600;
  border-bottom: 2px solid #0d6efd;
  background-color: #f8f9fa;
}

/* Icons for file types */
.file:before,
.file-file:before,
.file-directory:before,
.file-image:before,
.file-video:before,
.file-web:before,
.file-php:before,
.file-css:before,
.file-text:before,
.file-audio:before,
.file-office:before,
.file-pdf:before,
.file-js:before {
  display: inline-block;
  vertical-align: middle;
  padding-right: 8px;
}

/* Individual file type icons */
.file-file:before { content: url(/images/icons/page.png); }
.file-directory:before { content: url(/images/icons/folder.png); }
.file-image:before { content: url(/images/icons/picture.png); }
.file-video:before { content: url(/images/icons/film.png); }
.file-web:before { content: url(/images/icons/html.png); }
.file-php:before { content: url(/images/icons/page_white_php.png); }
.file-css:before { content: url(/images/icons/css.png); }
.file-text:before { content: url(/images/icons/page_white_text.png); }
.file-audio:before { content: url(/images/icons/music.png); }
.file-office:before { content: url(/images/icons/page_white_office.png); }
.file-pdf:before { content: url(/images/icons/page_white_acrobat.png); }
.file-js:before { content: url(/images/icons/script_code.png); }

/*--------------------------------------------------------------
   Column Layouts
   Controls the layout for the file list columns (Name, Size, Date, Description).
--------------------------------------------------------------*/

.projects .col1,
.projects .col {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

/* First column (icons) */
.projects .col1 {
  width: 25px;
  justify-content: center;
}

/* Second column (file name) */
.projects .col:nth-child(2) {
  flex: 2;
}

/* Third and Fourth columns (file size + modified date) */
.projects .col:nth-child(3),
.projects .col:nth-child(4) {
  flex: 1;
}

/* Fifth column (description) */
.projects .col:nth-child(5) {
  flex: 2;
}

/*--------------------------------------------------------------
   Links
   Styling for the file list links (hover and active states).
--------------------------------------------------------------*/

.filelist a {
  text-decoration: none;
  color: #0d6efd;
}

.filelist a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
   Navbar Icon Styles
   Styling for the navigation bar icons.
--------------------------------------------------------------*/

.navbar-nav i {
  transition: color 0.3s, background 0.3s;
  font-size: 1.2rem;
}

/* Solid Color Styles for Icons */
.navbar-nav .bi-house-door { color: #007bff; }
.navbar-nav .bi-journal-text { color: #28a745; }
.navbar-nav .bi-briefcase { color: #ffc107; }
.navbar-nav .bi-gear { color: #dc3545; }
.navbar-nav .bi-person { color: #6f42c1; }

/* Gradient Styles for Icons */
.navbar-nav .bi-house-door {
  background: linear-gradient(45deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar-nav .bi-journal-text {
  background: linear-gradient(45deg, #28a745, #218838);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar-nav .bi-briefcase {
  background: linear-gradient(45deg, #ffc107, #e0a800);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar-nav .bi-gear {
  background: linear-gradient(45deg, #dc3545, #bd2130);
  -webkit-background-clip: text;
  color: transparent;
}

.navbar-nav .bi-person {
  background: linear-gradient(45deg, #6f42c1, #5a2d94);
  -webkit-background-clip: text;
  color: transparent;
}

/* Hover Effects to Make Icons Change Color on Hover */
.navbar-nav .nav-link:hover i {
  color: #ffffff;
  background: none;
}


blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1em;
  background-color: #f9f9f9;
  font-style: italic;
  margin: 1.5em 0;
}

blockquote footer {
  font-size: 0.75em;
  color: #666;
  margin-top: 0.5em;
  text-align: right;
}

blockquote footer cite.smallattrib {
  font-style: normal;
  font-weight: 600;
}
