.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -500px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.frontpage-header {
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.frontpage-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.frontpage-main {
    width: 100%;
    height: 100%;
}

.frontpage-logo {
    /* mix-blend-mode: difference; */
    transition: transform 1.2s ease-out;
    width: 30vw;
    z-index: 1;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.frontpage-main,
.frontpage-image,
.frontpage-image img {
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
}


.frontpage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 35px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    color: #fff;
}

.frontpage-overlay h2 {
    font-weight: 300;
    font-size: 42px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.frontpage-overlay p {
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.03em;
    margin-bottom: 0;
}

.frontpage-overlay a {
    display: block;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.03em;
    color: #fff;
    text-decoration: none;
    border: solid #fff 1px;
    padding: 10px 45px 10px 25px;
    position: relative;
}

.frontpage-overlay a::after {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg) translateY(-50%);
    margin: 0;
    right: 15px;
    top: 50%;
}

@media only screen and (max-width: 1025px) {

    .frontpage-logo {
        transition: none;
        width: 60%;
    }

    .frontpage-overlay {
        padding: 20px;
    }

    .frontpage-overlay a {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {

    .frontpage-logo {
        width: 70%;
    }
}