@import url('https://fonts.googleapis.com/css2?family=Borel&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Borel&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color: red;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*font-family: "Open Sans", sans-serif;*/
    font-family: "Poppins", sans-serif;
}

#imageIndexUvod {
    /*width: 40%;
    min-width: 10em;
    max-width: 25em;*/

    width: 100%;
    max-width: 25em;
    margin: 2em;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#mainKontakt {
    display: flex;
    justify-content: center;
}
#mainKontakt > p {
    text-align: left;
    
}

main {
    padding: 0 2em;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*flex: 1;*/
    margin-top: 3em;
    height: 100%;
}

main>div {
    align-items: center;
    display: flex;
    flex-direction: column;
}

#Vitejte {
    font-size: x-large;
    padding: 3em;
}

h2 {
    text-align: center;
    padding: 1em;
    font-size: larger;
}

h3 {
    text-align: center;
}

p {
    text-align: center;
}

.indexInfoSection {
    margin: 10% 0 10% 0;
    padding: 10% 0 10% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    background-color: rgb(245, 245, 245);
    box-shadow: 0px 1px 100px rgba(109, 109, 109, 0.1);
}

.indexSectionDiv {
    background-color: rgb(252, 248, 248);
    /*height: 10em;*/
    width: 70%;
    box-shadow: 0 4px 12px rgba(109, 109, 109, 0.2);
    border-radius: 25px;
    padding: 1em;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.indexSectionDiv > img {
    width: 40%;
    margin: 1em;
    border-radius: 25px;
    max-width: 15em;
}

.indexSectionDiv > a {
    width: 40%;
    margin: 1em;
    max-width: 15em;
}
.indexSectionDiv > a > img {
    width: 100%;
    border-radius: 25px;
}


.indexSectionTextDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    flex-grow: 1;
}

#imgKosikyNahledovka {
     order: 2;
    }


@media only screen and (min-width: 800px) {
    #indexMainDiv {
        align-self: center;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .indexSectionDiv {
        flex-direction: row;
    }

    #imgKosikyNahledovka {
     order: -1;
    }
}