/* Font Imports */
@font-face {
    font-family: 'Photograph Signature';
    src: url(assets/fonts/photograph_signature-webfont.woff2) format('woff2'),
         url(assets/fonts/photograph_signature-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Futura", sans-serif;
    src: url(assets/fonts/futura-condensedlight-webfont.woff2) format('woff2'),
         url(assets/fonts/futura-condensedlight-webfont.woff) format('woff');
    font-style: normal;
    font-weight: 300;
}


/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
html, body {
    font-family: "Futura", sans-serif;
    line-height: 1.5;
}


/* Main Font Styling */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 70px;
}
.page-container{
    width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-text{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 900px;
    margin-top: 150px;
    margin-bottom: 50px;
}
.header-text h2{
    font-weight: 900;
    color:#4E544D;
    font-size: 25px;
}
.header-text h1{
    background: linear-gradient(180deg, hsl(151, 75%, 54%) 19%, #4F94D9 82%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: bold;
    font-size: 58px;
    line-height: 100%;
    text-align: center;
}
/* Gallery Section */
.gallery-section {
    margin: 50px 0;
    text-align: center;
}

/* Flexbox Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of items to the next row */
    gap: 15px; /* Adds space between items */
    justify-content: center; /* Centers the items in the container */
}

.gallery-item {
    flex: 1 1 calc(33.333% - 15px); /* Each item takes 1/3 of the row, minus the gap */
    box-sizing: border-box; /* Ensures padding and border are included in width/height */
    max-width: calc(33.333% - 15px); /* Prevents items from growing beyond 1/3 */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-item {
        flex: 1 1 100%; /* Two items per row on medium screens */
    }
    .page-container{
        width: auto;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 100%; /* One item per row on small screens */
        max-width:max-content;
    }
    .header-text{
        width: auto;
    }
}

@media (max-width: 425px) {
    .gallery-item {
        flex: 1 1 100%; /* One item per row on small screens */
        max-width:max-content;
    }
    .header-text{
        width: auto;
    }
    .main{
        margin: 0px;
    }
    .header-text h1{
        font-size: 33px;
    }
    .header-text h2{
        font-size: 17px;
    }
}
@media (max-width: 375px) {

    .header-text h1{
        font-size: 30px;
    }
    .header-text h2{
        font-size: 15px;
    }
}
@media (max-width: 320px) {

    .header-text h1{
        font-size: 26px;
    }
    .header-text h2{
        font-size: 12px;
    }
}