
/* BLOCK TO PAGE */

.block-to-page{
    display: flex;
    flex-direction: column-reverse;
    min-height: 25vh;
}
@media only screen and (min-width : 768px) {
    .block-to-page{
        flex-direction: row;
        /*max-height: 75vh;*/
    }
}
.block-to-page p, .block-to-page ul{
    font-size: var(--font-size);
    line-height: var(--line-height);
}
.block-to-page img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.block-to-page > div{
    flex: 1 1 0;
    /*max-height: 75vh;*/
}
.block-to-page .left{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.block-to-page .right{
    position: relative;
}
.block-to-page .title{
    position: absolute;
    color: var(--color2);
    font-size: 40px;
    font-weight: bold;
    width: 100%;
}
.block-to-page .title .box{
    position: absolute;
    margin-left: var(--padding);
    padding: var(--padding);
    padding-bottom: 2rem;
    padding-top: 4rem;
    /*min-width: 250px;*/
    max-width: 72%;
}
@media only screen and (min-width : 996px) {
    .block-to-page .title .box{
        max-width: 55%;
    }
}
.block-to-page .title .wrapper{
    opacity: var(--opacity-box);
    background-color: var(--red);
}
.block-to-page .left .wrapper a{
    float: right;
    margin-top: 2rem;
    margin-right: 2rem;
}