@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&display=swap');

*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.off-justo {
    background-image: url('/img/bg-menu.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 25px;
    font-size: 42px;
    font-weight: bold;
    color: #ff0000;
}

.off-justo p {
    width: 60%;
    text-align: center;
    position: relative;
}

.off-justo p::before {
    content: '';
    background-image: url('/img/block.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 150px;
    height: 150px;
    position: absolute;
    top: -150%;
    right: 50%;
    transform: translateX(50%);
}

.off-justo p span {
    display: block;
}

.off-justo p span + span {
    margin-top: 30px;
}

@media only screen and (max-width: 1600px) { 
    .off-justo p::before {
        top: -80%;
        width: 120px;
        height: 120px;
    }
}

@media only screen and (max-width: 1024px) { 
    .off-justo p::before {
        top: -50%;
    }
}

@media only screen and (max-width: 769px) { 
    .off-justo p {
        width: 100%;
    }

    .off-justo p::before {
        top: -60%;
        width: 80px;
        height: 80px;
    }
}

@media only screen and (max-width: 517px) { 
    .off-justo {
        font-size: 24px;
    }

    .off-justo p::before {
        top: -45%;
        width: 50px;
        height: 50px;
    }
}

@media only screen and (max-width: 317px) { 
    .off-justo {
        font-size: 20px;
    }
}