html {
    -webkit-text-size-adjust: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
.topbar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 14px;
}

.topbar h1 {
    font-size: clamp(28px, 5vw, 34px);
    margin: 0;
}

.menu-wrap {
    position: absolute;
    right: 20px;
    top: 20px;
}

@media (max-width: 700px) {
    .menu-wrap {
        right: 8px;
        top: 12px;
    }
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: clamp(42px, 8vw, 48px);
    height: clamp(42px, 8vw, 48px);
    position: relative;
}

.hamburger span {
    display: block;
    width: clamp(28px, 5vw, 32px);
    height: 3px;
    background: black;
    margin: 5px auto;
    transition: all 0.3s ease;
}

/* Open state */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.dropdown a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: black;
}
.dropdown a:hover {
    background: #222;
    color: #00eaff;
}
.dropdown a:first-child { border-radius: 8px 8px 0 0; }
.dropdown a:last-child  { border-radius: 0 0 8px 8px; }
.dropdown {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
	white-space: nowrap;
    position: absolute;
    right: 0;
    top: 45px;

    background: white;
	width: 100%;
	min-width: 140px;
	max-width: 90vw;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
    transition: all 0.25s ease;
}

.dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}