.documentproj {
    display:  inline-block;*/
    flex-direction: column;*/
    flex: none;
    width: fit-content;            /* ширина по содержимому */
    box-sizing: border-box; /* Размер блока включает рамки и отступы */
    height: 57svh;
    margin: 2svh 0 0 0;
    padding: 0 3px 0 0;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.1;
    white-space: pre-wrap;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    color: #040C09;
    background-color: transparent;
    /*text-shadow: 2px 2px 4px rgba(0,0,0,0.7);*/
    
    /*border: 1px solid black; /* Границы объектов */
    }
    
    
    
@media screen and (orientation: portrait) and (min-width: 320px) and (max-width: 360px) {
    .documentproj {
    min-width: 320px;
    max-width: 320px;
    font-size: 0.7rem;
    /*background-color: lightblue;*/
  }
    img {width: 90%}
    table {font-size: 0.6rem;}
}     
  
   
    
@media screen and (orientation: portrait) and (min-width: 361px) and (max-width: 480px) {
    .documentproj {
    min-width: 360px;
    max-width: 360px;
    font-size: 0.8rem;
    /*background-color: lightblue;*/
  }
    img {width: 90%}
    table {font-size: 0.7rem;}
}     
     
   
    
@media screen and (orientation: portrait) and (min-width: 481px) and (max-width: 800px) {
    .documentproj {
    min-width: 480px;
    max-width: 480px;
    font-size: 0.9rem;
    /*background-color: lightblue;*/
  }
    img {width: 90%}
    table {font-size: 0.8rem;}
}     
     
  
    
@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 800px) {
    .documentproj {
    min-width: 450px;
    max-width: 450px;
    font-size: 0.7rem;
    /*background-color: lightblue;*/
  }
    img {width: 90%}
    table {font-size: 0.6rem;}
} 


span {
    display: inline-block;
    position: absolute;
    bottom: 10mm;
    left: 0;
    width: 100%;
    text-align: center;
    user-select: none;
}   
