:root {
  /* Colors */
  --color-dark: #1b2021;
  --color-blue: #5571e5;
  --color-orange: #f59d27;
  --color-light-yellow: #ffe8ca;
  --color-white: #fefeff;
  --color-neon: #c7f5a8;
  --color-pink: #e555bc;
  --color-grey: #4e5557;
  --color-yellow: #fcf376;

  /* Text Style */

  --font-sans-1: "Urbanist", "sans-serif";
  --font-sans-2: "Neutraface Text", "sans-serif";

  --font-size: 1rem;
  --font-scale: 1.25;

  --font-size-1: calc(var(--font-size) * var(--font-scale));
  --font-size-2: calc(var(--font-size-1) * var(--font-scale));
  --font-size-3: calc(var(--font-size-2) * var(--font-scale));
  --font-size-4: calc(var(--font-size-3) * var(--font-scale));
  --font-size-5: calc(var(--font-size-4) * var(--font-scale));
  --font-size-6: calc(var(--font-size-5) * var(--font-scale));
  --font-size-big: calc(var(--font-size-6) * var(--font-scale));
  --font-size-xl: calc(var(--font-size-big) * var(--font-scale));

  --font-size-text: 1.125rem;

  /* GAPS & STUFF */

  --section-gap: 6rem;
  --section-gap-item: 3rem;
  --section-gap-medium: 2rem;
  --section-gap-small: 1.5rem;
  --section-gap-xsmall: 1rem;

  --section-margin: 3rem;

  --section-width: 84rem;

  /* MENU & LISTS */

  --menu-heigt: 3rem;
}

/* RESET */
* {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
}

/* Typography */

body {
  font-family: var(--font-sans-1);
  color: var(--color-dark);
}

.hero,
.site-ingress,
.site-footer {
  background: none;
}

h1 {
  font-size: var(--font-size-6);
}
h2 {
  font-size: var(--font-size-5);
}
h3 {
  font-size: var(--font-size-4);
}
h4 {
  font-size: var(--font-size-3);
}
h5 {
  font-size: var(--font-size-2);
}
h6 {
  font-size: var(--font-size-1);
}

p {
  font-size: var(--font-size);
}

li {
  font-size: var(--font-size-text);
  font-weight: 600;
}

.ingress,
.inspo-ingress,
.crew-post {
  line-height: 2.8rem;
  font-family: var(--font-sans-1);
  font-size: var(--font-size-3);
  font-weight: 400;
}

/* Global settings */

.orange {
  color: var(--color-orange);
}
.yellow {
  color: var(--color-yellow);
}
.blue {
  color: var(--color-blue);
}
.white {
  color: var(--color-white);
}

/* Buttons */
.button {
  font-size: var(--font-size-2);
  font-family: var(--font-sans-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--color-orange);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 8px;
  margin: 0;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
}

.button svg:hover {
  transform: rotateX(180deg);
}

.button:hover {
  color: var(--color-blue);
}

.section__title {
  font-size: var(--font-size-4);
  font-family: var(--font-sans-2);
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.modal {
  border: 0;
  padding: var(--section-gap);
}

.modal::backdrop {
  background-image: url(assets/images/Wallpaper-5.jpg);
}

.modal__close {
  border: none;
  background: none;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal__form {
  display: grid;
  justify-items: start;
  width: 100%;
  gap: var(--section-gap-small);
}

.modal__form input,
.modal__form textarea {
  width: 100%;
  max-width: 100%;
  border: 0;
  padding: 1rem 1.5rem;
  background-color: var(--color-light-yellow);
}

.modal-button {
  color: var(--color-orange);
  justify-self: center;
  margin-top: var(--section-gap-small);
}

.modal__title {
  color: var(--color-orange);
  font-family: var(--font-sans-1);
}

/* Main Layout */

.container {
  background-color: var(--color-white);
  display: grid;
  background: url(assets/images/background-1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100vw;
}

.site-header {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--section-margin), 1fr) [inner-start] minmax(
      0,
      var(--section-width)
    )
    [inner-end] minmax(var(--section-margin), 1fr) [full-end];
}

.hero,
.site-header,
.site-ingress,
.inspo-banner__inner,
.crew,
.gallery,
.quest,
.inspo__bottom,
.site-footer,
.tabs {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--section-margin), 1fr) [inner-start] minmax(
      0,
      var(--section-width)
    )
    [inner-end] minmax(var(--section-margin), 1fr) [full-end];
}

.hero__inner,
.site-header__inner,
.site-ingress__inner,
.crew__inner,
.gallery__inner,
.quest__inner,
.quest__header,
.site-footer__inner,
.tabs__inner,
.tabs__content,
.contact__inner {
  grid-column: inner;
}

/* Header */

.site-header {
  height: var(--menu-heigt);
  background-color: rgba(233, 233, 238, 0.6);
  backdrop-filter: blur(5px);
  position: fixed;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(36, 77, 242, 0.1);
  transition: transform 0.2s;
}

.site-header--hide {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  position: relative;
  z-index: 1000;
}

.menu-button--close {
  color: var(--color-orange);
}

/* Menu */

.menu__list {
  list-style: none;
  display: flex;
  gap: var(--section-gap-small);
  font-family: var(--font-sans-2);
}

.menu__link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
}

.menu__link:hover {
  color: var(--color-blue);
}

.menu--current {
  color: var(--color-orange);
}

/* Responsive menu */
.responsive-menu {
  display: none;
  background-image: url(assets/images/Wallpaper-page\ kopiera.jpg);
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}

.responsive-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.responsive-menu__link {
  font-family: var(--font-sans-2);
  display: block;
  font-size: var(--font-size-1);
  padding: var(--section-gap-item) 0;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  text-align: center;
}

.responsive-menu--open {
  display: block;
}

.responsive-menu__link:hover {
  color: var(--color-orange);
}

/* HERO */
.hero {
  margin-top: var(--menu-heigt);
  position: relative;
  display: inline-block;
}

.hero-image {
  grid-column: full;
  width: 100%;
}

.hero__title {
  margin-bottom: 0;
  position: absolute;
  font-size: var(--font-size-xl);
  font-family: var(--font-sans-2);
  font-weight: 700;
  line-height: 7rem;
  color: white;
  left: 40%;
  top: 10%;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero__logo {
  position: absolute;
  left: 15%;
  top: 25%;
  margin: 0;
  padding-right: 16px;
  width: auto;
  height: auto;
}

/* Ingress */

.site-ingress {
  padding-bottom: var(--section-gap);
  padding-top: var(--section-gap);
}

.site-ingress__inner {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  padding: var(--section-gap-item);
}

.site-ingress p {
  color: var(--color-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* CTA -ingress */
.ingress-cta {
  display: flex;
  justify-content: center;
  padding-top: var(--section-gap-medium);
}

/* Inspo banner */

.inspo-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 3fr 2fr;
}

.inspo-image {
  overflow: hidden;
}

.inspo-image img {
  width: 100%;
  height: 452px;
  object-fit: cover;
  display: block;
  aspect-ratio: 1/1;
}

/* Crew section */

.crew {
  margin-top: var(--section-gap);
}
.crew__inner {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  padding: var(--section-gap-item);
}

.crew-post {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  margin: 0;
}

.crew-cta {
  padding-top: var(--section-gap-medium);
  display: flex;
  justify-content: center;
  align-items: center;
}

/*  Gallery*/

.gallery {
  margin-top: var(--section-gap);
}

.gallery_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--section-gap-small);
  padding: 0;
}
.gallery__content {
  gap: var(--section-gap-item);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

.gallery__item:nth-child(4) {
  grid-row: 2;
  grid-column: span 3;
}

.gallery__item {
  padding: 0;
  margin: 0;
  display: block;
  transition: transform 0.3s ease;
}

.gallery__item img {
  border-radius: 4px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery__item:hover {
  transform: scale(1.01);
}

/* Quests */

.quest {
  margin-top: var(--section-gap);
  display: grid;
}

.quest__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--section-gap-small);
}

.quest__card {
  position: relative;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: var(--color-white);
}

.quest__link {
  display: flex;
  background-color: #ffe8ca;
  max-width: 40px;
  max-height: 40px;
  padding: 10px;
  align-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: transform 0.3s ease;
}

.quest__link:hover {
  transform: scale(1.1);
  transform: rotate(-90deg);
}

.quest__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--section-gap-item);
}

.quest__image {
  aspect-ratio: 4/3;
  position: relative;
}

.quest__image img {
  object-fit: cover;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
}

.quest__title {
  font-size: var(--font-size-3);
  font-family: var(--font-sans-2);
  margin: var(--section-gap-small);
}

.quest__excerpt {
  max-width: 400px;
  color: #4e5557;
  margin: 0;
  font-weight: 500;
  margin: var(--section-gap-small);
}

/* Inspo bottom */

.inspo__bottom {
  margin-top: var(--section-gap);
  position: relative;
  background: url(assets/images/image13-bannerbottom.jpg);
  background-size: cover;
  padding: var(--section-gap) 0 var(--section-gap-item);
  min-height: 370px;
}

.inspo-text__bottom {
  grid-column: full;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: var(--section-gap-item);
}

.inspo-text__bottom p {
  max-width: 1080px;
  margin: 0;
  color: var(--color-white);
  line-height: 2.8rem;
  font-family: var(--font-sans-2);
  font-size: var(--font-size-3);
  font-weight: 500;
}
/* Footer */

.site-footer {
  min-height: 495px;
  position: relative;
  background-color: rgba(254, 254, 255, 0.8);
}

.site-footer__inner {
  padding-left: var(--section-gap-item);
  padding-right: var(--section-gap-item);
}

.site-footer__content {
  display: flex;
  justify-content: space-between;
  padding-top: var(--section-gap);
  z-index: 777;
  position: relative;
  padding-bottom: var(--section-gap-item);
}

.vertical__list {
  flex-direction: column;
  align-items: flex-start;
  padding-left: 0;
}

.site-footer__title {
  font-size: var(--font-size-3);
  font-family: var(--font-sans-2);
  padding: 0;
  margin: 0;
}

.site-footer__email {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
}

.site-footer__email:hover {
  color: var(--color-blue);
}

.social__list {
  list-style: none;
  display: flex;
  gap: var(--section-gap-small);
  margin: 0;
  padding: 0;
}

.social__link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--section-gap-small);
  background: none;
  background-color: transparent;
}

.social__item svg {
  height: 40px;
  width: 40px;
  color: var(--color-dark);
}

.site-footer__copyright {
  grid-column: full;
  text-align: center;
  background-color: var(--color-white);
  z-index: 888;
  padding: var(--section-gap-xsmall);
  color: var(--color-grey);
}

/* Pages templates */

.hero__merch,
.hero__crew,
.hero__contact,
.hero__quest {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(assets/images/Wallpaper-5.jpg);
  width: 100%;
  height: 400px;
}

.hero-title__merch,
.hero-title__crew,
.hero-title__contact,
.hero-title__quest {
  padding-top: 100px;
  font-size: 250px;
  font-family: var(--font-sans-2);
}

/* MERCH */

.tabs {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans-1);
  padding-top: 6rem;
}

.tab {
  position: relative;
  font-size: var(--font-size-1);
  font-family: var(--font-sans-2);
  font-weight: 700;
  text-decoration: none;
  border: none;
  color: var(--color-dark);
  background-color: var(--color-white);
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  z-index: 666;
  margin-left: 1rem;
}

.tabs__inner nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.tab:hover {
  color: var(--color-orange);
}

.tab svg:hover {
  transform: rotateX(180deg);
}

.tab.tab--current {
  color: var(--color-orange);
}

.panel {
  display: none;
}
.panel--current {
  display: block;
}

.add-to-cart-btn {
  font-size: var(--font-size-2);
  font-family: var(--font-sans-1);
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-orange);
  padding: 4px;
  border-radius: 3px;
  margin-left: 2rem;
  border: none;
}

.add-to-cart-btn:hover {
  background-color: var(--color-neon);
  color: var(--color-dark);
}

.hoodies,
.accessories,
.hats,
.totebags {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--section-gap-item);
}

.hoodie__card,
.merch__card,
.hat__card,
.totebag__card {
  background-color: white;
  margin-top: 4rem;
  padding-top: 1rem;
}

.hoodie img,
.accessorie__image,
.hat__image,
.totebag__image {
  max-height: 400px;
  max-width: 300px;
  margin: 0;
  padding: 0;
  border-radius: 3px;
}

.hoodie-info,
.accessories-info,
.hat-info,
.totebag-info {
  background-color: var(--color-white);
  padding: 2rem;
  margin: 0;
  font-family: var(--font-sans-1);
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.hoodie-info p,
.accessories-info p,
.hat-info p,
.totebag-info p {
  font-weight: 700;
  text-align: center;
}

.hoodie-info h5,
.accessories-info h5,
.hat-info h5,
.totebag-info h5 {
  margin: 0;
  text-align: center;
}

.hoodie-size,
.accessories-size,
.hat-size,
.totebag-size {
  font-family: var(--font-sans-1);
  font-size: var(--font-size-text);
  font-weight: 500;
  border: none;
  outline: none;
  background-color: var(--color-white);
}

.site-footer__pages {
  background-image: url(assets/images/Wallpaper-page\ kopiera.jpg);
  margin-top: var(--section-gap);
}

/* CONTACT PAGE */

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: var(--section-gap) auto;
}

.contact__text {
  max-width: 600px;
  font-size: var(--font-size-2);
  line-height: 1.8;
  margin: var(--section-gap-item);
  color: var(--color-dark);
}

.button-contact {
  transition: transform 0.3s ease;
  border: none;
}

.button-contact svg:hover {
  transform: rotate(-30deg);
}

/* Enhetsanpassning */

@media screen and (max-width: 1280px) {
  .hero__title {
    font-size: var(--font-size-big);
    left: 50%;
    margin-top: 2%;
  }

  .hero__logo {
    top: 15%;
    left: 15%;
  }

  .ingress,
  .inspo-ingress,
  .crew-post {
    line-height: 2rem;
    font-size: var(--font-size-2);
    font-weight: 500;
  }

  .button {
    font-size: var(--font-size-1);
    padding: 4px;
  }
  .button svg {
    width: 30px;
    height: 25px;
  }
}

@media screen and (max-width: 1024px) {
  .hero__title {
    font-size: var(--font-size-6);
    line-height: 5rem;
    left: 50%;
    top: 12%;
  }

  .hero__logo svg {
    top: 15%;
    height: 260px;
    width: 260px;
  }

  .ingress,
  .inspo-ingress,
  .crew-post {
    line-height: 1.5rem;
    font-size: var(--font-size-1);
    font-weight: 500;
    padding: var(--section-gap-small);
  }
  .site-footer h3 {
    font-size: var(--font-size-2);
    border-bottom: 2px solid var(--color-dark);
  }
  .inspo-image img {
    height: 18rem;
  }

  .inspo-text__bottom {
    grid-column: inner;
  }
}

@media screen and (max-width: 950px) {
  :root {
    --section-gap: 64px;
    --section-margin: 24px;
    --section-gap-item: 32px;
  }

  .section__title {
    font-size: var(--font-size-3);
  }
  .hero__title {
    font-size: var(--font-size-5);
    top: 15%;
    line-height: 4.2rem;
  }

  .hero__logo svg {
    height: 250px;
    width: 250px;
  }

  .crew-cta,
  .ingress-cta {
    padding-top: 0;
  }

  .inspo-text__bottom p {
    font-size: var(--font-size-2);
  }

  .site-footer__content {
    flex-wrap: wrap;
    gap: var(--section-gap-item);
  }

  .inspo__bottom {
    min-height: 18rem;
  }
}

@media screen and (max-width: 768px) {
  .hero__title {
    font-size: var(--font-size-4);
    top: 10%;
    left: 52%;
    line-height: 3.5rem;
  }
  .hero__logo {
    top: 12%;
    left: 20%;
  }

  .hero__logo svg {
    width: 190px;
    height: 190px;
  }

  .section__title {
    font-size: var(--font-size-2);
  }

  .ingress,
  .crew-post {
    line-height: 1.3rem;
    font-size: var(--font-size-text);
    font-weight: 500;
  }

  .gallery__content {
    grid-template-columns: 1fr;
    grid-row: unset;
  }

  .gallery__item img {
    aspect-ratio: 2/1;
  }
  .gallery__item:nth-child(4) {
    display: none;
  }

  .quest__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--section-gap-item);
  }

  .quest__image {
    aspect-ratio: 2/1;
  }

  .quest__title {
    font-size: var(--font-size-2);
  }

  .menu-button {
    display: block;
  }
  .menu {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .hero__title {
    font-size: var(--font-size-3);
    top: 11%;
    left: 53%;
    line-height: 3rem;
  }
  .hero__logo {
    top: 12%;
    left: 20%;
  }

  .hero__logo svg {
    width: 160px;
    height: 160px;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --section-gap: 48px;
    --section-gap-item: 24px;
    --section-margin: 16px;
  }

  .hero__title {
    font-size: var(--font-size-2);
    line-height: 2.2rem;
    top: 10%;
  }

  .hero__logo {
    top: 12%;
  }
  .hero__logo svg {
    width: 120px;
    height: 120px;
  }

  .inspo-image img {
    height: 12rem;
  }

  .site-ingress__inner,
  .crew__inner {
    grid-column: full;
  }

  .ingress,
  .crew-post {
    line-height: 1.2rem;
    font-size: var(--font-size);
    font-weight: 400;
  }

  .quest__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--section-gap-item);
  }

  .quest__title {
    margin: 16px 16px 8px 16px;
    font-size: var(--font-size-1);
  }

  .quest__excerpt {
    margin: 0 16px 16px 16px;
    font-size: var(--font-size);
  }

  .inspo-text__bottom p {
    font-size: var(--font-size-text);
    line-height: 1.5;
  }

  .inspo__bottom {
    min-height: 12rem;
  }

  .button {
    font-size: var(--font-size);
    padding: 4px;
  }
  .button svg {
    width: 25px;
    height: 30px;
  }

  .menu__link {
    font-size: var(--font-size);
  }
}

@media screen and (max-width: 380px) {
  .hero__title {
    font-size: var(--font-size-text);
    line-height: 1.5rem;
    top: 15%;
  }

  .hero__logo {
    top: 13%;
    left: 20%;
  }
  .hero__logo svg {
    width: 90px;
    height: 90px;
  }
}
