*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
picture {
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

h3 {
    font-weight: inherit;
    font-size: inherit;
    margin-top: 0.2rem;
    text-decoration: underline;
}

:root {
    --color-main: rgb(18, 18, 18);;
    --color-secondary: rgb(255, 255, 255);
    --color-highlight: #df97be;
    --gap: 0.8rem;
}

@font-face {
    font-family: "DRANGSAL";
    src: url(/assets/fonts/Mattone-Black.woff) format("woff"),
         url(/assets/fonts/Mattone-Black.woff2) format("woff2");
}

.margin-inline {
    margin-inline: var(--gap);
}

.desktop {
    display: block;
}
.mobile {
    display: none;
}

@media screen and (width < 500px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    
}


/*------------- STYLING -------------*/

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-secondary);
}

.entry_wrapper {
    color: var(--color-main);
    background-color: var(--color-secondary);
    font-size: clamp(1rem,1.4vw,2.2rem);
    text-transform: uppercase;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: "DRANGSAL";
}

.shop_button {
    color: var(--color-main);
    font-size: clamp(1.3rem,1.6vw,2.5rem);
    text-transform: uppercase;
    height: 20svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "DRANGSAL";
}

.entry_wrapper a,
.shop_button a {
    border: 2px solid var(--color-main);
    padding: var(--gap);
    transform: rotate(2deg);
}
.entry_wrapper a:hover,
.shop_button a:hover {
    color: var(--color-highlight);
}

.entry_wrapper img {
    width: 15vw;
    min-width: 250px;
}

/*------------ HEADER -------------*/

.header {
    position: sticky;
    top: 0;
    margin-top: calc(calc(100vh - var(--header-height)) + 2px);
    z-index: 20;
    background-color: var(--color-main);
}

.header menu {
    font-family: "DRANGSAL";
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    text-transform: uppercase;
    font-size: clamp(1.5rem,2.4vw,3.2rem);
    border-bottom: 2px solid var(--color-secondary);
    gap: var(--gap);
}

.header .menu_item:hover {
    color: var(--color-highlight);
}

.live {
    grid-column: 1;
}

/*--------- HEADER WÜRFEL ---------*/

.dice_wrapper {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.dice {
    width: 3vh;
    height: 3vh;
    /* background-color: var(--color-secondary); */
    position: relative;
    margin-left: 0;
    transition: all 0.3s;
    border-radius: 0.2rem;
    pointer-events: none;
}

.dice.shopActive {
    margin-left: calc(100% - 3vh);
}

.dot {
    position: absolute;
    background-color: var(--color-secondary);
    border-radius: 50%;
    height: 1vh;
    width: 1vh;
}

.dot-1 {
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all 0.3s;
}

.dot-2 {
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all 0.3s;
}

.dot-1.dot-1-active {
    left: 0.3vh;
    top: 0.3vh;
    transform: translateX(0) translateY(0);
}

.dot-2.dot-2-active {
    left: calc(100% - 1.1vh);
    top: calc(100% - 1.1vh);
    transform: translateX(0) translateY(0);
}

@media screen and (width < 700px) {
    .dice {
        width: 20px;
        height: 20px; 
    }
    .dice.shopActive {
        margin-left: calc(100% - 20px);
    }
    .dot {
        height: 0.8vh;
        width: 0.8vh;
    }
    .dot-2.dot-2-active {
        left: calc(100% - 0.9vh);
        top: calc(100% - 0.9vh);
        transform: translateX(0) translateY(0);
    }
}

/*---------- WÜRFEL ENDE -----------*/

.shop {
    grid-column: 3;
}

/*------------ SECTION -------------*/

.landing_section {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    z-index: 5;
}

.landing_section img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cta {
    bottom: calc(var(--header-height) + var(--gap));
    right: var(--gap);
    z-index: 100;
    position: absolute;
    width: 10vw;
}

@media screen and (width < 700px) {
    .cta {
        width: 25vw;
        bottom: var(--gap);
    }
}

section {
    min-height: 100dvh;
}

#live,
#shop {
    position: relative;
    z-index: 15;
    padding-inline: var(--gap);
    background-color: var(--color-main);
}

#shop .shop_wrapper {
    background-color: var(--color-secondary);
    color: var(--color-main);
}

/* LIVE EVENT */

.live-event {
    font-family: "DRANGSAL";
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-bottom: 5px solid var(--color-secondary);
    padding-block: var(--gap);
}

.live-event:not(:last-child) {
    margin-block: 4rem;
}

.event_date,
.event_venue {
    font-size: clamp(1.2rem, 3vw, 3.5rem);
    z-index: 10;
}

.event_date::before,
.event_date::after {
  content: "";
  display: inline-block;
  width: 1.2em; /* Adjust width relative to text */
  height: 1.2em; /* Match height to text size */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-top: -0.4rem;
}

.event_date::before {
  background-image: url("/assets/img/logos/grab.svg");
  margin-right: 0.2em; /* Adjust spacing */
}

.event_date::after {
  background-image: url("/assets/img/logos/grab.svg");
  margin-left: 0.2em; /* Adjust spacing */
  transform: scaleX(-1);
}

.fitty {
    line-height: 90%;
}

@media screen and (width < 700px) {
    .fitty {
        line-height: 120%;
    }
}

/*------------ SHOP --------------*/

.shop_wrapper {
    padding: var(--gap);
}

.shop_header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--gap);
}

.shop_header .shop_grid_item:first-child {
    grid-column: 1 / -1;
}

.shop_header .shop_grid_item:not(:first-child) {
    grid-column: span 1;
}

@media screen and (width < 700px) {
    .shop_header {
        grid-template-columns: 1fr;
    }
}

.shop_header img {
    width: 100%;
    aspect-ratio: 1;
}

.shop_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

@media screen and (width < 700px) {
    .shop_grid {
        grid-template-columns: 1fr;
    }
}

.shop_grid_item img {
    vertical-align: middle;
}

.shop_grid_item figcaption {
    text-transform: uppercase;
    padding-block: var(--gap);
    text-align: center;
}

.shop_grid_item:hover {
    rotate: 1deg;
    transition: all 0.3s;
}

/*------------ FOOTER -------------*/

.footer {
    background-color: var(--color-main);
    position: relative;
    padding-inline: var(--gap);
    z-index: 15;
}

.footer_top .socials {
    display: flex;
    gap: calc(var(--gap) * 2);
    padding-block: 1rem;
    justify-content: center;
}

.social_item:nth-child(2) {
    padding-right: calc(var(--gap) * 2);
    border-right: 2px solid var(--color-secondary);
}

.footer_top .socials img {
    width: 2.5rem;
}

@media screen and (width < 700px) {
    .footer_top .socials {
        gap: var(--gap);
    }
    .social_item:nth-child(2) {
        padding-right: var(--gap);
    }
    .footer_top .socials img {
        width: 1.8rem;
    }
}

.footer_bottom {
    border-top: 2px solid var(--color-secondary);
    font-family: "DRANGSAL";
    font-size: 0.9rem;
}

.footer_bottom summary {
    margin-top: var(--gap);
    padding-bottom: var(--gap);
}

.footer_bottom p:last-child {
    padding-bottom: var(--gap);
}

.footer_bottom p:not(:last-child) {
    margin-bottom: var(--gap);
}
