@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", Roboto;
}

.topnav {
    background-color: #e4531a;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative;
    height: 80px;
    padding: 0 20px; 
}

.topnav p {
    color: white;
    font-size: 33px;
    font-family: "Montserrat", Roboto;
    font-weight: 700;
    margin: 0;
}

.topnav-links {
    display: flex;
    justify-content: center; 
    flex-grow: 1; 
}

.topnav-links a {
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 22px;
    font-family: "Montserrat", Roboto;
    font-weight: 400;
}

.topnav-links a.active {
    font-weight: bolder;
    text-decoration-thickness: 2px;
    font-size: 22px;
    font-weight: 600;
}


.topnav a {
  text-decoration: none;
}

.top {
    padding-top: 80px;
    padding-left: 15%;
    padding-bottom: 80px;
    background-color: rgb(243, 243, 243);
}

@media (max-width: 768px) {
    .topnav-links {
        display: none;
    }
}

footer {
    background-color: rgb(243, 243, 243);
    padding: 1% 0;
    margin-top: 3%;
    font-family: "Montserrat", Roboto;
    position: fixed; /* Udrží footer na spodku */
    bottom: 0; /* Zabezpečí jeho umiestnenie na spodku */
    width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: black;  
    padding: 5px;
    font-weight: 500;
}

p {
    text-align: center;
}
@media (max-width: 768px){
    footer {
        display: flex; 
        flex-direction: column; /* Umiestnenie prvkov pod seba */
        align-items: center; /* Zarovnanie do stredu horizontálne */
    }
}
@media (min-width: 768px){
    .footer_menu {
        display: none;
    }   
    p {
        margin-left: 5%;
    }
}
