html,body{
    width:100%;
    height:100%;
    display: flex;
    /*justify-content: center;*/
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;

}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3em;
    border-bottom: 1px solid black;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    z-index: 1000;
}


nav {
    position: fixed;
    top: 10vh; /* bo header ma 10vh */
    width: 100%;
    height: 10vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    gap: 40px;
    display: flex;
}

.nav-item {
    position: relative;
    color: white;
    cursor: pointer;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

}

.main-menu,
.city-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.main-menu li a,
.city-menu li a {
    text-decoration: none;
    padding: 10px 15px;
    background-color: #007acc;
    color: white;
    border-radius: 5px;
}

.main-menu li a:hover,
.city-menu li a:hover {
    background-color: #005fa3;
}

section {
    padding: 20px;
    background-color: white;
    margin: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    scroll-margin-top: 25vh;
}

.back {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007acc;
}
.navbar {
    background-color: #333;
    padding: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    height: 80%;
    padding: 0;
}


.nav-item:hover {
    background-color: #444;
}

.dropdown{
    position: absolute;
    width: 100%;
    height: 20vh;
    left: 0;
    top: 100%;
    background-color: rgba(0,0,0,.7);
    display: none;
    flex-direction: column;
    /*align-items: center;*/
    /*justify-content: flex-end;*/
    box-sizing: border-box;
    margin: 0;
    padding: 0;


}
.nav-item span {
    cursor: pointer;
    color: white;
    font-size: 1.2em;
    padding: 10px 15px;
    display: block;
    width: 100%;
}

.dropdown li {
    padding: 10px 15px;
    color: white;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
}

.dropdown li:hover {
    background-color: #555;
}

.nav-item:hover .dropdown,
.nav-item .dropdown:hover {
    display: flex;
}
.dropdown li a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown li a:hover {
    background-color: #555;
}
.dropdown a {
    padding: 8px;
    text-decoration: none;
    color: black;
    box-sizing: border-box;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}

ul{
    width: 80%;
    margin-bottom: 50px;
    list-style: none;}
li {
    margin-bottom: 30px;
}
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    position: sticky;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;

}

img {
    width: 500px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}
main {
    max-width: 600px;
    /*margin: 0 auto;*/
    /*margin-top: 20vh;*/
    margin-top: 25vh;
    padding: 20px;
    text-align: left;

}