* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 80%;
    background: #0D234C;
    display: flex;
    justify-content: space-between;
    justify-self: center;
    align-items: center;
    padding: 18px 40px;
    position: sticky;
    top: 15px;
    z-index: 1;
    border-radius: 25px;
}
.logo img {
    height: 65px;
    text-decoration: none;
}
nav {
    display: flex;
    align-items: center;
}
nav a {
    color: #F5F9FC;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    transition: 0.3s;
    font-family: "Outfit", sans-serif;
}
nav a:hover {
    color: #F5F9FC;
}
nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5F9FC;
    transition: width 0.3s;
}
nav a:hover::after {
    width: 100%;
}
.dropdown {
    display: flex;
    position: relative;
    gap: 25px;
}
.dropdown:hover {
    display: flex;
}
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu_tooggle {
    display: none;
}
.menu_button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}
.menu_button span {
    height: 3px;
    width: 100%;
    background: #F5F9FC;
    border-radius: 3px;
    transition: 0.5s;
}
@media (max-width: 1100px) {
    nav {
        position: absolute;
        top: 105px;
        background: #0D234C;
        width: 30%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 25px 0;
        display: none;
        border-radius: 20px;
        left: 70%;
    }
    .menu_tooggle:checked ~ nav {
        display: flex;
    }
    .menu_button {
        display: flex;
    }
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .menu_tooggle:checked + .menu_button span:nth-child(1) {
        transform: rotate(-25deg);
    }
}
html {
    scroll-behavior: smooth;
}

body{
    width: 100%;
}
.nadpis {
    width: 100%;
    padding-bottom: 120px;
    padding: 20px 0px 20px 0px;
    color: #CC0935;
    text-align: center;
    background: #F5F9FC;
    font-size: 300%;
    text-align: center;
}

h1 {
    font-family: "Outfit", sans-serif;
    font-weight: 400;
}
 
.odkdynadpis {
    font-size: 300%;
    margin: 10px 0 10px 0px;
    color: #CC0935;
    font-family: "Outfit", sans-serif;
    font-weight: 350;
}
 
.odkdytext {
    width: 600px;
    height: 250px;
    background-color: #0a1936;
    border: none 2px #F5F9FC;
    border-radius: 20px;
    padding: 15px;
    margin: 0 0 20px 450px;
    box-shadow: 0 0 10px #F5F9FC;
    font-size: 140%;
    font-family: "Montserrat", sans-serif;
}
 
.FotoHistorie1 {
    width: 450px;
    box-align: right;
    margin: 40px 0px 0px 10px;
}
 
.tmava {
    background-color: #0D234C;
    width: 100%;
    padding: 20px 20px 20px 20px;
    color: #F5F9FC;
}
 
 
.svetla{
    background-color: #F5F9FC;
    width: 100%;
    padding: 20px 20px 20px 20px;
    color: #0D234C;
}
 
 
.miniobrazek {
        width: 70px;
        margin: 10px 0px 0px 10px;
        border-radius: 100%;
}
 
 
 
.nadpisvpravo {
    font-size: 250%;
    margin: 10px 0 10px 150px;
    color: #CC0935;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
}
 
.nadpisvlevo {
    font-size: 250%;
    margin: 10px 0 10px -150px;
    color: #CC0935;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
}
 
.rsvtext {
    width: 450px;
    height: 220px;
    background-color: #e0f0fc;
    border: none 2px #F5F9FC;
    border-radius: 30px;
    padding: 15px;
    margin: -330px 0px 0px 500px;
    box-shadow: 0 0 10px #0D234C;
    font-size: 140%;
    font-family: "Montserrat", sans-serif;
}
.FotoHistoriesv {
    width: 300px;
    height: 300px;
    background-color: #e0f0fc;
    border: none 2px #F5F9FC;
    border-radius: 20px;
    margin: -70px 0px 90px -470px;
    box-shadow: 0 0 10px #0D234C;
}
 
.rtmtext {
    width: 450px;
    height: 220px;
    background-color: #0a1936;
    border: none 2px #F5F9FC;
    border-radius: 30px;
    padding: 15px;
    margin: -330px 0px 0px -500px;
    box-shadow: 0 0 10px #F5F9FC;
    font-size: 140%;
    font-family: "Montserrat", sans-serif;
}
.FotoHistorietm {
    width: 300px;
    height: 300px;
    background-color: #000000;
    border: none 2px #F5F9FC;
    border-radius: 20px;
    margin: -70px 0px 90px 400px;
    box-shadow: 0 0 10px #F5F9FC;
}
 
footer {
    width: 100%;
    height: auto;
    background-color: #CC0935;
    font-family: "Outfit", sans-serif;;
}

.footer {
    width: 100%;
    background-color:#0D234C;
    padding: 40px 30px 20px 30px;
    margin: auto;
    border: none;
}

.footer-horni {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin: 0 0 30px 0;
}

.footer-sloupec {
    width: 40%;
    min-width: 180px;
}

.footer-sloupec2 {
    margin-left: 55%;
    text-align: right;
}

.footer-sloupec h3 {
    color:#CC0935;
    font-size: 160%;
    font-weight:bold;
    margin: 0 0 15px 0;
}

.footer-sloupec ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sloupec ul li {
    color: white;
    font-size: 16px;
    line-height: 28px;
    margin: 0 0 5px 0;
}

.footer-sloupec ul li a {
    color: white;
    text-decoration: none;
}

.footer-sloupec ul li a:hover {
    color:#CC0935;
}

.footer-spodni {
    width: 100%;
    border-top: 1px solid #ffffff;
    padding: 20px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.footer-copy {
    color: white;
    font-size: 14px;
}

.footer-pravni {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-pravni a {
    color: white;
    font-size: 14px;
    text-decoration: none;
}

.footer-pravni a:hover {
    color:#CC0935;
}