body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: #f1f1f8;
}

.pozadi {
    height: 50vh;
    width: 77.5%;
    margin: 0 auto;
    background-image: url(img/rericha_picture_2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-area: uvod;
}

.textcolumn {
    background-color: #fff;
    width: 50%;
    margin: 0 auto;
    padding: 50px 50px 20px 50px;
    margin-bottom: 60px;
}

.title-name {
    text-align: center;
    font-family: "Cinzel", serif;
    font-weight: 500;
    margin-top: 0;
    color: #23355c;
    font-size: 46px;
}

.function-name {
    text-align: center;
    font-family: "Cinzel", serif;
    font-weight: 500;
    font-size: 32px;
    padding: 5px 5px;
    background-color: #538ecb;
    color: #fff;
    display: block;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 80px;
}

p {
    text-align: center;
    font-family: "Cinzel", serif;
    font-weight: 400;
    font-size: 18px;
    color: #23355c;
}

a {
    color: #23355c;
}

.texts {
    padding: 0px 50px 15px 50px;
}

.texts h2 {
    font-family: "Cinzel", serif;
    font-weight: 500;
    color: #23355c;
    font-size: 28px;
}

.texts p {
    font-family: helvetica;
    font-weight: 200;
    text-align: left;
    line-height: 1.4;
}

.texts ul {
    font-family: helvetica;
    font-weight: 200;
    text-align: left;
    line-height: 1.4;
    color: #23355c;
    font-size: 18px;
    margin-top: 0;
}

.texts h3 {
    font-family: helvetica;
    font-weight: 400;
    text-align: left;
    line-height: 1.5;
    color: #23355c;
    font-size: 18px;
    margin-top: 30px;
}

hr {
    height:1px;
    border-width:0;
    background-color:#538ecb;
    margin-top: 40px;
}

@media screen and (max-width: 700px) {
    
    .pozadi {
        width: 90%;
    }

    .textcolumn {
        width: calc(90% - 20px);
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .title-name {
        font-size: 26px;
    }

    .function-name {
        font-size: 22px;
        margin-bottom: 50px;
    }

    p {
        font-size: 16px;
    }

    .texts h2 {
        font-size: 22px;
    }
    
    .texts ul {
        font-size: 16px;
        padding-left: 20px;
    }

    .pozadi {
        height: 33vh;
    }

    .texts {
        padding-left: 10px;
        padding-right: 10px;
    }
}
