/*
Theme Name: Boven Water Theme
Author: Eelke Spijkers
Version: 1
*/

/* Root styles */
a {
    color: inherit;
    -webkit-text-decoration: none;
    text-decoration: none;
}

:where(b, strong) {
    font-weight: 500;
}

a:hover {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/* Header styles */
header > div.wp-block-group:first-child {
    grid-template-columns: 2fr 1fr;
}

header .logoimg {
    position: relative;
}

header .logoimg img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

header .wp-block-navigation .current-menu-item {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

header .wp-block-navigation__container {
    flex: 1 0 auto;
}

#springt > :nth-child(2n) {
    transform: translateY(-10px);
}

@media only screen and (orientation: landscape) and (min-width: 0px) {
    header .logoimg img {
        max-width: 200%;
        max-height: 200%;
        top: -25%;
        left: -2.5%;
    }
}

@media only screen and (orientation: landscape) and (min-width: 1080px) {
    header .logoimg img {
        max-width: 200%;
        max-height: 200%;
        top: -25%;
        left: -5%;
    }
}

@media only screen and (orientation: landscape) and (min-width: 1100px) {
    header .logoimg img {
        max-width: 200%;
        max-height: 200%;
        top: -26.5%;
        left: 4.5%;
    }
}

header a.current {
    color: white;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/* Page styles */
.page-container {
    display: grid;
    --column-template: 5% 1fr 5%;
    grid-template-columns: var(--column-template);
}

/* Mobile landscape*/
@media only screen and (orientation: landscape) and (min-width: 0px) {
    .page-container {
        --column-template: 10% 1fr 10%;
    }
}

/* Tablet */
@media only screen and (orientation: landscape) and (min-width: 1080px) {
    .page-container {
        --column-template: 12.5% 1fr 12.5%;
    }
}

/* Desktop */
@media only screen and (orientation: landscape) and (min-width: 1100px) {
    .page-container {
        --column-template: 25% 1fr 25%;
    }
}

main a {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

main a:hover {
    -webkit-text-decoration: underline solid;
    text-decoration: underline solid;
}