:root {
  --color-primary: #ff4f00;
  --color-secondary: #3d4246;
  --color-accent: #ff6e2b;
  --color-background: #2c3033;
  --color-dark-background: #191b1d;
  --color-text: #ffffff;
  --color-text-hover: #d6d6d6;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Source Sans', sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 5vw;
  max-width: 100%;
  margin: 0 auto;
}

.container > div {
  flex: 1 1 20vw;
  min-width: 200px;
}

@media (max-width: 768px) {
  .container > div {
    flex: 1 1 100%;
    text-align: left;
  }
}

.container-horizontal {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.container-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: left;
}

.container-vertical > div {
  flex: 1 1 1vw;
  min-width: 200px;
}

.white-link,
.white-link:hover {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;

  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
}

.white-link:hover {
  text-decoration: underline;
  color: var(--color-text-hover);
}

a,
a:hover {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;

  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
}

a:hover {
  text-decoration: underline;
  color: var(--color-text-hover);
}

a.no-link-style {
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--color-text);
}

a.no-link-style:hover {
  color: var(--color-text-hover);
}

a.header-option,
a.header-option:hover {
  color: var(--color-text);
  text-decoration: none;
  font-weight: bold;
  min-width: 10;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: inline-block;
}

a.header-option:hover {
  background-color: var(--color-accent);
}

hr {
  border: none;
  border-top: 1px solid var(--color-text);
}

.site-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: var(--color-primary);
}

.logo {
  height: 48px;
  margin-right: 10px;
}

i {
  color: var(--color-text);
}

.image-banner {
  width: calc(100% + 40px);
  height: 250px;
  background: var(--banner-url) center center / cover no-repeat;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 40px;
  box-sizing: border-box;
}

.image-banner-zoom {
  position: relative;
  width: calc(100% + 40px);
  height: 250px;
  overflow: hidden;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 40px;
  box-sizing: border-box;
  cursor: pointer;
}

.image-banner-zoom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--banner-url) center center / cover no-repeat;
  transition: transform 0.3s ease;
  transform-origin: center;
  z-index: -1;
}

.image-banner-zoom:hover::before {
  transform: scale(1.04);
}

.image-wrapper {
  overflow: hidden;
  display: inline-block;
}

.project-release-list {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, 320px);
  gap: 20px;
  margin-top: 20px;
}

.project-release-card {
  background-color: var(--color-dark-background);
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 350px;
  justify-content: flex-start;
}

.project-release-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-release-card p {
  font-size: 0.95rem;
  display: -webkit-box;
  line-clamp: 6;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0;
}

.project-release-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: px;
  transition: transform 0.3s ease;
}

.project-release-card:hover .project-release-image {
  transform: scale(1.04);
}

.file-card {
  background-color: var(--color-dark-background);
  border-radius: 5px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  justify-content: flex-start;
}

header {
  display: flex;
  align-items: center;
  justify-content: left;
}