/**
 * @author      Sascha M. Schumacher <sascha@neowulf.net>
 * @copyright   Copyright © 2023-present by Neowulf - All Rights Reserved.
 * @link        https://www.neowulf.net/
 * @license     Proprietary Software License
 * @version     0.1.0
 * @since       0.1.0
 */

/* Fonts */

@font-face {
    font-family: 'WorkSans';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src:
        local('WorkSans'),
        local('Work Sans'),
        url(../fonts/work-sans-v24-latin-regular.woff2) format('woff2'),
        url(../fonts/work-sans-v24-latin-regular.woff) format('woff');
}

@font-face {
    font-family: 'NotoSans';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src:
        local('NotoSans'),
        local('Noto Sans'),
        url(../fonts/noto-sans-v42-latin-regular.woff2) format('woff2'),
        url(../fonts/noto-sans-v42-latin-regular.woff) format('woff');
}

/* Animations */

@keyframes animate-scroll {
    0% {
        background-position-x: 200%;
    }

    100% {
        background-position-x: 0;
    }
}

@keyframes animate-rotate {
    0% {
        --degree: 0deg;
    }

    10% {
        --degree: 36deg;
    }

    20% {
        --degree: 73deg;
    }

    30% {
        --degree: 108deg;
    }

    40% {
        --degree: 144deg;
    }

    50% {
        --degree: 180deg;
    }

    60% {
        --degree: 216deg;
    }

    70% {
        --degree: 252deg;
    }

    80% {
        --degree: 288deg;
    }

    90% {
        --degree: 324deg;
    }

    100% {
        --degree: 360deg;
    }
}

/* Variables */

:root {
    --font-family: 'Work Sans', 'Verdana', sans-serif;
    --font-family-a11y: 'Nato Sans', 'Verdana', sans-serif;
    --font-size: 16px;
    --font-size-a11y: 20px;
    --line-height: 1.5;
    --line-height-a11y: 2;
    --font: var(--font-size) / var(--line-height) var(--font-family);
    --font-a11y: var(--font-size-a11y) / var(--line-height-a11y) var(--font-family-a11y);
}

:root,
:root[data-theme="dark"] {
    --color-background-darkest: rgba(0, 0, 0, 1);
    --color-background-darker: rgba(12, 12, 12, 1);
    --color-background-dark: rgba(24, 24, 24, 1);
    --color-background: rgba(36, 36, 36, 1);
    --color-background-light: rgba(48, 48, 48, 1);
    --color-background-lighter: rgba(60, 60, 60, 1);
    --color-background-lightest: rgba(72, 72, 72, 1);
    --color-on-background-darkest: rgba(183, 183, 183, 1);
    --color-on-background-darker: rgba(195, 195, 195, 1);
    --color-on-background-dark: rgba(207, 207, 207, 1);
    --color-on-background: rgba(219, 219, 219, 1);
    --color-on-background-light: rgba(231, 231, 231, 1);
    --color-on-background-lighter: rgba(243, 243, 243, 1);
    --color-on-background-lightest: rgba(255, 255, 255, 1);
    --color-on-primary: rgba(0, 0, 0, 1);
    --color-primary-dark: rgba(170, 118, 28, 1);
    /* #aa771c */
    --color-primary: rgba(179, 135, 40, 1);
    /* #b38728 */
    --color-primary-light: rgba(191, 148, 63, 1);
    /* #bf953f */
    --color-secondary-dark: rgba(250, 245, 180, 1);
    /**/
    --color-secondary: rgba(251, 246, 183, 1);
    /* #fbf5b7 */
    --color-secondary-light: rgba(252, 247, 186, 1);
    /* #fcf6ba */
    --color-shadow: rgba(128, 128, 128, 0.32);
}

:root[data-theme="light"] {
    --color-background: rgba(219, 219, 219, 1);
}

:root {
    --gradient-background:
        repeating-linear-gradient(45deg,
            transparent 0,
            hsl(0, 0%, 4%) 3px,
            hsl(0, 0%, 6%) 4px,
            hsl(0, 0%, 4%) 5px,
            transparent 8px),
        repeating-linear-gradient(-45deg,
            hsl(0, 0%, 3%) 0,
            hsl(0, 0%, 4%) 3px,
            hsl(0, 0%, 6%) 4px,
            hsl(0, 0%, 4%) 5px,
            hsl(0, 0%, 3%) 8px);
    --gradient-primary:
        linear-gradient(64deg,
            var(--color-primary-light) 0%,
            var(--color-secondary-light) 25%,
            var(--color-primary) 50%,
            var(--color-secondary) 75%,
            var(--color-primary-dark) 100%);
    --gradient-primary-variant:
        linear-gradient(0deg,
            var(--color-primary-light) 0%,
            var(--color-secondary-light) 33%,
            var(--color-secondary) 67%,
            var(--color-primary-dark) 100%);
    --gradient-surface:
        linear-gradient(0deg,
            var(--color-background) 0%,
            var(--color-background-darker) 20%,
            var(--color-background-darkest) 50%,
            var(--color-background-darker) 80%,
            var(--color-background) 100%);
    --gradient-surface-header:
        linear-gradient(0deg,
            transparent var(--border-width),
            var(--color-background) var(--border-width),
            var(--color-background-dark) calc(var(--border-width) + 16%),
            var(--color-background-darker) calc(var(--border-width) + 32%),
            var(--color-background-darkest) 100%),
        var(--gradient-primary);
    --gradient-surface-footer:
        linear-gradient(0deg,
            var(--color-background-darkest) 0%,
            var(--color-background-darker) calc(92% - var(--border-width)),
            var(--color-background-dark) calc(96% - var(--border-width)),
            var(--color-background) calc(100% - var(--border-width)),
            transparent calc(100% - var(--border-width))),
        var(--gradient-primary);
}

:root {
    --border-width-small: 1px;
    --border-width: 2px;
    --border-width-large: 3px;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-s: 12px;
    --spacing-m: 16px;
    --spacing-l: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 128px;
    --spacing-smallest: 4px;
    --spacing-smaller: 8px;
    --spacing-small: 12px;
    --spacing: 16px;
    --spacing-large: 32px;
    --spacing-larger: 64px;
    --spacing-largest: 128px;
    --spacing-extra-large: 160px;
    --width-min: 320px;
    --width-wide: 1280px;
    --width-full: 100vw;
    --z-index-base: 1;
    --z-index-fixed: 100;
    --z-index-fixed-overlay: calc(var(--z-index-fixed) * 2);
}

:root {
    --duration-short: 0.5s;
    --duration: 1s;
    --duration-long: 1.5s;
    --duration-longer: 4s;
}

/** Elements */

*,
*::after,
*::before {
    overflow-wrap: break-word;
    box-sizing: border-box;
    font-family: inherit;

    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto !important;
        animation-delay: 1ms !important;
        animation-duration: 1ms !important;
        transition-delay: 1ms !important;
        transition-duration: 1ms !important;
    }
}

::selection {
    background-color: #fbf5b7;
    text-shadow: none;
    color: hsl(0, 0%, 0%);

    @media (prefers-contrast: more) {
        background-color: hsl(0, 0%, 100%);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
    text-size-adjust: 100%;

    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}

body {
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    background:
        repeating-linear-gradient(45deg,
            transparent 0,
            hsl(0, 0%, 8%) 3px,
            hsl(0, 0%, 12%) 4px,
            hsl(0, 0%, 8%) 5px,
            transparent 8px),
        repeating-linear-gradient(-45deg,
            transparent 0,
            hsl(0, 0%, 8%) 3px,
            hsl(0, 0%, 12%) 4px,
            hsl(0, 0%, 8%) 5px,
            transparent 8px),
        hsl(0, 0%, 0%);
    font: 16px / 1.5 WorkSans, Helvetica, sans-serif;
    color: hsl(0, 0%, 100%);

    @media (prefers-contrast: more) {
        background-image: none;
        font: 20px / 2 NotoSans, Verdana, sans-serif;
    }
}

footer,
header,
img,
main {
    display: block;
}

h1 {
    animation: animate-scroll 4s linear infinite;
    margin-block: 1rem;
    background-image:
        linear-gradient(90deg,
            #bf953f 0%,
            #fcf6ba 12.5%,
            #b38728 37.5%,
            #fbf5b7 62.5%,
            #aa771c 87.5%,
            #bf953f 100%);
    background-repeat: repeat-x;
    background-size: 200% 100%;
    background-clip: text;
    color: transparent;
}

h2,
h3,
h4,
h5,
h6 {
    color: #b38728;
}

a {
    transition: color .5s linear;
    text-decoration: none;
    color: #fbf5b7;

    &:hover {
        color: #b38728;
    }
}

ul {
    list-style-type: "🐾︎  ";
    padding-right: .5rem;
    font-variant-emoji: text;
}

li {
    color: hsl(0, 0%, 100%);

    &::marker {
        color: #b38728;
    }
}

address {
    font-style: normal;
}

b,
strong {
    font-weight: bolder;
}

/* p {
    margin-block: .5rem;

    @media (min-width: 1280px) {
        margin-inline: auto;
        max-width: 80rem;
    }
} */

small {
    font-size: .8rem;
}

a:has(img) {
    img {
        transform: scale(100%);
        transition: all .5s linear;
    }

    &:hover img {
        transform: scale(110%);
    }
}

button,
.button,
.button__icon,
.button__icon--phone,
.button__icon--calendar {
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid #b38728;
    border-radius: 32px;
    padding: 12px 16px 12px 16px;
    background-image:
        linear-gradient(90deg,
            #bf953f 0%,
            #fcf6ba 12.5%,
            #b38728 37.5%,
            #fbf5b7 62.5%,
            #aa771c 87.5%,
            #bf953f 100%);
    background-repeat: repeat-x;
    background-size: 200% 100%;
    font-weight: bolder;
    text-decoration: none;
    color: hsl(0, 0%, 0%);

    &:hover {
        animation: animate-scroll 4s linear infinite;
        color: hsl(0, 0%, 0%);
    }
}

.button__icon,
.button__icon--phone,
.button__icon--calendar {
    padding-right: 48px;

    &::after {
        content: '🐾︎';
        position: absolute;
        top: 50%;
        right: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        border: 2px solid #b38728;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        background-color: hsl(0, 0%, 0%);
        font-variant-emoji: text;
        color: #b38728;
    }
}

.button__icon--phone::after {
    content: '📞';
}

.button__icon--calendar::after {
    content: '📅';
    font-size: .8rem;
}


/** Classes */

.nw-container {
    margin-inline: 2rem;

    @media (min-width: 84rem) {
        margin-inline: auto;
        width: 80rem;
    }
}

.nw-clean-list {
    list-style: none;
    margin-block: 0;
    padding-left: 0;
}

.nw-text--gold-animation {
    animation: animate-scroll 4s linear infinite;
    background-image:
        linear-gradient(64deg,
            #bf953f 0%,
            #fcf6ba 25%,
            #b38728 50%,
            #fbf5b7 75%,
            #aa771c 100%);
    background-repeat: repeat-x;
    background-size: 200% 100%;
    background-clip: text;
    color: transparent;
}

.fixed-top {
    position: fixed;
    z-index: 256;
    top: 0;
    left: 0;
    right: 0;
}

.global-header {
    animation: animate-scroll 4s linear infinite;
    transition:
        background 1s linear,
        box-shadow .5s linear 1s;
    box-shadow: 0 .5rem 1rem 0 rgba(128, 128, 128, 0.32);
    padding-inline: 2rem;
    background-image:
        linear-gradient(0deg,
            transparent 2px,
            hsl(0, 0%, 16%) 2px,
            hsl(0, 0%, 14%) 4px,
            hsl(0, 0%, 12%) 6px,
            hsl(0, 0%, 10%) 8px,
            hsl(0, 0%, 8%) 10px,
            hsl(0, 0%, 6%) 12px,
            hsl(0, 0%, 4%) 14px,
            hsl(0, 0%, 2%) 50%,
            hsl(0, 0%, 0%) 100%),
        linear-gradient(90deg,
            #bf953f 0%,
            #fcf6ba 12.5%,
            #b38728 37.5%,
            #fbf5b7 62.5%,
            #aa771c 87.5%,
            #bf953f 100%);
    background-repeat: repeat-x;
    background-size: 200% 100%;
}

.js [data-scroll='0'] .global-header {
    @media screen and (min-width:1080px) {
        transition:
            background 1s linear 1s,
            box-shadow .5s linear;
        box-shadow: none;
        background-size: 200% 0;
    }
}

.absolute-center {
    position: absolute;
    z-index: +1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.screen-reader-only:not(:focus):not(:active) {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    white-space: nowrap;
}

.skip-link {
    transition: all .5s linear;
    margin: 1rem 2rem;
    border: 3px solid hsl(0, 0%, 100%);
    border-radius: .5rem;
    padding: 1rem;
    background-color: hsl(0, 0%, 0%);
    font: bolder 1.5rem / 2 NotoSans, Verdana, sans-serif;
    letter-spacing: .5rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: hsl(0, 0%, 100%);

    &:hover {
        border-color: hsl(0, 0%, 0%);
        background-color: hsl(0, 0%, 100%);
        color: hsl(0, 0%, 0%);
    }
}

.main-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;

    @media (min-width: 820px) {
        flex-direction: row;
        justify-content: space-between;
    }

    @media (min-width: 1280px) {
        margin-inline: auto;
        max-width: 80rem;
    }
}

.logo-link {
    transition: all .5s linear;
    margin-top: 1rem;
    width: 222px;
    height: 72px;

    @media (min-width: 820px) {
        margin-block: 1rem;
    }
}

.logo-link>img {
    width: 100%;
    height: 100%;
}

.js [data-scroll='0'] .logo-link {
    @media (min-width: 1330px) {
        transition: all .5s linear 1s;
        margin-block: 2rem;
        width: 296px;
        height: 96px;
    }
}

.main-menu {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding-left: 0;
}

.main-menu>li {
    &:first-child {

        >a,
        button {
            margin-inline: 0 2px;
            padding-inline: 0 2px
        }
    }

    &:last-child {

        >a,
        button {
            margin-inline: 2px 0;
            padding-inline: 2px 0
        }
    }

    &:not(:first-child):not(:last-child) {

        >a,
        button {
            margin-inline: 2px;
            padding-inline: 2px
        }
    }

    >a,
    button {
        background-clip: text;
        background-image: var(--gradient-primary);
        color: #fff0;
        font-size: .6rem;
        white-space: nowrap;
        padding-block: 22px;
        transition: all var(--duration-short) linear;

        &:hover {
            font-weight: bolder
        }
    }

    >a {
        border-bottom: none;
        display: inline-block
    }

    >button {
        border: none;

        &::after {
            border-image: var(--gradient-primary) 1;
            border-top-width: var(--border-width-small);
            border-right-width: var(--border-width-small);
            height: .2rem;
            margin: .1rem;
            transform: rotate(-45deg);
            width: .2rem
        }
    }

}

.main-menu [data-trigger=menu-click][aria-expanded=true] {
    font-weight: bolder;
}

.main-menu [data-trigger=menu-click][aria-expanded=true]+.submenu {
    opacity: 1;
    transform: scaleY(1);
}

.main-menu [data-trigger=menu-click][aria-expanded=true]:after {
    transform: rotate(135deg);
    transition: all .5s linear;
}

@media screen and (min-width:440px) {
    .main-menu>li {

        >a,
        button {
            font-size: .8rem;

            &::after {
                height: .35rem;
                margin: .15rem;
                width: .35rem
            }
        }
    }
}

@media screen and (min-width:560px) {
    .main-menu>li {

        >a,
        button {
            font-size: 1rem;

            &::after {
                border-top-width: var(--border-width);
                border-right-width: var(--border-width);
                height: .5rem;
                margin: .2rem;
                width: .5rem
            }
        }
    }
}

@media screen and (min-width:820px) {
    .main-menu>li {

        >a,
        button {
            padding-block: 44px;
            transition: all var(--duration-short) linear var(--duration)
        }
    }
}

@media screen and (min-width:1200px) {
    .main-menu>li {
        &:first-child {

            >a,
            button {
                margin-right: 2px;
                padding-right: 8px
            }
        }

        &:last-child {

            >a,
            button {
                margin-left: 2px;
                padding-left: 8px
            }
        }

        &:not(:first-child):not(:last-child) {

            >a,
            button {
                margin-inline: 2px;
                padding-inline: 8px
            }
        }

        >a,
        button {
            padding-block: 44px
        }

        >button::after {
            height: .5rem;
            margin: .1rem;
            width: .5rem
        }
    }
}

@media screen and (min-width:1330px) {
    .main-menu>li {
        &:first-child {

            >a,
            button {
                margin-right: 4px;
                padding-right: 16px
            }
        }

        &:last-child {

            >a,
            button {
                margin-left: 4px;
                padding-left: 16px
            }
        }

        &:not(:first-child):not(:last-child) {

            >a,
            button {
                margin-inline: 4px;
                padding-inline: 16px
            }
        }

        >a,
        button {
            padding-block: 44px
        }

        >button::after {
            margin: .18rem
        }
    }
}

@media screen and (min-width:1200px) {
    .js>[data-scroll='0'] .main-menu>li {

        >a,
        button {
            padding-block: 53px 91px;
            transition: all var(--duration-short) linear var(--duration)
        }
    }
}

.no-js .main-menu>li:hover {
    >button:after {
        transform: rotate(135deg);
        transition: all var(--duration-short) linear
    }

    .submenu {
        opacity: 1;
        transform: scaleY(1)
    }
}

.submenu {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-small);
    background-image: var(--gradient-surface);
    box-shadow: 0 8px 16px 0 var(--color-shadow);
    padding: var(--spacing-large);
    border-image: var(--gradient-primary) 1;
    border: var(--border-width) solid var(--color-primary);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all var(--duration-short) linear
}

@media (min-width:820px) {
    .submenu {
        grid-template-columns: 1fr 1fr
    }
}

.submenu {
    cursor: auto;

    >li {
        animation: split-border-animation var(--duration-long) infinite;
        background-image: var(--gradient-surface);
        background-size: 200%;
        border: var(--border-width) solid #fff0;
        border-radius: var(--spacing);
        margin: var(--spacing-smaller);
        filter: brightness(80%);

        >a {
            color: var(--color-on-background);
            border-radius: var(--spacing);
            text-decoration: none;
            display: grid;
            grid-template-columns: 80px auto;
            grid-template-rows: 1rem auto;
            gap: var(--spacing-smaller) var(--spacing-smaller);
            grid-auto-flow: row;
            grid-template-areas: "img title" "img text";
            padding: var(--border-width);
            height: 100%;

            img {
                grid-area: img;
                height: 64px;
                margin: auto;
                width: 64px
            }

            .title {
                grid-area: title;
                font-size: 1.2rem
            }

            .text {
                font-size: 1rem;
                grid-area: text;
                line-height: 1.5
            }
        }
    }

    >li:hover {
        filter: brightness(100%)
    }
}

.hero {
    position: relative;
    padding: 13rem 2rem 2rem;

    @media (min-width: 48rem) {
        padding-top: 9rem;
    }
}

.hero-back,
.hero-front {
    display: block;
    margin-inline: auto;
    width: min(80rem, 100%);
}

.hero-front {
    position: absolute;
    z-index: +1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    align-content: end;
    padding: 3rem;
}

.hero-headline {
    font-size: 1.5rem;

    @media (min-width: 35rem) {
        font-size: 2rem;
    }
}

.hero-image {
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: hsl(0, 0%, 8%) hsl(0, 0%, 12%) hsl(0, 0%, 12%) hsl(0, 0%, 8%);
    border-radius: 16px;

    &::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: inset 0px 0px 16px 0 hsl(0, 0%, 100%, 0.2);
        border-radius: inherit;
    }

    img {
        border-radius: inherit;
        width: 100%;
        height: 100%;
        filter: brightness(32%);
    }
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-block: 0;
    padding-left: 0;
}

.breadcrumb {
    &:has([aria-current="page"]) a {
        color: hsl(0, 0%, 100%);
    }

    &:has(:not([aria-current="page"]))::after {
        content: '/';
        margin-inline: .5rem;
        color: hsl(0, 0%, 100%);
    }
}

.global-footer {
    animation: animate-scroll 4s linear infinite;
    padding: 4rem 2rem;
    background-image:
        linear-gradient(180deg,
            transparent 2px,
            hsl(0, 0%, 16%) 2px,
            hsl(0, 0%, 14%) 4px,
            hsl(0, 0%, 12%) 6px,
            hsl(0, 0%, 10%) 8px,
            hsl(0, 0%, 8%) 10px,
            hsl(0, 0%, 6%) 12px,
            hsl(0, 0%, 4%) 14px,
            hsl(0, 0%, 2%) 50%,
            hsl(0, 0%, 0%) 100%),
        linear-gradient(90deg,
            #bf953f 0%,
            #fcf6ba 12.5%,
            #b38728 37.5%,
            #fbf5b7 62.5%,
            #aa771c 87.5%,
            #bf953f 100%);
    background-repeat: repeat-x;
    background-size: 200% 100%;
    font-size: .8rem;
}

.global-footer-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        'logo'
        'about-us'
        'contact-nav'
        'service-nav'
        'legal-nav'
        'hiscox-seal'
        'copyright';
    gap: var(--spacing-l);
    margin-inline: auto;
    max-width: 80rem;

    .logo {
        grid-area: logo;
        width: 100%;
    }

    .about-us {
        grid-area: about-us
    }

    .contact-nav {
        grid-area: contact-nav
    }

    .follow-nav {
        grid-area: follow-nav;
        display: none
    }

    .service-nav {
        grid-area: service-nav
    }

    .legal-nav {
        grid-area: legal-nav
    }

    .hiscox-seal {
        grid-area: hiscox-seal
    }

    .copyright {
        grid-area: copyright
    }

    .logo,
    .about-us,
    .contact-nav,
    .follow-nav,
    .service-nav,
    .legal-nav,
    .hiscox-seal,
    .copyright {
        justify-self: center;
        display: flex;
        flex-direction: column;
        text-align: center
    }

    ul {
        list-style: none;
        padding-left: 0;
        margin-block: var(--spacing) 0
    }

    .follow-nav ul {
        display: flex;
        flex-direction: row;

        >li:not(:first-child) {
            margin-left: var(--spacing-xxs)
        }

        >li:not(:last-child) {
            margin-right: var(--spacing-xxs)
        }
    }

    :not(.follow-nav) ul {
        >li:not(:first-child) {
            margin-top: var(--spacing)
        }

        >li:not(:last-child) {
            margin-bottom: var(--spacing)
        }
    }

    p {
        margin: var(--spacing) 0 0 0
    }

    a {
        border-bottom: none
    }
}

@media screen and (min-width:450px) {
    .global-footer-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            'logo logo'
            'about-us about-us'
            'contact-nav service-nav'
            'contact-nav hiscox-seal'
            'legal-nav hiscox-seal'
            'copyright copyright';

        .hiscox-seal {
            align-self: end
        }
    }
}

@media screen and (min-width:680px) {
    .global-footer-layout {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            'logo logo logo'
            'about-us about-us about-us'
            'contact-nav service-nav legal-nav'
            'contact-nav service-nav hiscox-seal'
            'contact-nav service-nav hiscox-seal'
            'copyright copyright copyright';

        .contact-nav,
        .follow-nav,
        .service-nav,
        .legal-nav {
            justify-self: start;
            text-align: start
        }

        .hiscox-seal {
            justify-self: end
        }
    }
}

@media screen and (min-width:1024px) {
    .global-footer-layout {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        grid-template-areas:
            'logo contact-nav service-nav legal-nav'
            'about-us contact-nav service-nav hiscox-seal'
            'follow-nav contact-nav service-nav hiscox-seal'
            'copyright copyright copyright copyright';

        .logo,
        .about-us {
            justify-self: start;
            text-align: start
        }
    }
}