#message-on-image {
position: absolute;
right: 0;
height: 100%;
width: calc(100% - 240px - 20px);
text-align: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
#message-on-image > * {
background-color: #f4f3f1;
background-color: #f4f3f1e0;
padding: 10px;
font-size: 26px;
margin: 5px;
}
#message-on-image time.date {
letter-spacing: 0.03em;
}
#message-on-image cite.text {
font-weight: bold;
}
#message-on-image span.author {
letter-spacing: 0.03em;    
}
@media screen and (max-width: 1199px){
#message-on-image {
width: 100%;
}
#message-on-image > * {
}
#message-on-image time.date {
}
#message-on-image cite.text {
}
#message-on-image span.author {
}
}
@media screen and (max-width: 1020px){
#message-on-image {
width: 100%;
height: 80%;
}
#message-on-image > * {
font-size: 2.5vw;
margin: 0.5vw;
padding: 0.5vw;
}
#message-on-image time.date {
}
#message-on-image cite.text {
}
#message-on-image span.author {
}
}
@media screen and (max-width: 640px){
#message-on-image {
width: 100%;
height: 80%;
}
#message-on-image > * {
font-size: 12px;
margin: 3px;
padding: 6px;
}
#message-on-image time.date {
}
#message-on-image cite.text {
}
#message-on-image span.author {
}
}
@media screen and (max-width: 420px){
#message-on-image {
width: 100%;
height: 75%;
}
#message-on-image > * {
font-size: 11px;
margin: 3px;
padding: 6px;
}
#message-on-image time.date {
}
#message-on-image cite.text {
}
#message-on-image span.author {
}
}
@media screen and (max-width: 330px){
#message-on-image {
width: 100%;
height: 60%;
}
#message-on-image > * {
font-size: 11px;
margin: 2px;
padding: 4px;
}
#message-on-image time.date {
}
#message-on-image cite.text {
}
#message-on-image span.author {
}
}