/* TODO Hosting Google Fonts locally */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    hyphens: auto;
}

.grid.bg-beige {
  overflow: hidden;
  position: relative;
}

img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 20px;
}

.img-margin {
    margin: 1rem;
}

/* because Gridlex adds a negative space to the grids and depending on the design this can be quirky */
[class*=grid] { margin:0; }
[class*=col] { padding:0; }

section { position: relative; }

html {
    scroll-behavior: smooth;
}

/* color palette */
:root {
    --blau: #74ACF1;
    --orange: #FA8224;
    --flieder: #AD818E;
    --beige: #D9D1C7;
    --off-white: #fdfaf4;
    --bordeaux: #540B0E;
    --teal: #29524A;
    --dark-green: #020101;
}

.gradient-radial { 
    background: radial-gradient(circle at top left, var(--off-white), var(--teal));
}

.gradient { 
    background: linear-gradient(to bottom, #ffffff, var(--off-white));
}


.bg-blue { background-color: var(--blau); }
.bg-off-white {background-color: var(--off-white);}
.bg-beige {background-color: #D9D1C7;}

.bg-teal     { background-color: var(--teal);}
.bg-green-light { background-color: #dfdfd7;}
.bg-rust     { background-color: #a2745c;  }

.card {
    background-color: var(--off-white);
    border-radius: 1rem;
    flex: 1 1 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gap {
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.grid-specific {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

/* Re-usable utility classes */

.tall-50 { max-height: 50vh; }
.tall-60 { min-height: 60vh; }
.tall-70 { min-height: 70vh; }
.tall-80 { max-height: 80vh; }
.tall-90 { min-height: 90vh; }


.padded    { padding: 5%;    }
.padded-09 { padding: 0.9rem;}
.padded-1  { padding: 1rem;  }
.padded-2  { padding: 2rem;  }
.padded-3  { padding: 3rem;  }


.padded-t  { padding-top: 5%;     }
.padded-t-1  { padding-top: 1rem;     }
.padded-t-2  { padding-top: 2rem;     }
.padded-r-2  { padding-right: 2rem;     }
.padded-l-2  { padding-left: 2rem;     }
.padded-b  { padding-bottom: 5%;  }
.padded-l  { padding-left: 5%;    }
.padded-r  { padding-right: 5%;   }

.padded-img {
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.text-description {
    font-size: 1rem;
}

.padded-0 { padding: 0; }
.padded-b-0 { padding-bottom: 0; }
.padded-b-1 { padding-bottom: 1rem; }
.padded-b-2 { padding-bottom: 2rem; }
.padded-t-0 { padding-top: 0; }
.padded-t-1 { padding-top: 1rem; }

.margin-b-0 { margin-bottom: 0; }
.margin-b-1 {margin-bottom: 1rem;}
.margin-b-2 {margin-bottom: 2rem;}
.margin-t-1 {margin-top: 1rem;}
.margin-t-2 {margin-top: 2rem;}
.margin { margin: 5%; }

.landscape {padding-bottom: 60%;}
.portrait {padding-bottom: 120;}

.light-text { color: white; } 


.left   { text-align: left; }
.center { text-align: center; }
.right  { text-align: right; }

.border {
    border-bottom: 50px solid var(--off-white);
    border-left: 50px solid var(--off-white);
    border-right: 50px solid var(--off-white); 
}

.border-radius {
    border-radius: 20px;
}

/* Typography */

body{
    font-family: 'Aleo', sans-serif; 
    color: #000000;
}

.logo{
    font-size: clamp(2rem, 4vw, 5rem); 
    letter-spacing: -0.1rem;
    font-family: 'Didot', Georgia, serif;
    font-weight: 700;
}

h1 {
    font-family: aleo, serif;
    color: black;
}

h2, h3, h4, h5, h6{
    font-family: 'Roboto', sans-serif;
    padding-bottom: 0.8rem;
}

h2 { 
    font-size: 3rem; 
    line-height: 1;
    font-weight: 700;
}

h3 { 
    font-size: 1.5rem;
    font-weight: 500;
}
h4 { font-size: 1.4rem; }

p{ 
    font-size: 1.1rem;
    line-height: 1.6rem;
    color: black;
    padding-bottom: 0.5rem;
}

p.line-height-2 { line-height: 1.9rem; }

h2:last-child, 
h3:last-child, 
h4:last-child, 
h5:last-child, 
h6:last-child, 
p:last-child {
	margin-bottom: 0;
    padding-bottom: 0;
}
  
.bold-heading{
    font-size: 3vw;
    letter-spacing: 0.2rem;
    font-family: serif;
}

.bold{
    font-size: clamp(2rem, 3.5vw, 5rem);
    letter-spacing: 0.1rem;
    font-family: serif;
}

.price {
    font-size: 1.5rem;
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
    font-weight: 500;
}

.highlight {
    font-size: 2rem;
    font-family: 'Didot', Georgia, serif;
}

.subtle {
    font-size: 1rem; 
    font-weight: 300;
}

.width60 {
    max-width: 60%;
}

.width90 {
    max-width: 90%;
}

details {
    border-bottom: 1px solid var(--teal);
    padding: 1rem 0;
    padding-top: 1rem; 
}
  
summary {
    cursor: pointer;
    list-style: none;
    font-weight: bold;
    text-transform: uppercase;
}

details[open] summary {
    margin-bottom: 1rem;
}

/* images */ 
.bg-image-1 {
    background-color: var(--teal);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
    background-position: 50% 50%; 
    border-radius: 1rem;
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: contain;
}

.bg-image {
  background-color: var(--teal);
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.bg-main {
    background-image: url('/images/main.JPG');
    background-position: 50% 80%;    
}

.deco-bild-1 {
    position: absolute;
    bottom: 0;
    right: -100px;
    z-index: 0;
    width: 50vw;
    object-fit: cover;
}

.deco-bild {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -100px;
  z-index: 0;
  width: 50vw;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.front {
    position: relative;
    z-index: 1;
}

.fas {
    color: #333333; 
    margin-left: 0.5rem;
}

.fas:hover { 
    cursor: pointer;
    color: var(--bordeaux)
 }

/* Links */

header a {
    text-decoration: none;
    color: inherit; 
    display: inline-block;
    padding: 0 1rem;
}

.nav {
    position: sticky;
    top: 0;
}

footer a {
    text-decoration: none;
    color: inherit; 
    display: inline-block;
    padding: 1rem;
}

div a {
    text-decoration: none;
    color: inherit; 
    display: inline-block;
}

a:hover{
    cursor: pointer;
    color: var(--bordeaux);
}

.button {
    padding: 1rem 2rem; 
    display: inline-block;
    border: 1px solid;
    border-radius: 1rem;
    border-color: var(--bordeaux);
    text-decoration: none; 
    background-color: var(--bordeaux);
    color: var(--off-white);
    margin-top: 0.5rem;
    max-width: fit-content;
}

.button:hover{
    color: var(--bordeaux); 
    background-color: var(--off-white);
}

/* Default Responsive Styles*/
.mob-show {
    display: none; 
}

/* ---------- MD Media Query (1024px) ---------- */ 

@media (max-width: 1024px) {

    h3 { font-size: 1.8rem; }
    h4 { font-size: 1.4rem; }
    .grid-specific {
        grid-template-columns: repeat(2, 1fr);
      }
}

/* ---------- SM Media Query (768px) ---------- */ 

@media (max-width: 48em) {

    .mob-padded {
        padding: 0;
    }

    .width60 {
        max-width: 100%;
    }
    
    .big-vertical {
        transform: translateX(-50%) translateY(-50%) rotate(-90deg);
        font-size: 4vh;
        display: block;
        position: absolute;
        white-space: nowrap;
        top: 50%;
        right: 50%;
        }

    .other { right: -20%; }

    .mob-product-img {
        padding-top: 2rem;
    }

    .portrait {
        margin: 0;
    }
    
    .mob-padded-0 {
            padding: 0;
        }
    
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }

    .flex-flip-xs {flex-direction: column-reverse;}

    .mob-hide { display: none; }
  	.mob-show { display: block; }

    .mob-left { text-align: left;}

    .deco-bild {
        position: static;
        width: 100%;
    }
    
    section {
        display: flex;
        flex-direction: column;
      }
    
    .deco-bild {
        position: static;
        width: 100%;
        order: 1;
    }
    
    .front {
        order: 0;
    }

    .border {
        border: 0;
    }
    
    .width70 {
        max-width: 100%;
    }

    .shopify {
        display: flex;
    }

    .shopify iframe {
        text-align: center !important;
    }
    

}


/* ---------- XS Media Query (576px) ---------- */ 

@media (max-width: 36em) {
    .grid-specific {
        grid-template-columns: 1fr;
    }
    
    .xs-vertical { right: 10%; }

    .xs-other { right: -33%; }

}

/* ---------- XXS Media Query (376px) ---------- */ 

@media (max-width: 24em) {

    .xxs-vertical { right: -10%; }

}

