* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: #141414;
}

body {
    background-color: #fff;
}

section {
    padding: 0 20px;
}

.container {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    overflow-x: hidden;
}

.horizontal-divider {
    width: 100%;
    height: 1px;
    background-color: #141414;
    margin-top: 140px;
    margin-bottom: 60px;
}

.horizontal-divider.reverse {
    margin-top: 60px;
    margin-bottom: 140px;
}

.header {
    padding-top: 40px;
}

.header h1 {
    font-size: 60px;
    line-height: 90px;
    font-weight: 500;
    color: #141414;
}

.header p {
    max-width: 670px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #141414;
    opacity: 80%;
}

.header .page {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 60px;
}

.header .page p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #141414;
    opacity: 100%;
}

.header .page a {
    text-decoration: none;
    transition: all ease 300ms;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #141414;
    opacity: 70%;
}

.header .page a:hover {
    opacity: 100%;
}

.grid-line {
    height: 520px;
    max-height: 520px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.grid-line .col.wide {
    grid-column: span 2;
}

.grid-line .col.vert {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.grid-line .col .row {
    height: 250px;
}

.grid-line .col .row .col-dbl {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    height: 250px;
}

.grid-line .col .row .col-dbl .col {
    height: 250px;
}

.grid-single {
    height: 250px;
    max-height: 250px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-single .col {
    height: 250px;
}

.grid-single .col.wide {
    grid-column: span 2;
}

.gallery img {
    width: 100%;      /* fills column width */
  height: 100%;     /* fills row height */
  object-fit: cover; /* crops while keeping aspect ratio */
  display: block;
}

@media screen and (max-width: 900px) {
    .horizontal-divider {
        margin-top: 100px;
        margin-bottom: 40px;
    }

    .horizontal-divider.reverse {
        margin-top: 40px;
        margin-bottom: 140px;
    }
}

@media screen and (max-width: 700px) {
    .header h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .grid-line {
        height: auto;
        max-height: none;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }

    .grid-single {
        height: auto;
        max-height: none;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .grid-single .col.wide {
        grid-column: span 1;
    }
}

@media screen and (max-width: 460px) {
    .grid-line .col.wide {
        grid-column: span 1;
    }
} 

@media screen and (max-width: 410px) {
    .header h1 {
        font-size: 40px;
        line-height: 50px;
    }
}