@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,600;1,400;1,600&family=Rajdhani:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
    /* border: 1px solid red; */
}

body,
html {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

html {
    background: #004190;
}

body {
    background-image: url(/img/layout/mobile_bg.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: 38vw 1fr 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #fffec1;
}

h1 {
    font-weight: 400;
    font-size: 35px;
    margin-top: 0;
}

    h1::before {
        content: "//";
        color: #89a2c8;
    }

h2 {
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 5px;
}

h3 {
    font-size: 18px;
    margin-top: 0;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 150%;
    color: #fff;
    margin: 30px 0;
    text-wrap: balance;
}

a {
    font-family: 'Roboto', sans-serif;
    color: #ffbc6f;
}

img.logo {
    width: 33.1vw;
}

button.show-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    width: 22.1vw;
    height: 13.9vw;
    background-color: transparent;
    border: none;
    background-image: url(/img/layout/mobile_menu.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: 10;
    transition: background-image .25s ease-in;
}

    button.show-nav.shown {
        background-image: url(/img/layout/mobile_close_menu.png);
        transition: background-image .25s ease-out;
        filter: brightness(0.5);
    }

nav.main ul {
    position: fixed;
    width: 100%;
    height: 100%;
    top: -100vh;
    margin: 0;
    padding: 0;
    opacity: 0;
    background: linear-gradient(to top left, #0048a0, #1be2e7 80%);
    /* background: linear-gradient(to bottom left, #6be7a2, #19dec5 65%); */
    transition: top .25s ease-out, opacity .25s ease-out;
}

    nav.main ul.show {
        text-align: center;
        top: 0;
        opacity: 1;
        transition: top .25s ease-in, opacity .25s ease-in;
        padding-top: 10vh;
        z-index: 2;
    }

        nav.main ul.show li {
            display: block;
            width: 100%;
        }

            nav.main ul.show li a {
                display: block;
                font-family: 'Rajdhani', sans-serif;
                text-shadow: -3px 3px 0 #00000015;
                font-weight: 400;
                font-size: 2.45rem;
                text-decoration: none;
                width: 100%;
                text-align: center;
                padding-top: 10px;
                padding-bottom: 10px;
                color: #004040;
                border-bottom: 1px dashed #00404062;
            }

            nav.main ul.show li.active a::before {
                background-color: #004040;
                content: '\00a0';
                margin-right: 10px;
                clip-path: polygon(0% 35%, 100% 50%, 0% 65%);
            }

            nav.main ul.show li.active a::after {
                background-color: #004040;
                content: '\00a0';
                margin-left: 10px;
                clip-path: polygon(0% 50%, 100% 35%, 100% 65%);
            }

nav.breadcrumbs {
    transform: rotate(332deg) skewX(34deg);
    position: fixed;
    left: -200vw;
    bottom: -50px;
    width: 400px;
    height: 300px;
    display: initial;
    opacity: 0;
    z-index: 3;
    transition: left .25s ease-out, opacity .25s ease-out;
}

    nav.breadcrumbs.show {
        left: 43vw;
        opacity: 1;
        transition: left .25s ease-in, opacity .25s ease-in;
    }

    nav.breadcrumbs h4 {
        color: #fff;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 5px;
        font-weight: 600;
        display: block;
        background: linear-gradient(to right, #0048a059, #0048a000 65%);
        margin: 0 0 5px 0;
        padding: 5px 20px;
    }

    nav.breadcrumbs ul {
        font-family: 'Rajdhani', sans-serif;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1.6px;
        list-style-type: none;
        font-weight: 300;
        padding: 5px 0 0 0;
        margin: 0;
    }

        nav.breadcrumbs ul li {
            display: block;
        }

            nav.breadcrumbs ul li div.arrow {
                display: inline-block;
                background-color: #ffffff75;
                clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 0 0);
            }

            nav.breadcrumbs ul li a {
                color: #fff;
                display: inline-block;
                text-decoration: none;
            }

            nav.breadcrumbs ul li:last-child div.arrow {
                background-color: #fffec1bd;
            }

            nav.breadcrumbs ul li:last-child a {
                color: #fffec1bd;
            }

main {
    margin: 6vw;
}

.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
    align-items: stretch;
    margin: 0 -15px;
}

    .gallery a {
        background-color: #004190;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        width: 46.2%;
        height: 100%;
        text-decoration: none;
        border-top: 16px solid #89a2c859;
        border-bottom: 8px solid #ffbd6f;
        box-shadow: -5px 5px 0 #0000001f;
        transition: transform .3s, box-shadow .3s, top .3s, z-index .3s, left .3s ease-out;
        transform: scale(1);
        top: 0;
        left: 0;
    }

        .gallery a:hover {
            transition: transform .3s, box-shadow .3s, top .3s, z-index .3s, left .3s ease-in;
            transform: scale(1.22);
            z-index: 2;
            box-shadow: 0 35px 12px -10px #00000045;
            top: 10px;
        }

        .gallery a img {
            width: 100%;
            display: inline-block;
        }

        .gallery a div {
            font-family: 'Rajdhani', sans-serif;
            color: #fff;
            display: block;
            padding: 5px 15px;
            background: linear-gradient(to top right, #89a2c859, #5cf7e663 65%);
            font-size: 1.2rem;
            cursor: pointer;
            letter-spacing: 1px;
            font-weight: 400;
        }

main.gallery-image {
    grid-template-columns: 1fr 400px;
    text-align: center;
    grid-column-gap: 0;
    margin: 0;
    padding: 2vw;
}

    main.gallery-image img {
        max-width: 100%;
    }

aside {
    width: 100%;
    text-wrap: balance;
    text-align: left;
}

    aside h1 {
        position: absolute;
        top: 15vw;
        right: 5vw;
        transform: rotate(331deg) skewX(34deg);
        font-size: 5.5vw;
        letter-spacing: initial;
        width: 45vw;
        border-bottom: 1px dashed #89a2c8;
    }

    aside h2 {
        font-size: 2rem;
        line-height: 2rem;
        border-bottom: 2px solid #0989e494;
        color: #ffffff;
        padding-bottom: 10px;
    }

    aside h3 {
        margin-top: 10px;
        font-size: 1.2rem;
    }

    aside p {
        margin: 15px 0;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    aside ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        aside ul li {
            display: block;
            width: 100%;
            border-top: 2px solid #0989e494;
        }

            aside ul li h3 {
                font-size: 1.2rem;
                padding: 0;
                margin: 10px 0 10px 0;
                display: inline-block;
                width: 20%;
            }

            aside ul li h4 {
                color: #fff;
                padding: 0;
                font-size: 1.18rem;
                font-weight: 400;
                letter-spacing: 1.2px;
                margin: 10px 0 0 0;
                display: block;
                width: 80%;
                text-align: right;
                font-style: italic;
                float: right;
            }

            aside ul li p {
                margin: 5px 0;
                padding: 5px 0 0 0;
                font-size: 14px;
            }

            aside ul li a {
                display: block;
                font-size: 16px;
                font-family: 'Rajdhani', sans-serif;
                margin-bottom: 20px;
            }

footer {
    /* background-image: url(/img/layout/footer_bg_mobile.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    padding-top: 130px; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
    padding-bottom: 10px;
}

@media screen and (min-width:950px) {
    button.show-nav {
        display: none;
    }

    body {
        background-repeat: no-repeat;
        background-size: 710px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 125px 1fr 125px;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        background-position-x: left;
        background-image: url(/img/layout/home_bg.png);
    }

    h1 {
        font-size: 64px;
        margin: 15px -15px 0 -15px;
    }

    h2 {
        font-size: 42px;
        margin: 15px 0;
    }

    p {
        font-size: 18px;
        line-height: 170%;
        margin: 40px 0;
    }

    img.logo {
        width: 201px;
    }

    nav.main {
        transform: skewY(-29deg) scaleX(0.83);
        width: 204px;
        left: 15px;
        position: relative;
    }

        nav.main ul {
            list-style-type: none;
            width: 100%;
            margin: 39px 0 0 0px;
            padding: 0;
            opacity: 1;
            top: initial;
            background: transparent;
        }

            nav.main ul li {
                width: 100%;
            }

                nav.main ul li a {
                    position: relative;
                    font-weight: 400;
                    display: block;
                    width: 100%;
                    text-align: center;
                    text-transform: uppercase;
                    color: #fffec1;
                    font-family: 'Rajdhani', sans-serif;
                    text-decoration: none;
                    font-size: 29px;
                    padding: 10px;
                    letter-spacing: 3px;
                    transition: all .2s ease-in;
                    text-shadow: -3px -3px 0 #ffffff50;
                    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%, 0 0);
                    /* clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 0 0); */
                }

                nav.main ul li.active a {
                    font-size: 29px;
                    font-weight: 400;
                    text-align: center;
                    text-transform: uppercase;
                    font-family: 'Rajdhani', sans-serif;
                    color: #dedede;
                    background-color: #004290;
                    filter: invert(.91);
                    letter-spacing: 3px;
                    text-shadow: -3px -3px 0 #ffffff2e;
                    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%, 0 0);
                }

                nav.main ul li a:hover {
                    z-index: 1;
                    text-decoration: underline;
                    color: #fffec1;
                    transform: skewY(24.6deg) scale(1.1) scaleX(1.29);
                    text-underline-offset: 5px;
                    filter: invert(1);
                    background-color: #004290;
                    transition: all .2s ease-out;
                    text-shadow: 2px 2px 2px #ffffff50;
                    padding: 10px 25px 10px 0;
                    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%, 0 0);
                    margin-left: 15px;
                }

    a.social {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        width: 150px;
        text-align: center;
        color: #fff;
        text-decoration: none;
        font-family: 'Rajdhani';
        font-size: 15px;
        font-weight: 400;
        margin: 50px 0 0 30px;
        opacity: .8;
        transition: all .2s;
    }

        a.social:hover {
            top: 5px;
            left: 5px;
            text-shadow: -5px -5px 0 #ffffff2a;
            transition: all .2s;
        }

            a.social:hover img {
                transition: all .2s;
                box-shadow: -5px -5px 0 #ffffff2a;
            }

        a.social img {
            transition: all .2s;
            box-shadow: 0 0 0 #ffffff00;
        }


    nav.breadcrumbs {
        position: absolute;
        right: 15px;
        top: -75px;
        left: initial;
        bottom: initial;
        display: initial;
        opacity: 1;
        transition: none;
    }

        nav.breadcrumbs h4 {
            background: linear-gradient(to right, #89a2c859, #89a2c800 65%);
        }

    main {
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        gap: 100px;
        height: 100%;
        margin: 0 80px 20px 300px;
    }

        main.gallery-image {
            grid-template-columns: 1fr 400px;
            text-align: center;
            margin: 0 0 0 219px;
            grid-column-gap: 0;
            padding: 0;
        }

            main.gallery-image img {
                max-height: 100vh;
                max-width: 100%;
                margin: 50px 10px 0 -10px;
                /* max-width: 100%; */
            }

            main.gallery-image nav.breadcrumbs {
                right: 365px;
                bottom: 0;
            }

    article {
        padding-top: 25px;
    }

    .article-info {
        padding-bottom: 10px;
        width: 100%;
        border-bottom: 2px solid #0055ae;
    }

    article h2 {
        color: #fff;
        font-weight: 600;
        font-size: 28px;
        display: inline-block;
        padding: 0;
        margin: 0;
        width: 50%;
    }

    article h3 {
        display: block;
        font-weight: 400;
        padding: 0;
        margin: 0;
        width: 50%;
        letter-spacing: 1.2px;
        font-size: 20px;
        text-align: right;
        font-style: italic;
        float: right;
        color: #fff;
    }

    article p img {
        padding: 10px;
    }

    aside {
        width: 400px;
        padding: 20px 30px;
        position: relative;
        top: -125px;
        background: linear-gradient(to top, #013b9600, #0b56afff);
    }

        aside h1 {
            margin: 15px -15px 0px -15px;
            font-size: 2.5rem;
            line-height: 2.5rem;
            letter-spacing: -1px;
            transform: initial;
            border-bottom: none;
            width: initial;
            position: initial;
            top: initial;
            right: initial;
        }

        aside h2 {
            margin: 15px -30px;
            padding: 10px 15px 15px 15px;
        }

        aside ul {
            width: 400px;
        }

            aside ul li {
                margin: 0px -30px;
                padding: 0 30px;
            }

    .gallery a {
        width: 180px;
        border-top: 8px solid #89a2c859;
        border-bottom: 4px solid #ffbd6f;
    }

        .gallery a div {
            font-size: 19px;
        }

    body.gallery-item {
        grid-template-columns: 150px 1fr 350px;
        grid-template-rows: 125px 1fr 125px;
        grid-template-areas:
            "header header aside"
            "body body aside"
            "footer footer footer";
    }

        body.gallery-item aside {
            grid-area: aside;
            top: 0;
        }

        body.gallery-item header {
            grid-area: header;
        }

        body.gallery-item main {
            grid-area: body;
            grid-template-columns: 1fr;
        }

        body.gallery-item footer {
            grid-area: footer;
        }

        body.gallery-item h1 {
            font-size: 42px;
            margin-top: 0;
        }

        body.gallery-item h2 {
            font-size: 22px;
            font-weight: 600;
            color: #fff;
        }

        body.gallery-item article {
            padding-top: 53px;
        }

            body.gallery-item article img {
                display: block;
                width: 100%;
                object-fit: contain;
                padding: 20px;
            }

    footer {
        padding-top: 80px;
        background-repeat: no-repeat;
        background-size: 309px 125px;
        background-position: right;
        background-image: url(/img/layout/footer_bg_desktop.png);
    }
}
