:root {
  --dark-black: rgba(32, 32, 32, 1);
  --light-black: rgba(42, 42, 42, 1);
  --blue: rgb(0, 86, 179);
  --error: rgb(100, 0, 0);
  --grey: rgb(102, 102, 102);
  --lighter-grey: rgb(107, 107, 107);
  --success: rgb(0, 100, 0);
  --mc-core-grey-5: #3D3938;
  --mc-core-grey-6: #262423;
}

.bold {
  font-weight: 500;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    object-fit: cover;
    object-position: top;
}

#projects, .thumbnail {
    position: relative;
    height: 25em;
    overflow: hidden;
}

#projects img.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    object-fit: cover;
    object-position: top;
}

#caseStudyLink {
    padding: 0.5em 1em;
    background-color: rgb(235, 235, 235);
    border-radius: 0.4em;
    color: black;
    font-weight: 800;
    text-decoration: none;
    transition: .25s;
    position: inherit;
}

#caseStudyLink:hover {
    background-color: rgb(150, 150, 150);
    color: white;
}

#caseStudyName {
    margin-top: -0.4em;
}

#caseStudySummary {
    margin-top: -1.7em;
    margin-bottom: 1.3em;
}

@media (orientation: portrait) {
    #caseStudyName {
        white-space: nowrap;
    }
}

.category-name {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.5;
}

.thumbnail-info {
  position: absolute;
  top: 50%;
  left: 2em;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  max-width: 46%; /* Optional: controls text width */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*   grid-template-rows: repeat(3, 1fr); */
  gap: 10px;
  background-color: var(--dark-black);
  padding: 25px;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

.grid-container div {
  background-color: var(--dark-black);
  border: none;
  padding: 25px;
  font-size: 15px;
  text-align: center;
}

.grid-container div>* {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Keeps aspect ratio */
}

.staffGrid {
  background-color: var(--dark-black);
  border: none;
  font-size: 15px;
  text-align: center;
}

#user {
  height: 12px;
  filter: invert(100%);
}

video {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.file-list {
  display: inline-block;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
}

.file-list-item {
  background-color: transparent;
  padding: 10px 0;
  text-align: center;
  transition: 0.125s !important;
  width: 100%;
}

#highlighted {
  background-color: rgba(10, 150, 200, 0.45);
  transition: 0.125s !important;
}

.file-label,
.file-list-item,
.file-list-wrapper {
  cursor: pointer;
}

.divider {
  border-bottom: 1px solid #ccc;
  opacity: 50%;
}

section {
  display: block;
  /* padding-bottom: 35px; */
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
  text-align: center;
}

.centre {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.horizCentre1 {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.horizCentre2 {
  margin: 0 auto;
}

.popup {
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 10px 20px 10px 20px;
}

.content {
  margin: 8px;
  margin-top: 75px;
}

.large-button {
  background-color: rgb(82, 82, 82);
  border: none;
  border-radius: 3px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  margin: 4px 2px;
  margin-left: 5px;
  padding: 4px 10px;
  text-align: center;
  text-decoration: none;
  transition: 0.25s;
  white-space: nowrap;
}

.large-button:hover {
  background-color: rgb(107, 107, 107);
  color: white;
  transition: 0.25s;
}

select {
  background-color: rgb(82, 82, 82);
  border: none;
  border-radius: 3px;
  border-right: 3px solid transparent;
  color: white;
  cursor: pointer;
  display: inline-block;
  overflow: scroll;
  padding: 4px 5px;
  position: relative;
  transition: 0.25s;
}

select:hover {
  background-color: rgb(107, 107, 107);
  color: white;
  transition: 0.25s;
}

select.content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  z-index: 1;
}

.links button {
  margin-top: 0px;
  padding: 4px 8px;
}

.links button a {
  color: black;
  text-decoration: none;
}

.nocaret {
  cursor: default;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4em;
  padding: 0 1em;
  border-bottom: 1px solid hsla(0, 0%, 100%, .1);
  background: linear-gradient(to bottom, rgba(33, 33, 28, 1) 0%, rgba(23, 23, 23, 0) 100%);
}

header ul {
  display: flex;
  align-items: center;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

header ul a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

header img {
  height: 2em; /* or adjust as needed */
  display: block;
}

header ul a:hover {
  color: #ffffff;
  text-decoration: none;
  transition: 0.25s;
}

input,
button,
textarea {
  background-color: white;
  border: 1px solid rgb(187, 187, 187);
  border-radius: 4px;
  box-sizing: border-box;
  color: rgb(82, 82, 82);
  cursor: pointer;
  font-family: "IBM Plex Sans";
  font-size: 16px;
  font-weight: 600;
  margin: 8px;
  outline: none;
  transition: 0.25s;
  padding-bottom: 1.25%;
  padding-top: 1.25%;
  width: 100%;
}

input:hover,
button:hover {
  background-color: rgb(213, 213, 213);
}

.input-field input:focus {
  border: 1px solid var(--lighter-grey);
  transition: 0.25s;
}

.input-field input:hover {
  border: 1px solid var(--lighter-grey);
  transition: 0.25s;
}

h1 {
  font-size: 3.2em;
  font-weight: 650;
}

h2 {
  font-weight: 575;
  text-indent: -10px;
  margin: 10px;
}

h3 {
  font-size: 1.4em;
  font-weight: 400;
}

#userdropdown {
  position: fixed;
  width: 210px;
  right: 0px;
  background-color: black;
}

#scores {
  color: rgba(43, 43, 43);
}

footer > p {
  text-align: center;
}

/* profile.css */

body, html {
  background-color: var(--dark-black);
  color: rgb(235, 235, 235);
  font-family: "IBM Plex Sans", sans-serif;
  margin: 0;
  width: 100%;
}