/* 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;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

/* container photo 1 */
.container-s1 {
    width: 100%;
    max-width: 1000px;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.container-s1::-webkit-scrollbar {
    display: none;
}
.photo-s1 {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.img-s1 {
    width: 100%;
    height: auto;
    display: block;
    padding: 1rem;
}
.carousel-image1 {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.carousel-dots {
    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(33.333% - 0.34rem);
    }
    .carousel-dots {
        display: none;
    }
}

/* title */
.page-title {
    width: 100%;
    max-width: 1000px;
    padding: 1rem;
}

/* content */
.page-content1, .page-content2 {
    width: 100%;
    max-width: 1000px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.main-section p {
    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;
    }
}

/* container photo 2 */
.carrousel-image2 {
    overflow-x: auto;
    width: 100%;
    max-width: 1000px;
}
.container-s2 {
    display: grid;
    grid-template-columns: repeat(4, 60vw);
    grid-template-rows: repeat(2, 60vw);
    gap: 0.5rem;
    width: max-content;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
}
.carrousel-image2 {
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
.carrousel-image2::-webkit-scrollbar {
    display: none;
}
.image-box {
    scroll-snap-align: center;
    width: 100%;
    height: 100%;
    position: relative;
}
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 768px) {
    .carrousel-image2 {
        overflow: hidden;
    }
    .container-s2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        width: 100%;
        gap: 1.5rem;
    }
}

/* container photo 3 */
.carrousel-image3 {
    width: 100%;
    max-width: 1000px;
}
.container-s3 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.container-s3 .photo-s3 {
    overflow: hidden;
}
.container-s3 .img-s3 {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    object-fit: cover;
}
.container-s3 .photo-s3:nth-child(1) {
    width: 100%;
    height: 50vh;
}
.container-s3 .photo-s3:nth-child(2),
.container-s3 .photo-s3:nth-child(3) {
    width: 50%;
    height: 25vh;
}
@media (min-width: 769px) {
    .container-s3 {
        flex-direction: row;
        gap: 1rem;
    }
    .container-s3 .photo-s3:nth-child(1) {
        flex: 2;
        height: 50vh;
    }
    .container-s3 .photo-s3:nth-child(2),
    .container-s3 .photo-s3:nth-child(3) {
        flex: 1;
        height: 50vh;
    }
}

/* container photo 4 */
.carrousel-image4 {
    width: 100%;
    max-width: 1000px;
}
.container-s4 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.container-s4 .photo-s4 {
    overflow: hidden;
}
.container-s4 .img-s4 {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    object-fit: cover;
}
.container-s4 .photo-s4:nth-child(3) {
    width: 100%;
    height: 50vh;
}
.container-s4 .photo-s4:nth-child(1),
.container-s4 .photo-s4:nth-child(2) {
    width: 50%;
    height: 25vh;
}
@media (min-width: 769px) {
    .container-s4 {
        flex-direction: row;
        gap: 1rem;
    }
    .container-s4 .photo-s4:nth-child(3) {
        flex: 2;
        height: 50vh;
    }
    .container-s4 .photo-s4:nth-child(1),
    .container-s4 .photo-s4:nth-child(2) {
        flex: 1;
        height: 50vh;
    }
}

