* {
    margin: 0;
}

a {
    text-decoration: none;
}

html,
body {
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* navbar */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 50000;
}

.navbar {
    background-color: #FAFAFA;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px black solid;
    z-index: 5;
}

.navbar-brand {
    margin-right: 50px;
    padding-left: 54px;
    user-select: none;
}

.navbar-toggler {
    border: none;
    transition: 0.3s;
}

.navbar-toggler.rotated {
    transform: rotate(90deg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .navbar-nav {
    gap: 20px;
}

.nav-link {
    font-family: Jost, Arial;
    font-size: 22px;
    color: #100F0F;
    padding-right: 12px;
    padding-left: 12px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #FAFAFA00;
    transition: .3s;
}

.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #100F0F;
    text-decoration-thickness: 2px;
}

.link-selected {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: #100F0F;
    text-decoration-thickness: 2px;
}

@media screen and (max-width: 991px) {
    .navbar-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}

@media screen and (max-width: 460px) {
    .navbar-brand {
        display: inline-block;
        margin: auto;
        padding: 0;
        width: 80%;
    }
}

/* Content */
.content {
    flex: 1;
    overflow-y: hidden;
    /* Zablokuje vertikální scroll */
    overflow-x: hidden;
    /* Zablokuje horizontální scroll */
}


/* Footer */
footer {
    border-top: 1px solid black;
    background-color: #FAFAFA;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    margin-top: auto;
    /* Ensures footer is at the bottom of the page */
}

.footerContent {
    width: 1400px;
    display: flex;
    justify-content: center;
}

.footerRow {
    width: 33%;
    height: auto;
}

#footerRow1 {
    display: flex;
    flex-direction: column;
    padding-top: 50px;
}

.footerLogo {
    height: 100px;
    user-select: none;
}

.footerSocial p {
    font-family: Jost, Arial;
    font-size: 30px !important;
    margin-top: 20px !important;
    margin-left: 0px !important;
    margin-bottom: 10px !important;
    color: black !important;
    cursor: auto !important;
}

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

.footerSocials img {
    width: 35px;
    height: 35px;
    transition: 0.3s;
    margin-left: 5px;
    margin-right: 5px;
}

.footerSocials img:hover {
    width: 40px;
    height: 40px;
    transition: 0.3s;
    z-index: 5;
}

.footerRow h2 {
    font-family: Jost, Arial;
    font-size: 32px;
    margin-top: 50px;
    margin-left: 40px;
    font-weight: 400;
    margin-bottom: 25px;
}

.footerRow p {
    color: #1E1E1E90;
    font-family: Jost, Arial;
    font-size: 26px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 80px;
    transition: 0.3s;
    white-space: nowrap;
}

.footerRow p:hover {
    color: #000000;
    font-family: Jost, Arial;
    font-size: 26px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 85px;
    transition: 0.3s;
    cursor: pointer;
}

.footerLogo img {
    width: 75%;
    height: auto;
    margin-top: 20px;
}

.footerDivider {
    display: none;
}

.footerResponzive {
    all: unset;
    display: contents;
}

/* Responsive footer */
/* Responsive footer */
@media screen and (max-width: 1200px) {
    .footerResponzive {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        margin: auto;
    }

    .footerDivider {
        display: block;
    }

    .footerLogo {
        display: none;
    }

    #footerRow1 {
        width: 100%;
    }

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

    #footerRow2,
    #footerRow3 {
        width: 100%;
    }

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

    hr {
        margin: auto;
        width: 80%;
        border: 2px solid #BABABB;
        margin-top: 20px;
    }
}

/* Small responsive footer */
@media screen and (max-width: 800px) {
    .footerResponzive {
        width: 100%;
    }

    .footerRow p {
        font-size: 20px;
        margin: 5px 0px 5px 40px;
    }

    .footerRow h2 {
        font-size: 24px;
    }

    .footerRow p:hover {
        margin-left: 25px;
    }
}

@media screen and (max-width: 580px) {
    .footerResponzive {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footerRow p:hover {
        color: #000000;
        font-family: Jost, Arial;
        margin: auto;
        font-size: 26px;
        transition: 0.3s;
        cursor: pointer;
    }

    #footerRow2 h2,
    #footerRow3 h2 {
        white-space: nowrap;
        margin: 20px 0px 20px 0px;
        font-size: 30px;
    }

    .footerRow {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footerRow p {
        font-size: 25px;
        margin: 5px 0px 5px 0px;
        width: 100%;
    }

    footer {
        padding-bottom: 50px;
    }

    #footerRow1 {
        margin-top: 20px;
    }
}

@media screen and (max-width: 320px) {
    .footerRow p {
        font-size: 20px;
        margin: 5px 0px 5px 0px;
        width: 100%;
    }

    .navbar-toggler.collapsed {
        padding-right: 0px;
    }
}