/* VARIABLES */

:root {
  --accentpink: #ed2077;
  --accentpurple: #9c31ff;
  --white: #fbfbfb;
  --dark: #2e2532;
  --darker: #201a23;
}

/* FONTS */

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("./assets/fonts/Poppins-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* CSS */

/*was auf alle sections soll*/
section.releases,
section.directors,
section.join,
section.linktree,
section.dmie {
  padding-left: 0;

  clip-path: polygon(0 30px, 100% 0, 100% calc(100% - 30px), 0 100%);
}

/* CSS */

body {
  background-color: var(--darker);
  color: var(--white);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a.link {
  color: var(--accentpink);
  text-decoration: none;
  transition: color 0.3s ease;
}
a.link:hover {
  color: var(--accentpurple);
}

h1 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 700;
}

.title {
  text-align: center;
  font-size: 50px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 150px;
}

.title img {
  width: 100px;
  height: 100px;
  margin: 17.5px 0.5vw 7.5px 0;
}

.title h1 {
  margin: 0;
  padding: 0;
}

.title h1:nth-child(2) {
  color: var(--accentpink);
  margin-right: 10px;
}

.title h1:nth-child(3) {
  color: var(--accentpurple);
  margin-left: 10px;
}

section {
  background-color: var(--dark);
  width: 100%;
  padding: 50px 25px 50px 25px;
  margin: 50px 0;
}

section.about {
  width: 35%;
  margin: 50px auto 50px auto;
}

.glass {
  border-radius: 25px;
  background: linear-gradient(
    123deg,
    rgba(237, 32, 119, 0.12) 0%,
    rgba(155, 49, 255, 0.12) 100%
  );
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5.8px);
  border: 1px solid rgba(251, 251, 251, 0.096);
}

section.about p {
  text-align: center;
  font-size: 25px;
  width: 100%;
  margin: 0 auto;
}

.cool-background {
  background-image: url("./assets/endiversum-studios-background.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}
.cool-background-1 {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);

  padding-bottom: 150px;
}
.cool-background-2 {
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
}

.scroll-arrow svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  opacity: 0.8;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-arrow:hover svg {
  opacity: 1;
  stroke: var(--accentpink);
  transform: scale(1.1);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 0;
  margin-top: 0;
}

article.film,
article.film img {
  height: 250px;
}

article.film {
  display: flex;
  flex-direction: row;
  width: 450px;
  flex-shrink: 0;
}

article.film img {
  border-radius: 15px;
}
article.film img.thumbsize {
  width: 166px;
  height: 93px;
  margin: auto 0;
}

article.film div {
  width: 100%;
  margin-left: 10px;
}

article.film div * {
  margin-top: 2.5px;
  margin-bottom: 2.5px;
}

article.film div h3 {
  margin-top: 5px;
}

article.film div p.marke {
  font-size: 12.5px;
}

article.film div p.director {
  font-size: 15px;
}

article.film div p.description {
  margin-top: 7.5px;
}

.gallery-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

div.gallery {
  display: flex;
  flex-direction: row;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 25px;
}

div.gallery::-webkit-scrollbar {
  display: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 37, 50, 0.8);
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-nav:hover {
  background: rgba(237, 32, 119, 0.8);
  border-color: var(--accentpink);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.disabled {
  opacity: 0;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-nav-left {
  left: 20px;
}

.gallery-nav-right {
  right: 20px;
}

.gallery-nav svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.directors div {
  width: fit-content;
  margin: 0 auto;

  display: flex;
  flex-direction: row;
  gap: 50px;

  margin-top: 20px;
}

.directorarticle,
.directorarticle img {
  width: 300px;
  border-radius: 20px;
}
.directorarticle {
  text-align: center;
}
.directorarticle h3,
.directorarticle p {
  margin-left: 5px;
  margin-right: 5px;
}
.directorarticle h3 {
  margin-top: 0px;
  margin-bottom: 0px;
}
.directorarticle p.description {
  margin-top: 0px;
  margin-bottom: 5.5px;
}
.directorarticle p.introduction {
  margin-top: 7.5px;
  margin-bottom: 10px;
}

section.join p {
  text-align: center;
  width: 50%;
  margin: 0 auto;
  font-size: 20px;
  margin-top: 10px;
}
section.join p.button-wrapper {
  margin-top: 30px;
}
section.join a {
  text-align: center;
}

a.button {
  color: white;
  text-decoration: none;
  border-radius: 25px;
  background: linear-gradient(
    123deg,
    rgba(237, 32, 119, 0.35) 0%,
    rgba(156, 49, 255, 0.35) 100%
  );
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(5.8px);
  border: 2px solid rgba(251, 251, 251, 0.096);
  padding: 10px 15px;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}
a.button:hover {
  background: linear-gradient(
    123deg,
    rgba(237, 32, 119, 0.5) 0%,
    rgba(156, 49, 255, 0.5) 100%
  );
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.2);
  font-size: 25px;
}

.enderia-discord {
  margin-top: 75px;
}

section.links p {
  text-align: center;
}

div.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
}

div.links-split div {
  width: 250px;
  text-align: center;
}

section.linktree > p {
  text-align: center;
  margin-bottom: 30px;
}

div.links-split h3 {
  margin-top: 5px;
  margin-bottom: 5px;
}
div.links-split p {
  margin-top: 5px;
  margin-bottom: 5px;
}

footer {
  text-align: center;
  margin-top: 100px;
  padding-top: 100px;
  padding-bottom: 100px;
}

section.dmie p,
section.dmie a {
  text-align: center;
}

section.dmie div {
  width: 50%;
  margin: 0 auto;
}

section.dmie p.button-wrapper {
  margin-top: 35px;
}

article.directorarticle p.description {
  font-size: clamp(12px, 1.2vw, 16px);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
}

article.directorarticle p.description b {
  display: inline-block;
  max-width: 100%;
  font-size: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

article.directorarticle p.description b a {
  font-size: inherit;
}

@media (max-width: 1130px) {
  div.title h1 {
    font-size: 8vw;
    margin-top: auto;
    margin-bottom: auto;
  }
  div.title img {
    width: 9vw;
    height: 9vw;
    margin-top: auto;
    margin-bottom: auto;
  }
  section.about {
    width: 80%;
  }
  section.about p {
    font-size: 20px;
  }
  section.directors div {
    flex-direction: column;
  }
  a.button {
    font-size: 2.5vw;
  }
  div.links-split {
    flex-direction: column;
  }
  div.links-split div {
    margin: 0 auto;
  }
  footer div {
    flex-direction: column !important;
    gap: 10px;
  }
  footer div a {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}
