body {
    margin: 0;
}


.casStudieTopRing {
    margin-top: 100px;
}

/* centrerar hela ringen */
.center-wrapper-psst-contactYALLA {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* huvudcontainer */
#inRingSectionProjects-psst-contactYALLA {
    position: relative;
    height: 618px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* bilden bakom */
#inRingImgProjects-psst-contactYALLA {
    background-image: url(../img/ringar/caseStudieRing.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    width: 1180px;
    height: 610px;

    position: absolute;
    top: 0;
    z-index: 0;
    pointer-events: none;
}

/* TEXTEN */
.text-contentYALLA {
    position: relative;
    z-index: 1;
    width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* 🔥 vänsterställer allt */
    text-align: left;
}

/* h1 */
#inRingSectionProjects-psst-contactYALLA h1 {
    margin: 0;
    font-size: 40px;
    margin-bottom: 26px;
    font-family: 'helRegN';
    line-height: 44px;
}

/* p */
#inRingSectionProjects-psst-contactYALLA p {
    font-size: 16px;
    font-family: 'helRegN';
    margin: 0;
    line-height: 28px;
}

/* mail-länk (valfritt snyggare kontroll) */
#readMoreAbout-psst-contact {
    margin-top: 10px;
}

.caseStudies-cate {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.caseStudies-cate h3 {
    margin: 0;
    font-family: 'helRegN';
    font-size: 12px;
}

.caseStudies-cate h4 {
    margin: 0;
    font-family: helvetica;
    font-size: 12px;
    margin-top: 20px;
    font-weight: bold;
}

.lineCaseStudie {
    border: none;
    height: 1px;
    background: black;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}



.caseStudiesTopImg {
    /* background-color: rgb(246, 127, 255); */
    margin: auto;
    margin-top: 60px;
    display: grid;
    height: 700px;
    width: 700px;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 10px;
}





#retroResanBroschyr1 {
    grid-column: 1 / 6;
    grid-row: 1 / 5;
   
    /* Bild som bakgrund */
    background-image: url('../img/imgAtelier/retroResanBroschyr1AT.jpg');
    background-position: center;  /* centrerar bilden */
    background-repeat: no-repeat; /* upprepar inte */
    background-size: cover;
}

#retroResanBroschyr2 {
    grid-column: 6 / 11;
    grid-row: 7 / 11;

    /* Bild som bakgrund */
    background-image: url('../img/imgAtelier/retroResanBroschyr2AT.jpg');
    background-position: center;  /* centrerar bilden */
    background-repeat: no-repeat; /* upprepar inte */
    background-size: cover;
}

#retroResanBroschyr3 {
    background-color: black;
    grid-column: 6 / 11;
    grid-row: 1 / 7;

    /* Bild som bakgrund */
    background-image: url('../img/imgAtelier/retroResanMobilVuMockSvartAT.jpg');
    background-position: center;  /* centrerar bilden */
    background-repeat: no-repeat; /* upprepar inte */
    background-size: contain;
}

#retroResanBroschyr4 {
    border: 0.2px solid rgba(0, 0, 0, 0.256);
    grid-column: 1 / 6;
    grid-row: 5 / 11;

    /* Bild som bakgrund */
    background-image: url('../img/imgAtelier/RetroResanKartaAT.jpg');
    background-position: center;  /* centrerar bilden */
    background-repeat: no-repeat; /* upprepar inte */
    background-size: cover;
}


.textCaseStudies {
    max-width: 700px;
    margin: auto;
}

.textCaseStudies h1 {
    margin-top: 100px;
    font-family: 'helRegN';
    font-size: 24px;
}

.textCaseStudies h2 {
    margin-top: 40px;
    font-family: 'helRegN';
    font-size: 20px;
}

.textCaseStudies p {
    font-family: 'helRegN';
    font-size: 16px;
    line-height: 28px;
}

.stages {
    width: 100%;
    height: 160px;
    background-image: url(../img/caseStudies/retroResan/stages.png);
    background-size: cover;
}

.graphicprofile {
    width: 100%;
    height: 574px;
    background-image: url(../img/caseStudies/retroResan/graphicProfile.png);
    background-size: cover;
    margin-top: 70px;
}

.Low-fidelity {
    width: 100%;
    height: 649px;
    background-image: url(../img/caseStudies/retroResan/lowFiWi2.png);
    background-size: cover;
    margin-top: 70px;
}

.mockupRetro {
    width: 100%;
    height: 574px;
    background-image: url(../img/caseStudies/retroResan/MockupRetroresan.jpg);
    background-size: cover;
    margin-top: 70px;
}


.back-button {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 9999;

    background: transparent;
    border: none;
    cursor: pointer;

    padding: 8px;

    transition: transform 0.2s ease;
}

.back-button:hover {
    transform: translateX(-3px);
}







@media (max-width: 1180px) and (min-width:700px) {


/* centrerar hela ringen */
.center-wrapper-psst-contactYALLA {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* huvudcontainer */
#inRingSectionProjects-psst-contactYALLA {
    position: relative;
    height: 618px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* bilden bakom */
#inRingImgProjects-psst-contactYALLA {
    background-image: url(../img/ringar/caseStudieRing.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    width: 740px;
    height: 610px;

    position: absolute;
    top: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    
}

/* TEXTEN */
.text-contentYALLA {
    position: relative;
    z-index: 1;
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;  /* 🔥 vänsterställer allt */
    text-align: left;
}

/* h1 */
#inRingSectionProjects-psst-contactYALLA h1 {
    margin: 0;
    font-size: 40px;
    margin-bottom: 26px;
    font-family: 'helRegN';
    line-height: 44px;
}

/* p */
#inRingSectionProjects-psst-contactYALLA p {
    font-size: 16px;
    font-family: 'helRegN';
    margin: 0;
    line-height: 28px;
}

/* mail-länk (valfritt snyggare kontroll) */
#readMoreAbout-psst-contact {
    margin-top: 10px;
}

.caseStudies-cate {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.caseStudies-cate h3 {
    margin: 0;
    font-family: 'helRegN';
    font-size: 12px;
}

.caseStudies-cate h4 {
    margin: 0;
    font-family: helvetica;
    font-size: 12px;
    margin-top: 20px;
    font-weight: bold;
}

.lineCaseStudie {
    border: none;
    height: 1px;
    background: black;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}



.caseStudiesTopImg {
    /* background-color: rgb(246, 127, 255); */
    margin: auto;
    margin-top: 60px;
    display: grid;
    height: 700px;
    width: 700px;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 10px;
}

.caseStudiesTopImg {
    /* background-color: rgb(246, 127, 255); */
    margin: auto;
    
    display: grid;
    height: 700px;
    width: 700px;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 10px;
}



}








@media (max-width:700px) {


    /* centrerar hela ringen */
    .center-wrapper-psst-contactYALLA {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }
    
    /* huvudcontainer */
    #inRingSectionProjects-psst-contactYALLA {
        position: relative;
        height: 618px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    
    /* bilden bakom */
    #inRingImgProjects-psst-contactYALLA {
        background-image: url(../img/ringar/caseStudieRing.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    
        width: 740px;
        height: 610px;
    
        position: absolute;
        top: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0;
        
    }
    
    /* TEXTEN */
    .text-contentYALLA {
        position: relative;
        z-index: 1;
        width: 350px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;  /* 🔥 vänsterställer allt */
        text-align: left;
    }
    
    /* h1 */
    #inRingSectionProjects-psst-contactYALLA h1 {
        margin: 0;
        font-size: 40px;
        margin-bottom: 26px;
        font-family: 'helRegN';
        line-height: 44px;
    }
    
    /* p */
    #inRingSectionProjects-psst-contactYALLA p {
        font-size: 16px;
        font-family: 'helRegN';
        margin: 0;
        line-height: 28px;
    }
    
    /* mail-länk (valfritt snyggare kontroll) */
    #readMoreAbout-psst-contact {
        margin-top: 10px;
    }
    
    .caseStudies-cate {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        gap:20px;
    }
    
    .caseStudies-cate h3 {
        margin: 0;
        font-family: 'helRegN';
        font-size: 12px;
    }
    
    .caseStudies-cate h4 {
        margin: 0;
        font-family: helvetica;
        font-size: 12px;
        margin-top: 10px;
        font-weight: bold;
    }
    
    .lineCaseStudie {
        border: none;
        height: 1px;
        background: black;
        width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    
    
    .caseStudiesTopImg {
        /* background-color: rgb(246, 127, 255); */
        margin: auto;
        margin-top: 60px;
        display: grid;
        height: 350px;
        width: 350px;
        grid-template-columns: repeat(10, 1fr);
        grid-template-rows: repeat(10, 1fr);
        gap: 10px;
    }
    
   


.textCaseStudies {
    max-width: 350px;
    margin: auto;
}

.textCaseStudies h1 {
    margin-top: 100px;
    font-family: 'helRegN';
    font-size: 24px;
}

.textCaseStudies h2 {
    margin-top: 40px;
    font-family: 'helRegN';
    font-size: 20px;
}

.textCaseStudies p {
    font-family: 'helRegN';
    font-size: 16px;
    line-height: 28px;
}





.stages {
    width: 100%;
    height: 92px;
    background-image: url(../img/caseStudies/retroResan/stages.png);
    background-size: cover;
}

.graphicprofile {
    width: 100%;
    height: 288px;
    background-image: url(../img/caseStudies/retroResan/graphicProfile.png);
    background-size: cover;
    margin-top: 70px;
}

.Low-fidelity {
    width: 100%;
    height: 325px;
    background-image: url(../img/caseStudies/retroResan/lowFiWi2.png);
    background-size: cover;
    margin-top: 70px;
}
    
.mockupRetro {
    width: 100%;
    height: 288px;
    background-image: url(../img/caseStudies/retroResan/MockupRetroresan.jpg);
    background-size: cover;
    margin-top: 70px;
}
    
    
    }