html {
  scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    background-color:  #a1a1a1;
    opacity: 0.9;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 34px;
    color: white;
    margin-right: 20px;
    line-height: 100%;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-title:hover {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


.city-link {
    position: relative;
    font-size: 18px;
    color: white;
    font-family: 'Montserrat', serif;
    font-weight: normal;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.city-link:hover {
    text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor;
    opacity: 1;
}

.city-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right, 
        #008C45 33.3%,
        #F4F5F0 33.3% 66.6%, 
        #CD212A 66.6%
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

main {
    background-color: #fffbf4;
    height: 100%;
}

.main-container {
    width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
    justify-content: space-between;
}

.main-container h2 {
    width: 100%;
    font-size: 30px;
    color: black;
    margin-top: 30px;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    scroll-margin-top: 100px;
}

.city {
    width: 49%;
}

.city p {
    font-size: 16px;
    color: black;
    font-family: 'Montserrat', serif;
    font-weight: normal;
    margin-top: 10px;
}

.city-image {
    margin-top: 30px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

footer {
    background-color: #d4d7cc;
    height: 130px;
}

.footer-container {
    width: 95%;
    height: 100%;
    margin: 0 auto;
}

footer p {
    font-size: 16px;
    color: black;
    font-family: 'Montserrat', serif;
    font-weight: normal;
    text-align: center;
    padding-top: 30px;
}