div.image_holder
{
    width: 100%;
    overflow: hidden;
}

div.image_holder img
{
    width: 100%;
    max-width: 700px;
    border-radius: 7px;
}

div.system_desc
{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 100px
}

div.image_preview
{
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: color-mix(in srgb, black, transparent);

    z-index: 99
}

div#image_src
{
    width: 70vw;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

div#image_src img
{
    max-height: 100%;
    border-radius: 7px;
}

@media screen and (orientation: portrait) {
    div#image_src img
    {
        width: 100%; /* Powiększamy obraz */
    }
}
  
  /* Jeśli szerokość jest większa niż wysokość */
@media screen and (orientation: landscape) {
    div#image_src img
    {
        max-height: 100vw;
        max-width: 100%;
    }
}

@media screen and (max-width: 700px)
{
    div#image_src
    {
        width: 90vw;
        height: 90vh;
    }
}

div#image_preview_close_btn
{
    position: fixed;
    bottom: 5vh;
    right: 5vh;
    width: calc(100% - 5vh);
    padding: 0;

    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 30px;

    cursor: pointer;
    z-index: 100
}

div#image_preview_close_btn div
{
    display: flex;
    flex-direction: row;
    overflow: visible;
    gap: 10px;
    border: 1.5px solid white;
    color: white;
    padding: 10px;
    border-radius: 7px;

    transition: all .11s ease-in-out;
}

div#image_preview_close_btn div:hover 
{
    transform: scale(1.1);
}

div#image_preview_close_btn div:hover  i
{
    text-shadow: 0 0 2px white;
}

@media screen and (max-width: 700px) {
    div#image_preview_close_btn
    {
        width: 100%;
        right: 0;
        justify-content: space-evenly;
    }

    div#image_preview_close_btn div p
    {
        display: none;
    }
}