* {
    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);
    }
}

.i {
    padding-inline: 150px;
    padding-bottom: 5%;
}

h1 {
    padding: 3% 0;
    color: #CC0935;
    justify-self: center;
    font-size: 100px;
    font-weight: 400;
    font-family: "Outfit", sans-serif;
}

p {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
}

.places-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 2.5rem;
    margin-bottom: 64px;
}

.places {            
    border: 1px solid #ccc;
    color: rgb(45, 78, 156);
    background: #eee;
    padding: 25px;
    border-radius: 16px;
    padding-left: 10%;
    padding-right: 5%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.places img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 300ms;
}
.places img:hover {
    opacity: 100;
}

.info-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5em;
    margin-bottom: 64px;
    font-size: 20px;
}

.info-box .header {
    text-transform: uppercase;
    box-sizing: border-box;
    display: block;
    unicode-bidi: isolate;
    width: 40%;
    flex: none;
    margin: 0;
    color: #CC0935;
    font-size: 25px;
    font-weight: 500;
    font-family: "Outfit", sans-serif;
}
.info-box .text {
    flex: 1;
}

.info-box p:first-child {
    margin-top: 0;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.main-box {
    font-size: 120px;
    text-transform: uppercase;
}

.images {
    display: flex;
    width: 100%;
    gap: 16px;
    flex: none;
    max-height: 300px;
}
.images img {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    object-fit: cover;
}


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;
}