* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Oswald", sans-serif;
}
h1 {
    margin:0;
    padding:0;
}
h2, h3 {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
}

.container-fluid{
    width: 100%;
    padding:0;
    margin:0;
}

.clear{
    clear:both;
}

a.nothing-link{
    color:black;
    text-decoration:none;
}


/* LOGGA */
.top {
    justify-content: center !important;
    display: flex !important;   
    width: 320px;

}
/*meny*/
.fake-top {
    width: 320px;
    height:109px;   
}

/* NAV */
.nav{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    display:grid;
    grid-template-columns: 1fr 320px 1fr;
    align-items:start;
    width:100%;
}
.nav-left,
.nav-right{
    display:flex;
    align-items:center;
    gap:10px;

    list-style:none;
    padding-left:8px;
    padding-right:8px;
    padding-bottom:8px;
    padding-top:9px;    
    width: fit-content;
    height:34px;
    background: rgba(255,255,255,0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);    
}

.nav-left{
    justify-self:end;  
}

.nav-right{
    justify-self:start; 
}

.nav-logo img{
    width:120px;
    display:block;
}

.nav a{
    text-decoration:none;
    font-family:'Bebas Neue', sans-serif;
    font-size:20px;
    letter-spacing:1px;

    color:#000000;
    border-radius:12px;

    transition:0.25s ease;
    padding-top: 2px;
    padding-left: 7px;
    padding-right: 6px;
    padding-bottom: 0px;
}
.nav a:hover{
    text-decoration: underline;
}
.nav li.active a{
    background:#1f2523;
    color:#fff;
    text-shadow: none;
}


/*nav på diy och bracelet*/
.diy .logo img, .bracelet .logo img{
    width:94px;
}

.bracelet .nav{
    background:rgba(255,255,255);
}


/* start */
.start-middle-column{
    width: 320px;
    background-color: #fff;   
    float:left;
    text-align: center;
    padding-left:20px;
    padding-right:20px;
    height: 100dvh;
}

.start-image-column-2, .start-image-column-1{
    width: calc(50% - 160px);
    height: 100dvh;
    float:left;
}

.start-image-column-2 img,
.start-image-column-1 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    
}


/*ring */
.ring-wrapper{
    height:400px;
    position:relative;
}

.ring{
    position:absolute;
    border:20px solid white;
    height:400px;
    width: 400px;
    border-radius: 60%;
    left: -60px;
    overflow: hidden;
}

/*  start citat */
.quote-footer {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.quote {
    display: flex;
    flex-direction: column;
    margin-top:20px;
    font-weight: 500;  
    letter-spacing: 0.02em;
}

.quote .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;    
}

.quote .line-1, .start-text h2 {
    font-size: 62px;
    line-height: 0.9;
}

.quote .line-2 {
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 0.9;
    padding-left:4px;
}

.quote .line-3 {
    font-size: 42px;
}

.start-text, .ring-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* när sidan är redo */
.loaded .line-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.loaded .line-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.loaded .line-3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
    }

.loaded .quote-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.loaded .start-text, .loaded .ring-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

.about-socials {
    display:flex;
    gap:14px;
    margin-top:20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    justify-content: center;
}

.loaded .about-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.8s;
}

.about-socials a {
    color:#000000;
    font-size:32px;
    transition:0.3s ease;
}

.about-socials a:hover {
    color:#000;
    transform:translateY(-2px);
}
.about-socials img{
    width:26px;
    height:26px;
    filter: grayscale(1);
}


/*kontakt*/
.contact h2 {
    font-size: 52px;
    line-height: 0.9;
    margin:0px;
    margin-top: 20px;
}
.contact p {
    margin-top:0px;
}
.contact .start-text {
    margin-top:5px;
}
.contact-email{
    margin:0px;
    margin-top:36px;
}
.contact .about-socials{
    margin:0px;
    margin-top:0px;
}

.contact-email a{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    font-size:18px;
    letter-spacing:1px;
    color: black;
}

.contact-email i{
    font-size:24px;
}
.contact h2,
.contact-email {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.loaded .contact h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.loaded .contact .start-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.loaded .contact-email {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.loaded .contact .about-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.3s;
}


/*about*/
.signature{
    margin-top: 40px;
    line-height: 1.2;
    font-weight: bold;
}
/* HERO */
.hero-wrap {
    position: relative;
    width: 100%;
    background: #fff;
}

.hero-stage {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: 100vh;
    overflow: hidden;
    background: #fff;
    padding:0;
    margin:0;
}

/* HERO TEXT - som första sidan */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;    
text-shadow:
    0 2px 4px rgba(77, 77, 77, 0.55),
    0 0 12px rgba(65, 65, 65, 0.25);
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    color: #fff;
    will-change: transform, opacity;
}

.hero-line.is-empty {
    opacity: 0;
}

.hero-line-1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(56px, 7vw, 180px);
    line-height: 0.9;
    letter-spacing: clamp(1px, 0.2vw, 4px);
}


.hero-line-2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(18px, 2vw, 52px);
    line-height: 1;
    letter-spacing: clamp(1px, 0.2vw, 4px);
    margin-left:0;
}
.granat .hero-line-2 {
    font-size: clamp(18px, 2vw, 44px);
}

.hero-line-3 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(18px, 1.3vw, 32px);
    line-height: 1.4;
    letter-spacing: clamp(1px, 0.2vw, 0.5px);
    max-width: 700px;
}

.hero-cta-wrap {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* första visningen när sidan laddas */
.loaded .hero-line-1,
.loaded .hero-line-2,
.loaded .hero-line-3,
.loaded .hero-cta-wrap {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255,255,255,0.92);
    color: #111;
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    background: #fff;
    color: #000;
}

/* animation vid slidebyte */
.hero-line.is-out,
.hero-cta-wrap.is-out {
    opacity: 0 !important;
    transform: translateY(-30px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.hero-line.is-in,
.hero-cta-wrap.is-in {
    opacity: 0;
    transform: translateY(30px);
}

.hero-line.is-in-active,
.hero-cta-wrap.is-in-active {
    opacity: 1;
    transform: translateY(0);
}


/* BILDLAGER */
.hero-image-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #fff;
}

.hero-track {
    position: absolute;
    inset: 0;/*top: 0;right: 0;bottom: 0;left: 0;*/
    width: 100%;
    display: flex;
    gap: 32px;
    transition: transform 1s ease;
    transform: translateX(0);
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
    
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-copy {
    max-width: 950px;
    width: 100%;
}





/* Pilar i slide på armband och diy*/

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}



.hero-arrow i {
    font-size: 30px;
    color: black;
}

.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.scene-arrow-prev, .hero-arrow-prev{
    left:20px;
    z-index: 61;

}
.scene-arrow-next, .hero-arrow-next{
    right:20px;
    z-index: 61;
}


/*Bracelet*/

.bracelet .hero-content {
    z-index: 11;
}
#floatingbubbles {
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events:none;
    /*filter: blur(2px);*/
}
#floatingbubbles {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#floatingbubbles.is-fading {
    opacity: 0;
}

/* DIY*/
.diy-hero-stage {
    height: calc(100dvh - 60px);
    margin-top:60px;
}
.diy-hero-track {    
    display: block;
    gap: 0;
    transform: none;
    transition: none;
    padding:0;
    margin:0;
}
.diy-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    padding:0;
    margin:0;
}
.diy-hero-slide.active {
    opacity: 1;
    z-index: 2;    
    padding:0;  
    margin:0;  
}
.diy-hero-slide img{
    transform: translateY(0px);
}



#canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(1px);
    z-index: 60;
    pointer-events:none;
}




/*Inspo*/

.morganite{
    --label-color: #968c95;
    --menu-link-color: #968c95; 
    --menu-hover-bg:#dcd6db;
}

.inspo .container{
    height: 100dvh;
    font-family: "Source Sans 3", sans-serif;
    display:grid;
    grid-template-columns: 1fr 260px;
    gap:0;
}
.inspo .container-margin{
    padding:15px;
    /*background-color: #f4f0eb;*/
    background-color: #ffffff;
    display:grid;
    grid-template-columns: minmax(360px, 42vw) minmax(320px, 1fr);
    gap:40px;    
}
.poster{
    height: calc(100dvh - 30px);
    width:100%;
}
.poster img{
    height: 100%;
    object-fit:contain;
}
.info-content { 
    padding-top:50px;
    max-width:650px;
    min-width:0;
    padding-top:80px;
}

/*.info-content {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;    
}
.loaded .info-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}*/

.inspo .label{
    display:block;
    margin-bottom:30px;
    font-size:14px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    /*color: #655248;*/
    color: var(--label-color);

    font-family: "Onest", sans-serif;    
}

.inspo h2, .inspo h3{
    font-family: "Source Sans 3", sans-serif;
    margin:0;
}

.inspo .title{
    margin-bottom:20px;
    font-size:56px;
    line-height:1.1;
    font-weight:normal;
}

.inspo .subtitle{
    margin:0 0 40px;
    font-size:28px;
    line-height:1.3;
    font-weight:400;
    margin-bottom:20px;
}

.inspo .text{
    margin-bottom: 10px;
    font-size:22px;
    line-height:1.8;    
}

.inspo ul{
    font-size:18px;   
}

.p-menu{
    padding:35px 25px;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    border-left:1px solid #d8d2cb;
    
}
.p-menu-logo{
    display:flex;
    justify-content:center;
    width:100%;
}


.p-menu-logo img{
    width:120px;
    display:block;
    margin-bottom:45px;
}

.p-menu-nav{
    display:flex;
    flex-direction:column;
    gap:16px;
    width:100%;
}

.p-menu-nav a{
    text-decoration:none;
    font-size:14px;
    text-transform:uppercase;
   /* color: #655248;
    color: #968c95;*/
    color: var(--menu-link-color);
    font-family: "Onest", sans-serif;    
    letter-spacing:1px;
    padding:8px 10px;
}

.p-menu-nav a:hover,
.p-menu-nav a.active{
    /*background:#ccbfb3;
    background:#dcd6db;*/
    background-color: var(--menu-hover-bg);
    color:#1f2523;
    border-radius:4px;
}



/* TABLET */
/*stående stor skärm*/
@media (orientation: portrait) 
and (min-width: 1000px)
and (min-height: 1000px) {
    .hero-stage {
        height: 58vw;
        min-height: 360px;
    }
    .hero-content {
        align-items: center;
        padding-top: 0;
    }
    .hero-slide img {
        transform: translateY(0px);
    }
    .ring-wrapper{
        display:none;
    }
    .ring{
        display:none;
    }    
    .nav{
        grid-template-columns: 1fr 180px 1fr;
    }
    .top,
    .fake-top{
        width:180px;
    }
    .logo img{
        max-width:130px;
        width:130px;
    }
    .nav-left,
    .nav-right{
        gap:4px;
        padding:6px 4px;
    }
    .nav a{
        font-size:17px;
        padding-left:5px;
        padding-right:5px;
    }
    .nav li.active a{
        padding:8px 7px 5px;
    }
}

@media (max-width: 991px){
    .hero-cta-btn {
        min-height: 32px;
        padding: 8px 16px;
        font-size: 15px;
    }
}

@media (max-width: 991px) and (orientation: portrait) {
    .hero-stage {
        height: 58vw;
        min-height: 360px;
    }
    .hero-content {
        align-items: center;
        padding-top: 0;
    }
    .hero-cta-btn {
        min-height: 32px;
        padding: 8px 16px;
        font-size: 15px;
    }  
    .contact h2 {
        font-size: 48px;
    } 
    .hero-slide img {
        transform: translateY(0px);
    }
    .ring-wrapper{
        display:none;
    }
    .ring{
        display:none;
    }    
    .nav{
        grid-template-columns: 1fr 180px 1fr;
    }
    .top,
    .fake-top{
        width:180px;
    }
    .logo img{
        max-width:130px;
        width:130px;
    }
    .nav-left,
    .nav-right{
        gap:4px;
        padding:6px 4px;
    }
    .nav a{
        font-size:17px;
        padding-left:5px;
        padding-right:5px;
    }
    .nav li.active a{
        padding:8px 7px 5px;
    }
}

@media (max-width: 1400px) and (orientation: landscape) { 
    .ring-wrapper{
        display:none;
    }
    .ring{
        display:none;
    }
    .contact h2 {
        font-size: 52px;
    }
    .diy .hero-stage{
        height:100dvh !important;
        max-height:100dvh !important;
    }
    .hero-slide img {
        object-position: center center;
        transform: translateY(0px);
    }
    .bracelet .hero-slide {
        height: auto;
    }
    .bracelet .nav, .diy .nav{
        height: 60px;
    }
    .bracelet .hero-stage{
        height:auto !important;
        min-height:648px;
        max-height:auto !important;
    }
    .bracelet .hero-track{
        margin-top:50px;        
    }
    .bracelet .hero-slide img{
        object-fit: contain;
        object-position: top center;
        transform:none;
        width:100%;
        height:auto;        
    }
}


@media (max-width: 767px) {
    .nav{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:0;
        padding-top:0;
    }
    .logo img{
        display:block;
    }
    .top {
        order:1;
        width:auto;
        line-height:0;
    }

    .nav-left{
        order:2;
    }
    .nav-right{
        order:3;
    }
    .fake-top{
        height:150px;
    }
    .nav-left,
    .nav-right{
        justify-content:center;
        flex-wrap:wrap;

        width:auto;
        max-width:95vw;

        gap:2px;
        margin:0;
        padding:0;

        height:auto;
        background:none;
        backdrop-filter: none;
    }

    .nav-right{
        margin-top:4px;
    }
    .nav a{
        font-size:15px;
    }
    .diy .nav,
    .bracelet .nav{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:0;
        padding-top:0;
        height:auto;
    }
    .diy .hero-stage,
    .bracelet .hero-stage{
        margin-top:150px
    }
    .diy .logo img, .bracelet .logo img {
        width: auto;
    }
    .bracelet .hero-stage{
        width:100%;
        margin-top:100px;
    }
    .bracelet .hero-slide img{
        object-fit:contain;
    }
}
