html, body {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    /* overflow-y: scroll; */
    
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #252222;
    color: #fff;
    /* overflow-y: scroll; */
}

.screen {
    overflow: scroll;
    height: 100vh;
    scroll-snap-type: y mandatory;
    scroll-padding: 0;
    
}

.screen > section {
    scroll-snap-align: start;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centre {
    text-align: center;
    position: relative;
}

.left {
    text-align: left;
}

.logo {
    width: 80px;
    height: auto;
    margin-bottom: 7rem;
    opacity: 0.95;
}

h1, h2 {
    font-family: "Overpass";
}

.centre > p {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.9);
}

.gallery > p {
    text-align: left;
}

.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.scroll-down:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) translateY(5px);
}

.gallery-section {
    background-color: #eeeed6;
  }


.gallery-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: -.01em;
}

.gallery-container {
    width: 100%;
    max-width: 90vw;
    /* margin: 2rem auto; */
    overflow: hidden;
    /* padding: 20px 0; */
}

.gallery {
    display: flex;
    gap: 2vw;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-snap-align: start;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
}


.gallery::-webkit-scrollbar {
    height: 8px;
}

.gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.gallery::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery img {
    /* flex: 0 0 auto; */
    display: grid;
    width: auto;
    height: 60vh;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-left: 100%;
    margin-right: 100%;
    margin-bottom: 2vw;
    /* float: left; */
}

.gallery p {
    scroll-snap-align: center;
    min-width: 50vw;
}

.gallery img:hover {
    transform: scale(1.02);
}

section h2 {
    position: relative;
}