body
{
    background-color: rgb(48, 77, 204);
    background-image:  url("Images/justice.jpg");
    background-size: 120%;
    background-image: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;

}

header
{
    
}

section 
{
    color: black;
    padding: auto;
    width: 95%;
    margin: 50px auto;
    display: block;
    background: rgb(255, 255, 255);
    opacity: 0.85;
    min-width: 340px;
    border-radius: 10px;
}

.main
{
    display: inline-table;
    width: 45%;
    padding: 10px;
    margin: 10px;
}

.mainTextHead
{
    text-align: center;
    font-size: 40px;
}

h2
{
    text-align: center;
    font-size: 30px;
}

#spaced
{
    text-align: center;
    letter-spacing: 3px;
}

.mainText, .uslugiText
{
    font-size: 25px;
    text-align: center;
    text-justify: auto;
}

img 
{
    border-radius: 10px;
    display: block;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}  

footer
{
    background: black;
    width: 100%;
    color: white;
    height: 3%; 
    padding: 0;
    margin: 30px 0 0 0;
    text-align: center;
    align-self: auto;
}

@media screen and (max-width: 1300px)
{
    .mainTextHead
    {
        font-size: 40px;
    }
    
    h2
    {
        font-size: 30px;
    }

    .mainText, .uslugiText
    {
        font-size: 25px;
    }
}

@media screen and (max-width: 930px)
{
    body
    {
        background-color: rgb(48, 77, 204);
        background-image:  url("Images/justice.jpg");
        background-image: center;
        background-size: 500%;  
        background-repeat: repeat;  
    }

    img 
    {
        width: 250px;
    } 
    
    .mainTextHead
    {
        font-size: 37px;
    }
    
    h2
    {
        font-size: 28px;
    }

    .mainText, .uslugiText
    {
        font-size: 28px;
    }
}