﻿* {
    box-sizing: border-box;
}

.dropdown__title {
    background-color: transparent;
    border: none;
    font-family: inherit;
}

ul.pagination > li > button {
    font-size: 0.8rem !important;
}

nav.arma {
    background-color: #0d024c;
    padding: 0px 10px 0 30px;
    /*position: sticky;*/
    top: 0;
    display: grid;
    place-items: flex-start;
    z-index: 1;
}

    nav.arma > ul {
        grid-auto-flow: column;
    }

        nav.arma > ul > li {
            margin: 0 10px;
        }

            nav.arma > ul > li a,
            nav.arma > ul > li .dropdown__title {
                text-decoration: none;
                text-align: center;
                display: inline-block;
                color: #fff;
                font-size: 0.7rem;
                font-weight: 700;
            }

                nav.arma > ul > li a:focus,
                nav.arma > ul > li .dropdown__title:focus {
                    outline: none;
                }

            nav.arma > ul > li > a,
            nav.arma > ul > li .dropdown__title {
                padding: 0.35rem 0.28rem;
                border-top: 3px solid transparent;
                transition: 280ms all 120ms ease-out;
            }

                nav.arma > ul > li > a:hover, nav.arma > ul > li > a:focus,
                nav.arma > ul > li .dropdown__title:hover,
                nav.arma > ul > li .dropdown__title:focus {
                    border-top-color: #DD7C3B;
                    color: #DD7C3B;
                }

    nav.arma ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
    }

        nav.arma ul li {
            padding: 0;
        }

.dropdown {
    position: relative;
}

    .arma .dropdown .dropdown__title {
        display: inline-flex;
        align-items: center;
    }

        .dropdown .dropdown__title:after {
            content: "";
            border: 0.35rem solid transparent;
            border-top-color: rgba(255, 255, 255, 0.45);
            margin-left: 0.25em;
            transform: translateY(0.35em);
        }

    .dropdown .dropdown__menu {
        position: absolute;
        min-width: 15ch;
        left: 50%;
        top: calc(100% + 0.05rem);
        transition: 280ms all 120ms ease-out;
        transform: rotateX(-90deg) translateX(-50%);
        transform-origin: top center;
        visibility: hidden;
        opacity: 0.3;
        padding: 0.5em 0;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 0.15em 0.25em rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

        .dropdown .dropdown__menu a {
            color: #DD7C3B;
            display: block;
            padding: 0.5em;
            opacity: 0;
            transition: 120ms all 10ms ease-out;
        }

            .dropdown .dropdown__menu a:hover {
                background-color: rgba(13, 2, 76, 0.15);
            }

            .dropdown .dropdown__menu a:focus {
                outline: none;
                background-color: rgba(13, 2, 76, 0.25);
            }

    .dropdown:after {
        content: "";
        border: 0.5rem solid transparent;
        border-bottom-color: #fff;
        position: absolute;
        top: calc(100% - 0.85rem);
        left: 50%;
        transform: translateX(-50%);
        transition: 280ms all 120ms ease-out;
        opacity: 0;
        will-change: opacity;
    }

    .dropdown:hover .dropdown__title, .dropdown:focus-within .dropdown__title {
        border-top-color: #DD7C3B;
    }

    .dropdown:hover .dropdown__menu, .dropdown:focus-within .dropdown__menu {
        opacity: 1;
        transform: rotateX(0) translateX(-50%);
        visibility: visible;
    }

        .dropdown:hover .dropdown__menu a, .dropdown:focus-within .dropdown__menu a {
            opacity: 1;
        }

    .dropdown:hover:after, .dropdown:focus-within:after {
        opacity: 1;
    }

/*
body {
    font-family: "Baloo 2", sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

header,
footer {
    display: grid;
    place-items: center;
}

header {
    background-image: url(https://images.unsplash.com/photo-1582232655383-0826ba4f1347?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    box-shadow: inset 100vw 100vh rgba(102, 51, 153, 0.6);
    min-height: 40vh;
    color: #fff;
}

main {
    padding: 1rem;
    max-width: 80ch;
    margin: 0 auto;
}

    main:focus {
        outline: none;
    }

footer {
    background-color: mintcream;
}

h1 {
    font-size: 4rem;
    text-align: center;
}

p {
    font-size: 1.125rem;
    line-height: 1.5;
}
*/
