:root {
    scroll-behavior: smooth;
    scroll-margin-top: 20px;
    scroll-snap-type: none;
}

body {
    margin: 0;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

@font-face {
    font-family: 'DIN Condensed';
    src: url('../font/DINCondensed-Bold.woff2') format('woff2'),
    url('../font/DINCondensed-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../font/CenturyGothic.woff2') format('woff2'),
    url('../font/CenturyGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

header {
    background-image: url("../images/bg1.jpg");
    background-size: cover;
    height: 686px;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-content: stretch;
    height: 100px;
    transition: background-color 0.3s;
}

.topbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px #888;
    height: 50px;
    padding: 0 40px;
}

.topbar .logo-container {
    display: block;
    width: 200px;
    padding: 10px 0;
}

.topbar .logo {
    height: 100%;
    background-image: url(../images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.topbar.scrolled .logo {
    background-image: url(../images/logo-b.png);
}

.nav {
    padding: 0;
    margin: 0;
    display: flex;
    width: 45vw;
    justify-content: space-between;
    align-items: center;
    padding-right: 40px;
}

.nav li {
    background: #7a6a55;
    width: 160px;
    text-align: center;
}

.nav li a {
    color: white;
    display: block;
}

.nav li a:hover, .nav li.active, .nav li:active {
    background: #0ba29a;
}

.nav li.active {
    background: #0ba29a;
}

section {
    scroll-snap-align: start;
    scroll-margin-top: 120px;
}

section h2, section p {
    text-align: center;
    color: #7a6a55;
}

section h2 {
    margin: 0;
    font-size: 60px;
    font-family: "DIN Condensed", sans-serif;
}

section p {
    width: 90%;
    max-width: 960px;
    margin: auto;
    font-family: "Microsoft YaHei", serif;
    line-height: 1.5;
    margin-bottom: 1em;
}

.img-divider {

}

.img-divider img {
    pointer-events: none;
    display: block;
    width: 100%;
}

.categories {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    max-width: 1200px;
}

.categories li {
    width: 21%;
    font-family: "Century Gothic", sans-serif;
}

.categories li img {
    width: 100%;
}

#map, .contact-info {
    width: 80%;
    margin: auto;
    max-width: 1200px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
}

.contact-info .logo {
    width: 220px;
    object-fit: contain;
}

.contact-info ul li img {
    width: 22px;
    margin: 10px;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    color: #7a6a55;
    font-size: 22px;
}
