﻿/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

:root {
  --primary: hsl(213, 45%, 20%);
  --alt: hsl(18, 84%, 85%);
  --accent: hsl(183, 100%, 35%);
  --backup: hsl(26, 74%, 94%);
  --color-1: hsl(31, 86%, 50%);
  --color-1: #fff;
  --color-2: hsl(188, 51%, 83%);
  --color-3: hsl(191, 63%, 68%);
  --color-4: hsl(182, 85%, 32%);
  --color-5: hsl(190, 59%, 31%);
  --color-6: hsl(188, 64%, 18%);
  --borderRadius: 9px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-1);
}

h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  font-style: normal;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.aside-list {
  margin-left: 1rem;
}

label {
  color: var(--color-6);
}

input[type=file], input[type=submit] {
  background-color: var(--color-4);
}

button, input[type=submit] {
  border: unset;
  border-radius: var(--borderRadius);
  color: var(--color-6);
  font-weight: bold;
  padding: 0.25rem 1rem;
  text-transform: uppercase;
}

.form-group {
  margin-top: 1rem;
}

body {
  background-color: var(--color-6);
  /*background-color: #fff;*/
  color: var(--color-6);
  color: var(--color-1);
  height: 100%;
}

.page-wrapper {
  display: flex;
  min-height: 100vh; /* Full viewport height */
}

.container {
  flex: 1; /* Take up remaining space */
  padding: 20px;
  display: grid;
  gap: 2rem;
  grid-template-columns: 750px 350px;
}

main {
  /*width: 650px;*/
}

.main-content {
  /*display: flex;*/
  margin: 0 auto;
  min-height: 100vh;
  /*display: grid;
  grid-template-columns: 450px 200px;*/
}

.right-column {
  background-color: var(--color-5);
  border-radius: var(--borderRadius);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  /*margin-left: 125px;*/
  margin-top: 115px;
  padding: 20px;
  width: 350px;
}

aside {
  color: #fff;
}

.aside-image {
  margin-top: 1rem;
}

.aside-img {
  width: 99%;
}

.banner {
  background-color: var(--color-4);
}

a {
  color: var(--color-1);
  color: var(--color-3);
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: var(--color-4);
}

a.dark {
  color: var(--color-6);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

a.dark:hover {
  color: var(--color-4);
}

.blog-archive > h3 {
  color: var(--color-6);
}

.blog-archive > ul {
  margin-left: 1rem;
}

.blog-author {
  font-size: 0.75rem;
  font-style: italic;
}

.bold-link {
  font-weight: bold;
  text-transform: uppercase;
}

.blog-posts {
  border: 1px soild var(--color-5);
  background-color: transparent;
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
}

.blog-post > h2 {
  color: var(--color-6);
}

.blog-post, .contact-details {
  background-color: var(--color-2);
  border-radius: var(--borderRadius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--color-6);
  padding: 1rem;
}

.contact-details {
  padding: 1rem 1rem 0 1rem;
}

.videos {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  width: 50%;
}

.form-check-label {
  color: var(--color-1) !important;
}

fieldset, .blog-archive {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: var(--color-6);
  padding: 1rem;
  margin: 0.5rem 0 1rem 0;
  border-radius: 8px;
  background-color: #f9f9f9;
}

legend {
  font-weight: bold;
  color: var(--color-6);
  padding: 0 0.5rem;
}

p {
  color: var(--color-4);
}

table.dashboard-table {
  table-layout: auto;
  width: 100%;
}

.dashboard-table > tbody > tr > td {
  white-space: nowrap;
  vertical-align: middle;
}

.dashboard-thumbnail {
  max-width: 125px;
  height: auto;
  display: block;
}

.image-thumbnail {
  max-width: 250px;
  height: auto;
  display: block;
}

th.center, td.center {
  text-align: center;
}

.selected {
  font-weight: bold;
}

.dashboard-content {
  background-color: #fff;
  border-radius: var(--borderRadius);
  padding: 1rem;
}

.images {
  margin-top: 2rem;
}

.image-content {
  position: relative;
  height: auto; /* or whatever fits your layout */
}

.image-actions {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.image-item {
  background-color: var(--color-1);
  border-radius: var(--borderRadius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
}

.img-small {
  width: 25%;
}

.img-medium {
  width: 50%;
}

.img-large {
  width: 75%;
}

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

.media {
  margin-top: 2rem;
  text-align: center;
}

.media > h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  font-style: normal;
}

.media-items {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.media-items:only-child {
  justify-content: center;
}

.media-item {
  background: var(--color-4);
  border-radius: var(--borderRadius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  text-align: center;
  width: 360px;
}

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

.media-thumbnail {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.media-content {
  padding: 1rem 0;
  text-align: left;
}

.media-title {
  text-align: center;
}

.archive-header {
  cursor: pointer;
  font-weight: bold;
  margin: 10px 0;
}

.post-list {
  list-style-type: none;
  padding-left: 20px;
}

.hidden {
  display: none;
}

@media screen and (max-width: 480px) {
  .container {
    grid-template-columns: auto;
    padding: 5%;
  }
  main {
    width: auto;
  }
  .right-column {
    margin-top: unset;
    width: unset;
  }
}
