/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Basic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alata&family=Basic&display=swap');
body {
    background-color: #fcf0f0;
    margin: 0px;
    height: 100%;
}

header {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.nazev-m {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    color: #000;
    text-align: center;
}

header h1 {
    font-size: 65px;
    font-family: "Basic", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #d9164e;
    margin: 0px;
}

header h2 {
    font-size: 40px;
    font-family: "Basic", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    color: #00554b;
    margin: 0px;
}

nav{
    font-size: 20px;
    font-family: "Basic", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: auto;
    background-color: #00554b;
    width: 100%;
    height: auto;
    margin-top: 0px;
}

.navbar {
  background-color: #00554b !important;

}

.navbar .nav-link {
  color: #ffffff !important;
  transition: 0.3s;
  margin: 0 20px;
}

.navbar .nav-link:hover {
  background-color: #ffffff !important;
  color: #d9164e !important;
  border-radius: 8px;
}
 

main{
    margin-top: auto;
    background-color: #fcf0f0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    padding-bottom: 10px;
}
main h1 {
    font-size: 40px;
    font-family: "Basic", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #d9164e;
    margin: 0px;
    }
article{
    font-family: "Alata", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-left:70px;
    margin-right:70px;
    margin-bottom:70px;
    margin-top:15px;

}
.articles-kontejner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    margin-left:70px;
    margin-top:15px;

}

.obrazek-a {
    width: 100%; 
    border-radius: 15px;
}
.kontejner-tabulka {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 80%;
    margin: 30px 70px 30px 140px;

}

.tabulka {
    flex: 2;
}

.mapa {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 10px;
    margin-left: -10px;
}

footer{
    position: absolute;
    font-size: 15px;
    font-family: "Basic", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #d9164e;
    position: absolute;
    background-color: #00554b;
    text-align: center;
    width: 100%;
    height: 40px;   
}
@media screen and (max-width: 800px) {
    header {
        height: 200px;
    }

    header h1 {
        font-size: 40px;
    }

    header h2 {
        font-size: 25px;
    }

    .nazev-m {
        padding: 5px;
        font-size: 14px;
    }

    .hlavni-navigace {
        flex-direction: column; 
        height: auto; 
        padding: 10px 0;
    }

    .navbar-nav {
        text-align: center;        /* Text vycentrovaný */
        width: 100%;               /* Zajistí, že odkazy zaberou celou šířku */
      }

      .navbar-nav .nav-item {
        width: 100%;               /* Každý odkaz přes celou šířku */
      }

      .navbar-nav .nav-link {
        display: block;            /* Aby šly odkazy pod sebe */
        text-align: center;        /* A zarovnané na střed */
      }



    .articles-kontejner {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        width: 100%;
        margin-top:15px;
    }

    article {
        margin: 15px;
        padding: 10px;
    }

    .kontejner-tabulka {
        flex-direction: column;
        margin: 15px;
        gap: 10px;
        width: 90%;
    }

    .tabulka {
        flex: unset;
    }

    .mapa {
        flex: unset;
        margin-left: 0;
    }

    footer {
        font-size: 12px;
        height: auto;
        padding: 5px;
    }
}



