@font-face {
    font-family: Lora;
    src: url(../assets/fonts/Lora-VariableFont_wght.ttf);   
}

@font-face {
    font-family: Raleway;
    src: url(../assets/fonts/Raleway-VariableFont_wght.ttf);
}

body {
    font-family: Lora;
    margin: 0;
    overflow-x: hidden
}

p {
    font-size: 1.25rem;
    margin: 0 0 1.25rem 0;
    color: #535252;
    line-height: 1.6em;
    font-weight: 400;
}

h1 {
    font-size: 60px;
    font-family: Raleway;
    font-weight: bold;
}

h2 {
    font-size: 30px;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin: 50px 0 15px 0;
    color: #A21A41;
    font-weight: 500;
}

li, li p {
    font-size: 1.063rem;
    margin-bottom: 20px;
    list-style: none;
}

em {
    color: #A21A41;
}

/* ---------------------------- */
/* ---------- Header ---------- */
/* ---------------------------- */

.header {
    height: 180px;
    box-shadow: 0px 1px 5px rgba(110, 110, 110, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 70px;
    }

    .header-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 1200px;
    }

    .header-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-logo p{
        font-family: Raleway;
        width: 125px;
        line-height: 1.3em;
        margin: auto 0;
    }

    .header-logo img {
        height: 60px;
        padding-right: 20px;
    }

    .header-kontakt {
        font-size: 17px;
        font-weight: 800;
        background-color: #A21A41;
    }

    .header-kontakt a {
        padding: 5px 15px;
        color: white;
        text-decoration: none;
        font-family: Raleway;
    }

/* ---------------------------- */
/* ----------- Main ----------- */
/* ---------------------------- */

.main {
    padding: 0;
    margin-bottom: 150px;
    display: flex;
    flex-direction: column;
}

    .section {
        margin-bottom: 250px;
        display: flex;
        flex-direction: column;
        max-width: 800px;
        min-width: 330px;
        margin: 0 auto;
        width: calc(100% - 80px);
    }

/* ---------------------------- */
/* ---------- Footer ---------- */
/* ---------------------------- */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #A21A41;
    height: 240px;
}

    .footer a {
        padding-right: 100px;
        font-family: Raleway;
        text-decoration: none;
        color: white;
    }

    .footer a:hover {
        text-decoration: underline;
}

/* ---------------------------- */
/* ----------- Media ---------- */
/* ---------------------------- */

@media (max-width: 820px) {
    h1 {font-size: 50px;}
    h2 {font-size: 25px;}
    h3 {font-size: 20px;}
    p {font-size: 18px;}
    .footer {height: 120px;}
    .footer a{padding-right: 30px; font-size: 12px;}
}

@media (max-width: 550px) {
    h1 {font-size: 40px;}
    h2 {font-size: 20px;}
    h3 {font-size: 19px;}
    p {font-size: 17px;}
    .header {height: 90px; padding: 0 40px;}
    .header-logo img {height: 30px;}
    .header-kontakt {font-size: 12px;}
    .header-kontakt a {padding: 5px 10px;}
    .header-box p {font-size: 10px;}
}