* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    color: inherit;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}

:root {
    --site-padding: 1.5rem;
    --max-width:780px;
    --border-radius: 0.75rem;
    --border-radius-soft: .45rem;
    --shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    --animation-primary: all .3s cubic-bezier(.7, 0, .3, 1);
}

:root {
    --neutral--0: #ffffff;
    --neutral--50: #f8f9fa;
    --neutral--100: #f2f3f6;
    --neutral--200: #d8dae0;
    --neutral--300: #6d7081;
    --neutral--400: #3b3d4a;
    --neutral--500: #262831;
    --neutral--600: #1d1e20;
    --neutral--700: #161718;
    --neutral--800: #000000;

    --bg-color: #ffe2c0;
    --c-green-dark: #59883e;
    --c-green-light: #84b26a;
    --c-red: #c24e3d;
    --c-beige-dark: #d8be8e;
    --c-beige-light: #e9d2aa;
    --c-brown-light: #d6a76c;
    --c-brown-dark: #b19068;
}
:root {
    
}

/*      
        -----------------
        /// UTILITIES ///
        -----------------
*/
body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

::-webkit-scrollbar {
    width: 0;
}

.no-select, footer {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hidden {
    display: none;
}

button, a {
    all: unset;
    cursor: pointer;
}

.page { 
    max-width: 520px; 
    margin-bottom: 2rem; 
    padding: 1rem; 
}

/*      
        ------------
        /// TAGS ///
        ------------
*/


/*      
        --------------
        /// ALERTS ///
        --------------
*/

.alert {
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #000;
    position: relative;
}

.alert-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.alert-icon::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f05a";
}

.alert-content {
    display: flex;
    flex-direction: column;
}

.alert-header {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.alert-info {
    background: rgba(166, 213, 250, 0.2);
    border: 1px solid rgba(166, 213, 250, 0.3);
    color: #0b4f75;
}

.alert-info .alert-icon::before {
    content: "\f05a";
}

.alert-success {
    background: rgba(143, 214, 162, 0.2);
    border: 1px solid rgba(143, 214, 162, 0.3);
    color: #1b5e20;
}

.alert-success .alert-icon::before {
    content: "\f058";
}

.alert-warning {
    background: rgba(255, 212, 125, 0.2);
    border: 1px solid rgba(255, 212, 125, 0.3);
    color: #7a5200;
}

.alert-warning .alert-icon::before {
    content: "\f071";
}

.alert-error {
    background: rgba(245, 168, 168, 0.2);
    border: 1px solid rgba(245, 168, 168, 0.3);
    color: #a00000;
}

.alert-error .alert-icon::before {
    content: "\f057";
}

.alert-content:only-child,
.alert-content:only-child .alert-header {
    align-self: center;
    text-align: center;
}

.alert:has(.alert-content:only-child) {
    align-items: center;
}

/*      
        ---------------
        /// LAYOUTS ///
        ---------------
*/

.flex, .center, .center-h, .center-v {
    display: flex;
}

.center-h, .center {
    justify-content: center;
}

.center-v, .center {
    align-items: center;
}

main {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 var(--site-padding);
    min-height: calc(100dvh - 202px);
    z-index: 1;
}

.grid-container {
    display: grid;
    max-width: 400px;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    margin: 2rem 0;
    box-sizing: border-box;
}

.grid-item {
    background: var(--c-beige-dark);
    cursor: pointer;
    border-radius: 1rem;
    text-align: center;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.grid-item:hover {
    transform: scale(1.03);
}

.grid-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.top {
    width: 100%;
}

/* === Kombucha background layer === */
#kombucha-bg{
    position:absolute; /* nicht fixed → deckt gesamte Seite ab */
    top:0; left:0;
    width:100%;
    height:100%;
    z-index:-1;
    pointer-events:none;
    /* für HiDPI wird intern per JS skaliert */
  }
  /* Stelle sicher, dass body position:relative bekommt, falls nötig */
  body { position: relative; }

/*      
        -------------------
        /// TYPOGRAPHY ///
        ------------------
*/

/*      
        --------------------
        /// INPUT FEILDS ///
        --------------------
*/


/*      
        ---------------
        /// BUTTONS ///
        ---------------
*/

/*      
        --------------
        /// HEADER ///
        --------------
*/

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem var(--site-padding);
      width: 100%;
      max-width: var(--max-width);
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .profile {
      border: 2px solid var(--c-green-light);
      aspect-ratio: 1;
      width: 58px;
      border-radius: 50%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }
    .profile img {
      height: 38px;
    }

    .head-btn {
      background-color: var(--c-beige-dark);
      color: var(--bg-color);
      font-size: 1.5rem;
      font-weight: 600;
      line-height: 1;
      padding: 8px 12px;
      border-radius: var(--border-radius-soft);
      transition: var(--animation-primary);
    }

    .head-btn:hover {
      background-color: var(--c-red);
      color: var(--bg-color);
    }

    .head-btn i {
      rotate: 180deg;
    }

/*      
        --------------
        /// FOOTER ///
        --------------
*/

footer {
      max-width: 780px;
      width: 100%;
      height: 128px;
      margin-top: auto;
      background-image: url("../visuals/footer.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }


/*

        /`·.¸
        /¸...¸`:·
    ¸.·´  ¸   `·.¸.·´)
    : © ):´;      ¸  {
    `·.¸ `·  ¸.·´\`·¸)
        `\\´´\¸.·´
      Lukas Burmester
        
    // published: 04.09.2025
    // last_updated: 04.09.2025
        
    IF YOU SEE THIS: HI :)

*/