/* general */
@font-face {
    font-family: 'GT Walsheim';
    src: url('../font/GT-Walsheim-Regular.woff2') format('woff2'),
         url('../font/GT-Walsheim-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: 'GT Walsheim', sans-serif;
}
:root {
    --WhiteColor: white;
    --BlackColor: #000000;
    --MenuBackground: #f4f4f4;
    --GreenColor: #9fab79;
    --TitleColor: #3a3b3c;
}

/* main section */
.main-section {
    width: 100vw;
    height: auto;
    margin-top: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5vh;
}

/* container photo 1 */
.container-s1 {
    width: 100%;
    max-width: 1000px;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.container-s1::-webkit-scrollbar {
    display: none;
}
.photo-s1 {
    flex: 0 0 50%;
    scroll-snap-align: start;
}
.img-s1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-image1 {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.carousel-dots {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    gap: 0.5rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 300ms ease;
}
.dot.active {
    background-color: var(--GreenColor);
}

@media (min-width: 769px) {
    .container-s1 {
        overflow-x: visible;
        justify-content: center;
    }
    .photo-s1 {
        flex: 0 0 calc(16% - 0.34rem);
        gap: 0.4rem;
    }
    .carousel-dots {
        display: none;
    }
}

/* title */
.page-title {
    width: 100%;
    max-width: 1000px;
    padding: 0 2rem;
}
.page-title h1 {
    font-size: 2.5rem;
}

/* content */
.page-content {
    width: 100%;
    max-width: 1000px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.main-section p, .main-section ul {
    font-size: 1rem;
    line-height: 1.6rem;
}
.main-section a {
    font-size: 1.2rem;
    text-decoration: none;
    color: black;
    transition: color 250ms ease;
}
@media screen and (min-width: 769px) {
    .main-section a:hover {
        color: orange;
    }
}