#framer {
    position: relative;
    display: block;
    margin: 0;
    padding: 2vh 2vh 1vh 2vh;
    scroll-snap-type: y mandatory;
    background-color: #e7ebec;
}

#title_framer {
    position: relative;
    font-size: 3vh;
    margin-bottom: 1vh;
    font-weight: bold;
    color: #1A1A1A;
    z-index: 9;
}

#title_image_framer {
    position: relative;
    font-size: 2vh;
    margin-bottom: 1vh;
    color: #1A1A1A;
}

#available_frame {
    padding: .5vh;
    border-radius: .5vh;
    color: white;
    font-size: 1.2vh;
    background-color: rgba(0, 0, 0, .8);
}

#content_container {
    display: flex;
    position: relative;
    height: 43vh;
    justify-content: center;
    margin-bottom: 2vh;
}

#content_container_second {
    display: flex;
    position: relative;
    height: 100%;
    border-radius: .5vh;
    justify-content: center;
    align-items: center;
    margin-bottom: 2vh;
    overflow: hidden;
    transition: .3s;
}

#content_container_zoom {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: .3s;
}

.frames_selector_outside {
    position: absolute;
    width: auto;
    bottom: -2vh;
}

#frames_bg_caroussel {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.picture_frame {
    height: fit-content;
    margin: 0;
    padding: 2vh;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px, inset 0 .5vh 2vh rgba(0, 0, 0, 0.35);
    border: 2vh #373737 outset;
    overflow: hidden;
    transition: .3s;
}

.frame_bg {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: center;
    overflow: hidden;
}

.frame_bg img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 25%;
}

#frame_image {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    top: 25%;
    left: 30%;
}

#ar_button {
    position: absolute;
    color: #1A1A1A;
    top: 1vh;
    right: 1vh;
    z-index: 1000;
}

#ar_button svg {
    height: 4vh;
}

#frame_informations {
    padding: 1vh 0;
    background: #202020;
}
.info_title {
    text-align: center;
    color: white;
    font-weight: bold;
    margin-bottom: 2vh;
}

.frame_information {
    width: 4vh;
    aspect-ratio: 1/1;
    border-radius: 1vh;
    box-shadow: 0 0 0 .3vh #1A1A1A;
    overflow: hidden;
}

#select_frame_informations {
    display: flex;
    gap: 1vw;
    justify-content: space-around;
}

.info_part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#price {
    font-size: 3vh;
    font-weight: bold;
    color: white;
    text-align: center;
}

#price:after {
    content : '€';
}

#subprice {
    font-size: 1.2vh;
    color: white;
}

#order {
    border-radius: .5vh;
    background: #e74c3c;
    margin: 2vh;
    padding: 1vh 0;
    text-align: center;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

#order:hover {
    background: #fc6959;
}

#coming {
    border-radius: .5vh;
    background: #525252;
    margin: 2vh;
    padding: 1vh 0;
    text-align: center;
    font-weight: bold;
    color: white;
    cursor: pointer;
    pointer-events: none;
}

.material {
    display: flex;
    padding: 1vh 2vh;
    gap: 1vw;
}

.material_img {
    flex: 0 0 25%;
    aspect-ratio: 1/1;
    border-radius: .5vh;
    overflow: hidden;
}

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

.material_information {
    flex-grow: 2;
    padding: 1vh;
    font-size: 1.5vh;
    border-radius: .5vh;
    background: #202020;
    color: white;
}

.material_title {
    margin-top: 2vh;
    margin-left: 1vh;
    margin-bottom: 2vh;
}

#frames_informations {
    display: grid;
    padding: 0 1vh;
    grid-template-columns: repeat(2,1fr);
    grid-auto-flow: row dense;
    grid-gap: 1vh;
    color: rgba(255,255,255,.9);
    justify-content: space-between;
    font-size: 3vw;
}

.frames_information {
    display: flex;
    gap: 2vh;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 50%;
}

.frames_information svg{
    max-width: 3vh;
}

.l40h30 {
    width: 21%;
    border-width: 1.5vh;
}

/*debug*/
.frame_hz{
    aspect-ratio: 6/4;
}

.frame_v{
    aspect-ratio: 4/6;
}

.picture_image {
    height: fit-content;
    margin: 0;
    padding: 1.2vh 1.2vh .8vh;
    background-color: white;
    box-shadow: rgb(0 0 0 / 25%) 0px 14px 28px, rgb(0 0 0 / 22%) 0px 10px 10px, inset 0 0.5vh 0.5vh rgb(0 0 0 / 25%);
    border: 1.2vh #373737 outset;
    overflow: hidden;
    transition: .3s;
}

#coming_price {
    font-size: 1.5vh;
    color: white;
    font-weight: bold;
}

@media screen and (min-aspect-ratio: 8/9) {

    #frames_bg_caroussel {
        overflow-x: hidden;
    }

    #content_container_second
    {
        position: relative;
        /*width: 80%;*/
    }

    #content_container {
        height: 62vh;
        max-width: 950px;

    }

    #split_screen {
        display: flex;
        background: #e7ebec;
        justify-content: center;
    }

    #frame_informations {
        position: relative;
        border-radius: 1vh;
        width: fit-content;
        margin: 1vh;
        margin-right: 3vw;
        padding: 2vh;
    }

    #order {
        position: absolute;
        width:  -webkit-fill-available;
        bottom: 0;
    }

    #frames_informations {
        position: relative;
        margin-top: 30vh;
        font-size: 1.5vh;
        grid-template-columns: repeat(1,1fr);
        grid-gap: 3vh;
        bottom: 0;
    }
    /*debug*/
    #frame_image{
        top: 50%;
        left: 50%;
        transform: translate(-55%, -60%);
        background: white;
        /*transform:translate(179px,150px);*/
    }

    #other_informations{
        display: flex;
        margin: 5vh auto;
        justify-content: center;
        gap: 5vw;
        width: 95%;
    }
    .material {
        width: 30vw;
        gap: .5vw;
    }

}