:root {
    --taurusNetworkDarkBlue: #17282F;
    --taurusNetworkPrimary: #008fb4;
    --taurusNetworkPrimaryDark: #5595AE;
    --taurusNetworkGrey: #c9c9c9;
    --borderRadius: 4px;

    --headerHeight: 85px;
    --footerHeight: 100px;

    --infoColour: #61AAC7;
    --successColour: #61C784;
    --dangerColour: #C76161;
    --experimentColour: rebeccapurple;
    --warningColour: #a19f18;
}

@font-face {
    font-family: 'Istok';
    src: url("../fonts/IstokWeb-Regular-73ERmHK.ttf");
}

body {
    font-family: 'Istok';
    background-color: #F2F2F2;
}

div.header-warning {
    --warningWidth: 300px;
    --borderWidth: 5px;

    position: fixed; 
    top: 0; 
    left: calc(50vw - var(--warningWidth) / 2);
    padding: 8px; 
    background-color: lime; 
    z-index: 1000; 
    text-align: center; 
    width: var(--warningWidth);
    border-bottom-left-radius: 5px; 
    border-bottom-right-radius: 5px; 
    font-weight: bold;
    border-top: solid var(--borderWidth);
    border-image: repeating-linear-gradient(-75deg, lime, lime 10px, black 10px, black 20px) 20;
    box-shadow: 0px 4px 4px rgba(255, 255, 0, 0.25);

    @media screen and (max-width: 1150px) {
        position: sticky;
        width: 100%;
        border-radius: 0;
        left: 0;
        border-bottom: solid var(--borderWidth);
        border-top: none;
        padding-bottom: 2px;
    }

    &.environment {
        border-image: repeating-linear-gradient(-75deg, yellow, yellow 10px, black 10px, black 20px) 20;
        background-color: yellow; 
    }
}

header.site-header {
    background-color: var(--taurusNetworkDarkBlue);
    height: var(--headerHeight);
    width: 100vw;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    > div.container {
        display: flex;
        align-items: center;
        height: 100%;
        gap: 20px;
    }

    div.divider {
        flex: 1;
        height: 10px;
    }

    div.brand {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-right: 20px;
        
        > img.badge {
            height: 55px;
            width: auto;
        }

        > span.text {
            color: white;

            span.title {
                font-weight: bold;
                font-size: 22px;
                display: block;
            }
        }
    }
}

footer.site-footer {
    background-color: var(--taurusNetworkDarkBlue);
    height: var(--footerHeight);
    width: 100vw;
    box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);

    &.fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    &.hidden {
        display: none;
    }

    div.made-by {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
        gap: 20px;
        color: white;

        .left {
            width: 50%;

            text-align: right;
            span.made-with {
                display: block;
                font-size: 20px;
            }

            a.taurusnetwork {
                color: white;
                text-decoration: none;
                font-weight: bold;

                &:hover {
                    text-decoration: underline;
                }

                &:visited {
                    color: white;
                }
            }
        }

        .right {
            height: 100px;
            width: auto;
        }
    }
}

.container {
    max-width: 1200px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;

    @media screen and (max-width: 600px) {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@keyframes rotation-anim {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

svg.spinner {
    animation: rotation-anim 1s infinite linear;

    &.small {
        width: 20px;
        height: 20px;
    }

    &.medium {
        width: 30px;
        height: 30px;
    }

    &.large {
        width: 50px;
        height: 50px;
    }
}