/* --------------------- HERO SECTION -------------------------- */

.hero-section {
  position: relative;
  display: flex;
  padding-inline: calc((100% - 91vw) / 2);
  min-height: 90vh;
  background: url("assets/img/bg/bg-hero-section-2.JPG") no-repeat;
  background-color: var(--clr-primary-orange);
  background-size: cover;
  background-position: right 35% bottom 55%;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(transparent, rgb(0, 0, 0) 170%);
  width: 100%;
}

.bg-hero-texture {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background: url("assets/img/abstract-textured-black-background.jpg") no-repeat;
  opacity: 0.5;
  background-size: cover;
  background-position: 0 0;
}

.bg-hero-overlay {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  width: 100vw;
  height: 100%;
  mix-blend-mode: darken;
  opacity: 0.2;
  background-color: #1b1203;
}

.hero-content {
  position: relative;
  width: 100%;
  margin-block: auto;
  z-index: 2;
}

/* .circular-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
} */

/* .circular-dot img {
  width: 80%;

  transform: unset;
  opacity: 0.06;
  object-fit: contain;
  mix-blend-mode: screen;
  animation: rotation 30s infinite alternate;
}
 */
.title {
  align-items: flex-end;
  /* margin-top: 13em; */
  /* margin-bottom: 10em; */
}

.title img {
  margin-left: auto;
  min-width: 15vw;
  transform: translate(-50px, 0px);
  /* aspect-ratio: 1 / 1; */
}

.big-title {
  /* font-family: "KG HAPPY", sans-serif; */
  text-align: left;
  font-weight: 400;
  color: var(--clr-secondary-white);
  font-size: clamp(4rem, 7vw, 18rem);
  line-height: normal;
}

.big-title h3 {
  font-size: 0.6em;
  line-height: 1em;
  color: var(--clr-primary-orange);
}

.big-title h2 {
  margin-top: 0.2em;
  font-size: inherit;
  line-height: 1em;
}

/* ---------------------------------- ORANGE SECTION  ------------------------------ */

.colored-section {
  --padding-top-section-color: 90px;
  background: url("assets/img/abstract-textured-black-background\ 1.png");
  background-size: contain;
  min-height: 100vh;
  padding-block: var(--padding-top-section-color);
  margin-block: 3em;
  padding-inline: var(--gbl-padding);
  padding-right: 0;
  position: relative;
}
.orange::before,
.orange::after {
  background: url("assets/img/frise-decoration-orange-textured.png") center bottom/contain repeat-x;
}
.white::before,
.white::after {
  background: url("assets/img/frise-decoration-white-textured.png") center bottom/contain repeat-x;
}
.blue::before,
.blue::after {
  background: url("assets/img/frise-decoration-blue-textured.png") center bottom/contain repeat-x;
}
.green::before,
.green::after {
  background: url("assets/img/frise-decoration-green-textured.png") center bottom/contain repeat-x;
}

.orange::before,
.white::before,
.blue::before,
.green::before {
  content: "";
  position: absolute;
  top: -4.8vh;
  right: 0;
  left: 0;
  /* bottom: 0; */
  height: 5vh;
  width: 100%;
  transform: scaleX(2.2);
}
.orange::after,
.white::after,
.blue::after,
.green::after {
  content: "";
  position: absolute;
  bottom: -4.8vh;
  right: 0;
  left: 0;
  /* bottom: 0; */
  height: 5vh;
  width: 100%;

  transform: scaleY(-1) scaleX(2.2);
}

/* -------------------------------------------------------------------------------- */
/* .colored-section {
  --padding-top-section-color: 90px;
  background: url("assets/img/abstract-textured-black-background\ 1.png") var(--BLUP-backgroud-black-2);
  background-size: contain;
  padding-top: var(--padding-top-section-color);
  min-height: calc(100vh - var(--padding-top-section-color));
  min-height: 100vh;
  padding-inline: var(--gbl-padding);
  padding-right: 0;
  margin-bottom: 10em;
} */

.colored-section h1 {
  /* text-align: center; */
  font-size: clamp(1.5em, 4.5em, 6em);
  font-family: "Indigo Regular", sans-serif;
  width: fit-content;
  color: var(--clr-secondary-white);
  letter-spacing: 12px;
  line-height: 1em;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-450px);
}

.orange {
  background-color: var(--clr-primary-orange);
  position: relative;
  margin-top: -10px;
  z-index: 20;
}

.white {
  background-color: var(--clr-primary-white);
  position: relative;
  /* margin-top: -160px; */
  z-index: 20;
}

.green {
  background-color: var(--clr-primary-green);
  position: relative;
  /* margin-top: -160px; */
  z-index: 20;
}

.blue {
  background-color: var(--clr-primary-blue);
  position: relative;
  margin-bottom: 70em;
  /* margin-top: -160px; */
  z-index: 20;
}

.white h1 {
  color: #464646;
}
/* .green h1 {
  color: #464646;
}
.blue h1 {
  color: #464646;
} */

.galery {
  width: 100%;
  overflow: hidden;
  margin-top: 1.6em;
  height: min(480px, 500px);
  background: url("assets/img/abstract-textured-black-background\ 1.png") var(--BLUP-backgroud-black-2);
  background-size: cover;
}

.galery svg {
  width: 210px;
  height: 100%;
  flex-shrink: 0;
}

.galery svg g.frise {
  transform: translateX(-600px) scale(2.4);
}

.galery-col {
  flex-grow: 1;
  padding: 15px;
  margin: 15px 5px 15px 0;
  overflow-y: scroll;
}

.galery-col::-webkit-scrollbar {
  width: 5px;
  background-color: #434343;
}
.galery-col::-webkit-scrollbar-thumb {
  background-color: #d4d4d4;
}

.year h2 {
  color: rgba(248, 250, 250, 0.6);
  font-family: "Indigo Regular", sans-serif;
  margin-bottom: 1em;
}

.year > div:first-of-type {
  display: flex;
  justify-content: space-between;
}

.year .chevron {
  width: 25px;
  margin-right: 15px;
  height: 25px;
  transform: rotate(-90deg);
}

.galery-row {
  gap: 15px;
  flex-wrap: wrap;

  padding: 0.5em;
  overflow: hidden;
  transition: height 0.5s ease;
}

/* .galery-row.close {
  padding: 0;
  height: 0px;
  transition: height 0.5s ease;
} */

hr {
  opacity: 0.4;
}

.galery-row .img-box {
  position: relative;
  overflow: hidden;
  transition: transform 2s;
  min-width: 200px;
  height: 130px;
  outline: 2.3px dashed rgb(174, 174, 174);
}

.extLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.6s;
  min-width: 130px;
  height: 130px;
  text-decoration: none;
  opacity: 0.1;
  color: var(--clr-secondary-white);
}

.extLink:hover {
  opacity: 0.8;
}

.extLink img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.galery-row .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galery-row .img-box:hover img {
  transform: scale(1.2);
  transition: transform 0.5s;
  object-fit: cover;
}

.galery-row .img-box::before {
  content: "";
  position: absolute;
  background-color: var(--BLUP-backgroud-black-3);
  opacity: 0.8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* z-index: 20; */
}

.galery-row .img-box:hover {
  /* border: none; */
  outline: none;
  cursor: pointer;
}

.img-box:hover::after {
  opacity: 0;
  transition: opacity 0.5s ease 0.1s;
}

/* ---------------------- ANIMATION --------------------------------------------------- */

@keyframes rotation {
  100% {
    transform: rotate(45deg);
  }
}

/* ---------- mobile -------------------------------------- */

@media only screen and (max-width: 711px) {
  .hero-section {
    position: relative;
    padding-inline: 1em;
    background-position: right 55% bottom 55%;

    min-height: 97vh;
  }

  .bg-hero-texture {
    background-size: cover;
    background-position: 0px 0;
  }

  .title {
    align-items: center;
    margin-top: unset;
    /* margin-bottom: 8em; */
    gap: 80px;

    flex-direction: column;
  }

  .title img {
    margin-top: unset;
    margin-left: unset;
    min-width: 8vw;
    transform: unset;
  }

  .big-title {
    text-align: center;

    font-size: 2.3em;
    line-height: 25px;
    margin-top: 2em;
    margin-bottom: 0.5em;
  }

  .big-title h3 {
    font-size: 0.8em;
  }

  .colored-section {
    background-size: contain;
    --padding-top-section-color: 50px;
    padding-top: var(--padding-top-section-color);
    min-height: 100vh;
    /* min-height: calc(100vh - var(--padding-top-section-color)); */
    padding-inline: 0;
  }

  .colored-section h1 {
    font-size: clamp(1.2em, 2em, 2.2em);
    margin-left: 0.5em;
    letter-spacing: 5px;
    line-height: auto;
  }

  

  .blue {
    height: 500px;
  }

  .galery {
    margin-top: 1.5em;
    /* height: min(620px, 630px); */
    height: 80vh;
  }

  .galery-col {
    padding: 10px;
  }

  .extLink {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    min-width: 70px;
    height: 100%;
    text-decoration: none;
    opacity: 0.6;
    color: var(--clr-secondary-white);
  }

  .extLink:hover {
    opacity: 0.8;
  }

  .extLink img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: -8px;
  }

  .extLink p {
    font-size: 0.9em;
  }

  .galery-row {
    display: grid;
    row-gap: 10px;

    grid-template-columns: repeat(2, minmax(25%, 1fr));
  }

  .galery svg {
    width: 60px;
    height: 100%;
    flex-shrink: 0;
  }

  .galery svg g.frise {
    /* height: 3213px; */
    /* width: 100px; */
    transform: translate(-400px, -40px) scale(2);
  }

  .year h2 {
    font-size: 1em;
  }

  .galery-row .img-box {
    min-width: 120px;
    height: 100px;
    outline: 1.8px dashed rgb(174, 174, 174);
  }

  .separation {
    background: url("assets/img/separation_line_confetti.png") repeat-x;
    background-size: 200%;
    height: 40px;
    width: 100%;
  }

  footer {
    margin-top: -15em;
  }
}

@media only screen and (max-width: 320px) /* and (max-width: 709px) */ {
  .big-title h3 {
    font-size: clamp(0.7em, 6vw, 1.2em);
  }

  .big-title h2 {
    font-size: clamp(0.7em, 7vw, 1.2em);
  }
  .title img {
    margin-top: unset;
    margin-left: unset;
    min-width: 8vw;
    transform: unset;
  }

  .galery {
    height: 80vh;
  }

  .galery-col {
    position: relative;
    right: 10px;
    flex-grow: 1;
    padding: 15px 15px 0px 5px;
    margin: 15px 5px 15px 0;
    overflow-y: scroll;
  }

  .galery-row {
    row-gap: 50px;
    display: grid;
    grid-template-columns: unset;
    grid-auto-rows: 60px;
    /* flex-wrap: wrap; */
    margin-block: 0.6em;
  }

  .galery svg {
    position: relative;
    left: -12px;
    width: 50px;
    transform: translate(-10px, 0) scale(1);
  }

  .galery-row .img-box {
    min-height: 100%;
  }

  .galery svg g.frise {
    transform: translate(-310px, -40px) scale(2);
  }
}

@media only screen and (min-width: 712px) and (max-width: 820px) {
  .title {
    align-items: center;
    margin-top: unset;
    /* margin-bottom: 8em; */
    gap: 80px;
    flex-direction: column;
  }

  .title img {
    transform: translate(-10vw, 12vh);
  }

  .colored-section {
    --padding-top-section-color: 50px;
    padding-top: var(--padding-top-section-color);
    min-height: 100vh;
    padding-left: 5vw;
  }

 

  /* .colored-section h1 {
    margin-left: 25px;
  } */

  .galery {
    height: 80vh;
  }

  .galery-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 15px;
    margin-block: 0.6em;
  }

  .galery svg {
    position: relative;
    left: -12px;
    width: 50px;
    transform: translate(-10px, 0) scale(1);
  }

  .galery-row .img-box {
    min-width: 100%;
    height: 100%;
  }

  .galery svg g.frise {
    transform: translate(-310px, -40px) scale(2);
  }

  footer {
    margin-top: 100em;
    padding: 5em calc((100% - 91vw) / 2) 15px;
  }
}
