﻿:root {
    color-scheme: dark;
}

:not(pre) > code[class*=language-], pre[class*=language-] {
    background: #0c0e14 !important;
}

body {
    --body-bg: #010409;
    background: #010409;
    color: #CCC;
    font-family: system-ui;
    line-height: 150%;
    margin: 0;
    overflow-y: scroll;

}


/*p {*/
/*    word-break: break-all;*/
/*    white-space: normal;*/
/*}*/

#app{
    display:flex;
    flex-direction:column;
    min-height: 100vh;
}

main {
    flex:1;

}

.flex-justify-between {
    justify-content: space-between;
    display: flex;
}

.flexible-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flexible-grid > * {
    flex: 1 ;
}


.margin-top-default {
    margin-top: 1rem;
}

.align-center{
    max-width: 50rem;
    min-width: 10rem;
    margin-inline: auto;
    padding-inline: 1rem;
}



    

.alt-text {
    color: #b2b2b2;
    font-size: 1rem;
}

footer{
    min-height:60px;
}

code:not([class]) {
    padding: 2px;
    color: burlywood;
    font-size: larger;
    border-radius: 3px;
    background: #0c0e14;
}

a {
    text-decoration: none;
}

article > a:visited {
    color: royalblue;
}

article > a:active {
    color: royalblue;
}

.fa {
    color: #fff;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
}

.badge {
    background: #d78b00;
    color: #dfdfdf;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 5px;
    height: fit-content;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 11px;
}

code, kbd, pre, samp {
    border-radius: 10px;
}

.hljs {
    background-color: rgba(20, 20, 20, 1);
}


.hljs, .hljs-subst {
    color: #AAA;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    min-width: 20%;
}

h1 {
    line-height: 1;
}


.coolborder {
    font-family: inherit;
    width: 100%;
    border: 0;
    border-bottom: 2px solid #808080;
    outline: 0;
    font-size: 1.3rem;
    color: #DDD;
    background: transparent;
    transition: border-color 0.2s;
    font-weight: 700;
    border-width: 6px;
    border-image: linear-gradient(to right, #ff8983 17.85%, #7f0e7f 53.28%, #007a65 100%);
    border-image-slice: 1;
}

.wrapper {
    max-width: 50rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.searchbox {
    font-family: inherit;
    width: 80px;
    border: 0;
    border-bottom: 0px solid #808080;
    outline: 0;
    font-size: 1rem;
    color: #DDD;
    background: transparent;
    transition: border-color 0.2s;
    text-align: center;
    transition: all 0.5s;
    font-weight: 700;
    border-image-slice: 1;
}


.searchbox:focus {
    /*border-bottom: 3px solid #808080;*/
    /*font-size: 1.4rem;*/
    /*width: 100%;*/
    /*padding: 7px 0;*/
    /*margin-left: 0;*/
    /*margin-right: 0;*/
}

#searchlabel {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 1rem;
    color: gray;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

table, th, td {
    border: 1px solid;
    padding: 5px;
}

table {
    border-radius: 3px;
    border-collapse: collapse;
}

#loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(100, 149, 237, .3);
    border-radius: 50%;
    border-top-color: #6495ED;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.wavy {
    /* mask created with 
    https://css-generators.com/wavy-shapes/ */
    padding-block-end: 4rem;
    background:
            linear-gradient(
                    to right,
                    #1f618f,
                    #0a437e);

    --mask:
            linear-gradient(#000 99%,#0000 101%) calc(50% - 50px) 0/100px 51% repeat-x,
            /*radial-gradient(50.39px at 50% 68.75px,#000 99%,#0000 101%) calc(50% - 50px) 0/100px 51% repeat-x,*/
            /*radial-gradient(50.39px at 50% -43.75px,#0000 99%,#000 101%) 50% 25px/100px calc(51% - 25px) repeat-x,*/
            radial-gradient(50.39px at 50% calc(100% - 68.75px),#000 99%,#0000 101%) calc(50% - 50px) 100%/100px 51% repeat-x,
            radial-gradient(50.39px at 50% calc(100% + 43.75px),#0000 99%,#000 101%) 50% calc(100% - 25px)/100px calc(51% - 25px) repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);

}

.spikes {
    --spike-width: 50px;
    --spike-height: 10px;
    --spike-color: var(--body-bg);
    padding-block-end: 2rem;
    color:white;
    position: relative;
    background:
            linear-gradient(
                    to right,
                    #d38412,
                    #a83279);
}

.spikes::after {
    content: '';
    position: absolute;
    width: 100%;
    height: var(--spike-height);
    background: var(--spike-color);
    -webkit-mask-image: url('../assets/triangle.svg');
    -webkit-mask-size: var(--spike-width) var(--spike-height);
    /* -webkit-mask-repeat: repeat-x; */
    mask-image: url('../assets/triangle.svg');
    mask-size: var(--spike-width) var(--spike-height);
    /* mask-repeat: repeat-x; */
}

.spikes::before {
    top: 0;
}
.spikes::after {
    bottom: 0;
    transform: rotate(.5turn);
}


.diagonal-stripes {
    padding-block-end: 3rem;
    color: white;
    background: linear-gradient(135deg, #FF5733 25%, #C70039 25%, #C70039 50%, #FF5733 50%, #FF5733 75%, #C70039 75%, #C70039 100%);
    background-size: 40px 40px;
    position: relative;
}


.curved-waves {
    padding-block-end: 3rem;
    color: white;
    position: relative;
    background: linear-gradient(to right, #ff6f61, #d42f9e);
    overflow: hidden;
}

.curved-waves::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px; /* Adjust height for a deeper or shallower wave */
    background: linear-gradient(to right, #ff6f61, #d42f9e);
    border-radius: 100% 100% 0 0;
    transform: translateY(50%);
}

.wavy-bottom {
    padding-block-end: 3rem;
    color: white;
    position: relative;
    background: linear-gradient(to right, #34ace0, #0fbcf9);
    overflow: hidden;
}

.wavy-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to right, #34ace0, #0fbcf9);
    clip-path: polygon(0 40%, 20% 55%, 40% 45%, 60% 55%, 80% 45%, 100% 50%, 100% 100%, 0% 100%);
}

.scalloped {
    padding-block-end: 3rem;
    background: linear-gradient(60deg, #C02942, #542437);
    --mask:
            linear-gradient(to top,#0000 30px,#000 0),
            radial-gradient(30px,#000 98%,#0000) bottom/55.5px 60px;
    -webkit-mask: var(--mask);
    mask: var(--mask);
}

.skewed {
    padding-block-end: 2rem;
    position: relative;
    isolation: isolate;
    /*transform: skewY(-3deg);*/
}

.skewed::after {
    content: '';
    position: absolute;
    margin-top: -1rem;
    margin-bottom: 1rem;
    background: linear-gradient(60deg, #C02942, #542437);
    transform: skewY(1deg);
    z-index: -1;
    inset: 0;
}



