@font-face {
    font-family: 'Fira-Sans-300';
    src: url('/fonts/fira-sans-v17-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Fira-Sans-600';
    src: url('/fonts/fira-sans-v17-latin-600.woff2') format('woff2');
}

@media (max-width: 640px) {
    body {
        margin: -0.5rem;
    }
}

.c-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 5rem;
}

@media (max-width: 640px) {
    .c-logo img {
        height: 3.3rem;
    }

    .c-logo {
        margin-top: 4rem;
    }
}

.c-pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5rem;
    width: 100%;
    max-width: 100%;
    height: 65vh;
}

@media (max-width: 640px) {
    .c-pages {
        margin-top: 3rem;
        height: 10rem;
    }
}

.c-image-wrapper {
    position: relative;
    flex: 1 1 calc(33.333% - 20px); /* Makes each wrapper take up 1/3 of the container width minus the gap */
    max-width: calc(33.333% - 20px);
    height: 100%;
    margin: 0.1rem;
    overflow: hidden;
    text-decoration: none;
    transition: transform .4s;
}

@media (max-width: 640px) {
    .c-image-wrapper {
        display: flex; /* Use flexbox for alignment */
        justify-content: flex-end; /* Align content to the right */
        align-items: center; /* Center content vertically */
        flex: 1 1 calc(100% - 20px); /* For mobile devices, each wrapper takes up the full width */
        max-width: calc(100% - 20px);
    }
}

.c-images {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.c-image-wrapper:hover .c-images,
.c-image-wrapper:focus .c-images {
    transform: scale(1.05);
}

.c-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(180deg, #123464 0%, #12346400 80%) 0% 0% no-repeat padding-box;
    opacity: 1;
}

@media (max-width: 640px) {
    .c-image-overlay {
        background: transparent linear-gradient(180deg, #123464 0%, #12346400 40%) 0% 0% no-repeat padding-box;
    }
}

.c-image-wrapper:hover .c-image-overlay,
.c-image-wrapper:focus .c-image-overlay {
    background: transparent linear-gradient(180deg, #123464 0%, #12346400 20%) 0% 0% no-repeat padding-box;
}

.c-text {
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Fira-Sans-600';
    letter-spacing: 0.075rem;
}

@media (max-width: 640px) {
    .c-text {
        margin-right: 2.5rem;
        text-align-last: end;
    }
}

.c-arrow-before-hover {
    height: 1.5rem;
    width: 1.5rem;
    margin: 0 auto;
    display: block;
    top: 24vh;
    padding: 1rem;
    position: relative;
    border: 1px solid white;
    border-radius: 50%;
    background-color: #018DD780;
}

@media (max-width: 640px) {
    .c-arrow-before-hover {
        border: 0;
        border-radius: 0;
        top: 0;
        background-color: transparent;
        margin-right: -0.5rem;
        margin-top: -3.4rem;
    }
}

.c-image-wrapper:hover .c-arrow-before-hover,
.c-image-wrapper:focus .c-arrow-before-hover {
    opacity: 0;
}

.c-arrow-hover {
    display: flex;
    align-items: center;
    position: relative;
    height: 1rem;
    width: 6rem;
    color: white;
    border: 1px solid white;
    border-radius: 35px;
    background-color: #018DD7;
    opacity: 0;
    font-family: 'Fira-Sans-300';
    margin: 0 auto;
    top: 16vh;
    padding: 1rem;
}

.c-image-wrapper:hover .c-arrow-hover,
.c-image-wrapper:focus .c-arrow-hover {
    opacity: 1;
}

.c-arrow-after-hover {
    height: 1.2rem;
    padding-left: 0.5rem;
}


