@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0px;
    font-family: "Roboto", sans-serif;
    width: 100%;
    padding-bottom: 55px;
}

header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;/**/
    padding-left: 2.5%;
    padding-right: 2.5%;
    margin-left: 2.5%;
    margin-right: 5%;
    border-bottom: 2px solid #ff4848;
}

header h1 {
    font-size: 2.5em;
    /*font-family: "Imperial Script", cursive;*/
}

div.ff {
    text-align: center;
}

nav {
    /*width: 50%;*/
    display: flex;
    padding-bottom: 12px;
}

nav a {
    /*margin-right: 1.5%;*/
    font-size: 1.3em;
    display: flex;
    flex-wrap: nowrap;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    border-top: 2px solid white;
    transition-duration: 0.2s;
}

nav a:hover {
    border-top: 2px solid black;
}

a:last-child {
    margin-right: 0px;
}

main {
    padding-left: 2.5%;
    padding-right: 2.5%;
    margin-left: 2.5%;
    margin-right: 5%;
    margin-top: 48px;
}

.nabidky article {
    border: 2px solid white;
    padding: 16px;
    transition-duration: 0.2s;
    border-bottom: 2px solid black;
    border-top: 0px solid white;
    color: black;
}
/**/
.nabidky article:nth-of-type(1) {
    border-top: 2px solid rgb(255, 255, 255);
}

.nabidky article:nth-of-type(1):hover {
    border-left: 2px solid black;
    border-right: 2px solid black;
    border-top: 2px solid black;
    padding: 16px;
}

.nabidky article:hover {
    border-left: 2px solid black;
    border-right: 2px solid black;
    padding: 16px;
}

.nabidky article h1 {
    margin: 0px;
    font-size: 1.5em;
    text-decoration: underline;
}

.box-nabidky {
    display: flex;
    flex-direction: row;
    width: max-content;
    width: 100%;
}

.box-nabidky img {
    height: 265px;
    margin-top: 16px;
    margin-right: 26px;
}

.box-nabidky ul li {
    list-style-type: none;
    margin-top: 16px;
}

.box-odkaz {
    text-decoration: none;
    color: black;
}

.nabidky article:last-child {
    border-bottom: 2px solid rgb(0, 0, 0);
}

.cena {
  /*  margin-left: 40px;*/
    margin-top: 40px;
    margin-right: 600px;
}

.li-info {
    font-weight: bolder;
}

.prd {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

.prd a {
    width: 30%;
}

.prd h3 {
    margin-left: 0px;
    margin-top: 40px;
    margin-right: 400px;
}

.form {
    margin-left: 3rem;
    margin-top: 3rem;
}

.mail {
    text-decoration: underline;
}

form * {
    font-size: medium;
    font-weight: 600;
}

form input, textarea {
    border: 2px solid brown;
    border-radius: 12px;
    padding: 12px;
    width: 300px;
}

form textarea {
    margin-bottom: 0px;
}


.tlacitko-odeslani {
    padding: 12px 24px 12px 24px;
    text-align: center;
    background-color: black;
    color: white;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    transition-duration: 1s;
    width: auto;
    margin-top: 0px;
}

.tlacitko-odeslani:hover {
    border-bottom: 2px solid brown;
    color: black;
    background-color: white;
}

.spodek {
    display: flex;
    flex-direction: row;
}

ul {
    padding-left: 20px;
}

.box-cena {
    width: 52%;
}

.info-li {
    display: flex;
    flex-direction: row;
}

.spodek {
    margin-left: 3rem;
}

@media (max-device-width:720px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header hc1 {
        padding-right: 50%;
    }
    nav {
        display: flex;
        flex-direction: column;
    }
    nav a {
        justify-content: center;
    }
    .box-nabidky {
        display: flex;
        flex-direction: column;
    }
    .box-cena {
        display: flex;
        flex-direction: column;
        margin-left: 0%;
        width: 100%;
    }
    .prd {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .prd a {
        width: 100%;

    }
    .box-cena div a h {
        left: 100px;
    }
    .info-li {
        display: flex;
        flex-direction: column;
    }
    .info-li ul {
        padding-left: 0px;
    }
    .box-nabidky img {
        height: auto;
        width: 100%;
    }
    .form {
        padding-left: 0%;
    }
    .spodek {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width:720px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header hc1 {
        padding-right: 50%;
    }
    nav {
        display: flex;
        flex-direction: column;
    }
    nav a {
        justify-content: center;
    }
    .box-nabidky {
        display: flex;
        flex-direction: column;
    }
    .box-cena {
        display: flex;
        flex-direction: column;
        margin-left: 0%;
    }
    .prd {
        display: flex;
        flex-direction: column;
    }
    .box-cena div a h {
        left: 100px;
    }
    .info-li {
        display: flex;
        flex-direction: column;
    }
    .info-li ul {
        padding-left: 0px;
    }
    .box-nabidky img {
        height: auto;
        width: 100%;
    }
    .spodek {
        display: flex;
        flex-direction: column;
    }
}