
/*GENERAL BODY */

@font-face {
    font-family: 'blackMetal';
    src: url('fonts/blackMetal.ttf') format('truetype');
}

body {
    background-color: #F0E8CC;
    font-family: Arial, sans-serif;
   
}


/*TOP BANNER*/

.top-banner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

#navigation-left,
#navigation-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    padding: 25px 0 4px;
    margin: 0;
    box-sizing: border-box;
    line-height: 1;
}

.header-central {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

#banner {
    display: block;
    height: 120px;
    width: auto;
    margin: 0 auto;
}

.top-banner a {
    font-family: 'blackMetal', sans-serif;
    font-size: 35px;
    font-weight: normal;
    text-decoration: none;
    color: #9E56DB;
    letter-spacing: -1px;
}

/*HEADINGS*/

.activityHeader {
    font-family: 'blackMetal', sans-serif;
    font-size: 80px;
    color: #9E56DB;
    font-weight: normal;
    text-align: center;
    line-height: 1;
    margin-top: 100px;
    margin-bottom: 60px;
    text-decoration: none;
}

.aboutMe {
    font-family: 'blackMetal', sans-serif;
    font-size: 80px;
    color: #9E56DB;
    font-weight: normal;
    text-align: center;
    line-height: 1;
    margin-top: 100px;
    margin-bottom: 60px;
    text-decoration: none;
}

.aboutMe a {
    text-decoration: none;
    color: #9E56DB;
}

/*HOME PAGE (ONE IMAGE)*/

.homePage {
    text-align: center;
}

.mountain {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}

/*HOME PAGE (THREE IMAGES)*/

.home {
    width: 100%;
    margin-top: 10px;
}

.main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: calc(100% - 60px);
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-link {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
}

.gallery-link img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: filter 0.1s ease;
}

/* Text centred over each photograph */

.gallery-link span {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'blackMetal', sans-serif;
    font-size: 60px;
    color: #9E56DB;
    text-align: center;
}

/* Hover effect */

.gallery-link:hover img {
    filter: brightness(0.10);
}

/*ABOUT*/

#about {
    text-align: center;
}

#about .activityHeader {
    margin-top: 50px;
    margin-bottom: 30px;
}

/*GALLERY*/

.column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.column img {
    display: block;
    width: calc((100% - 90px) / 4);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
}


/* LIGHTBOX */

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    cursor: zoom-out;
    transition: background 0.3s ease;
}

.lightbox.open {
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-frame {
    position: fixed;
    overflow: hidden;
    transform-origin: top left;
    transition:
        left 0.35s ease,
        top 0.35s ease,
        width 0.35s ease,
        height 0.35s ease;
}

.lightbox-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*MEDIA*/

@media (max-width: 700px) {
    .steps {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .gallery-link span {
        font-size: 45px;
    }

    .column img {
        width: calc((100% - 30px) / 2);
    }
}
