/*
 * Name: Frillsify
 * Author: Frills
 * Website: https://frills.dev  
 */

@import url('https://fonts.upset.dev/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;1,400;1,700&family=Cherry+Bomb+One&display=swap');

@keyframes colour {
    0% {
        color: deeppink;
    }

    10% {
        color: orangered;
    }

    20% {
        color: gold;
    }

    30% {
        color: limegreen;
    }

    40% {
        color: deepskyblue;
    }

    50% {
        color: fuchsia;
    }
    
    60% {
        color: deepskyblue;
    }

    70% {
        color: limegreen;
    }

    80% {
        color: gold;
    }

    90% {
        color: orangered;
    }

    100% {
        color: deeppink;
    }
}

@keyframes colour-stroke {
    0% {
        -webkit-text-stroke: 2px deeppink;
    }

    10% {
        -webkit-text-stroke: 2px orangered;
    }

    20% {
        -webkit-text-stroke: 2px gold;
    }

    30% {
        -webkit-text-stroke: 2px limegreen;
    }

    40% {
        -webkit-text-stroke: 2px deepskyblue;
    }

    50% {
        -webkit-text-stroke: 3px fuchsia;
    }
    
    60% {
        -webkit-text-stroke: 2px deepskyblue;
    }

    70% {
        -webkit-text-stroke: 2px limegreen;
    }

    80% {
        -webkit-text-stroke: 2px gold;
    }

    90% {
        -webkit-text-stroke: 2px orangered;
    }

    100% {
        -webkit-text-stroke: 2px deeppink;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

* {
    box-sizing: border-box;
    font-family: 'Atkinson Hyperlegible', Arial, Helvetica, sans-serif!important;
}

html {
    font-size: 20px;
    line-height: 1.5;
    background-color: black;
    color: PapayaWhip;
}

body {
    margin: 0;
}

*:focus-visible {
    outline: 2px solid plum;
    outline-offset: 3px;
}

a {
    color: deeppink;
}

a:hover,
a:focus,
a:active {
    color: springgreen;
    text-decoration-thickness: 2px;
    text-decoration-style: wavy;
}

.tp_title {
    transform: translateY(4px);
    display: inline-block;
    margin-right: 10px;
}

#themeButton {
    transform: translateY(2px);
    display: inline-block;
}

header {
    height: auto;
    padding: 10px;
    width: 12%;
    white-space: nowrap;
    vertical-align: middle;
}

nav {
    background: black;
    margin: 0.5rem;
}

nav a {
    display: block;
    will-change: transform;
    padding: 6px 12px;
    border-radius: 0;
    color: black;
    border: 0;
    cursor: pointer;
    transition: 0.3s ease transform, 0.3s ease background-color, 0.3s ease box-shadow;
    text-decoration: none;
    font-size: 1rem;
}

nav a:hover {
    background-color: #ffe34a;
    text-decoration: underline;
}

nav a.selected,
nav a:focus,
nav a:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 0 DarkGoldenRod;
}

nav a.selected {
    background-color: orangered;
}

nav ul {
    padding: 0 0.25rem;
    margin: 0;
}

nav li::before {

}

main {
    padding: 10px;
}

p {
    margin: 0;
}

footer {
    text-align: left;
    border-top: 3px solid #282828;
    background-color: #000;
    padding: 15px;
    margin-bottom: 15px;
    margin-top: 30px;
    font-size: 90%;
}

footer p:first-of-type {
    margin: 0;
}

#footer a {
    color: springgreen;
    text-decoration-color: springgreen;
}

#footer a:hover,
#footer a:focus,
#footer a:active {
    color: deeppink!important;
}

.footer-text {
    width: 100%;
}

.column1 {
    background: repeating-linear-gradient(45deg, #282828 0, #282828 10%, transparent 0, transparent 50%);
    background-size: 3em 3em;
    background-color: #000000;
    opacity: 1;
}

.column1 a {
    color: orangered;
    font-size: 1rem;
}

.column1 a:hover,
.column1 a:focus,
.column1 a:active {
    color: springgreen;
}

.column2 img {
    border-radius: 0.5rem;
}

.column2>h2:first-of-type {
    color: PapayaWhip;
}

.column2>h2:first-of-type::before,
.column2>h2:first-of-type::after {
    content: '✨';
}

.header {
    width: 100%;
    padding-bottom: 2rem;
}

.header h1 {
    text-align: left;
    font-family: 'Cherry Bomb One', Arial, Helvetica, sans-serif!important;
    font-size: 5rem;
    position: relative;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
}

.header h1 a {
    font-family: 'Cherry Bomb One', Arial, Helvetica, sans-serif!important;
    text-decoration: none;
    animation: colour 10s infinite forwards;
}

.header h1 a:hover,
.header h1 a:active,
.header h1 a:focus {
    color: transparent;
    -webkit-text-fill: transparent;
    animation: colour-stroke 10s 0s linear infinite forwards alternate;
}

.mobile-only {
    display: none;
}

.rev {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.obem {
    position: absolute;
    display: inline-block;
    z-index: -1;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold!important;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

*+h1,
*+h2,
*+h3,
*+h4,
*+h5,
*+h6 {
    padding: 1rem 0 0 0;
}

h1,
.column1 h1,
.column2 h1 {
    font-size: 2rem
}

h2,
.column1 h2,
.column2 h2 {
    font-size: 1.5rem!important;
}

h3,.column1 h3,
.column2 h3  {
    font-size: 1.2rem!important;
    padding: 10px;
}

h4,
h5,
h6,
.column1 h4,
.column2 h4,
.column1 h5,
.column2 h5,
.column1 h6,
.column2 h6 {
    font-size: 1rem!important;
}

.column2 p {
    font-size: 1rem;
}

p {
    margin: 0 0 1rem
}

em {
    font-style: normal;
    color: gold;
}

ol,
ul {
    padding-left: 1.5rem;
}

ul {
    list-style-type: none;
}

ul li,
ol li {
    position: relative;
    margin: 0 0 0.5rem 0;
}

ul li:last-of-type,
ol li:last-of-type {
    margin: 0;
}

.row {
    flex-direction: column;
}

@media (min-width: 992px) {
     .row {
        flex-direction: row;
    }   
}

.column2 {
    padding-left: 2rem;
}

.column2 ul li::before {
    content: '⭐';
    font-size: 60%;
    top: 5px;
    position: absolute;
    left: -1.5rem;
}

.column2 ol ul li::before,
.column2 ul ul li::before {
    content: '🌟';
}

.column2 ol {
    list-style-type: none;
    position: relative;
    counter-reset: item;
}

.column2 ol>li {
    counter-increment: item;
}

.column2 ol>li::before {
    content: counters(item, ".") ". ";
    top: 0;
    position: absolute;
    right: calc(100% + 0.5rem);
}

.column2 ol ol,
.column2 ul ol {
    padding-left: 3rem;
}

.column2 ol>li:nth-child(5n+1)::before {
    color: deeppink
}

.column2 ol>li:nth-child(5n+2)::before {
    color: orangered
}

.column2 ol>li:nth-child(5n+3)::before {
    color: gold
}

.column2 ol>li:nth-child(5n+4)::before {
    color: limegreen
}

.column2 ol>li:nth-child(5n+5)::before {
    color: deepskyblue
}

.column2 ol ol li::before,
.column2 ul ol li::before {
    color: white !important;
    left: -3rem;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 0 0.5rem 0;
}

blockquote {
    border-left: 3px solid gold;
    margin-left: 0;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: Khaki;
    font-size: 1rem!important;;
}

blockquote a {
   color: yellow;
}

blockquote p:last-child {
    margin-bottom: 0;
}


pre {
    background: #282828;
    color: peachpuff;
    padding: .2em .8em;
    overflow: auto;
    margin: 0 0 1rem 0;
}

code {
    background: #282828;
    color: peachpuff;
    padding: 0.2rem 0.4rem;
    margin: 0 0 1rem 0;
}

details {}

summary {
    text-decoration: underline;
    color: deeppink;
    cursor: pointer;
}

summary:hover,
summary:focus,
summary:active {
    color: springgreen;
    text-decoration: underline wavy 2px;
}


table caption {
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
}

table {
    border-spacing: unset;
}

table,
table th,
table td {
    border: 1px solid gainsboro
}

table th,
table td {
    padding: 0.5rem;
}

figure {
    margin: 0 0 1rem 0;
}

label {
    display: block;
}

fieldset {
    margin: 0 0 1rem 0;
}

.form {
    margin: 0 0 1rem 0;
}

input,
textarea,
select {
    padding: 5px 10px;
    border: 2px solid deeppink;
    color: black;
    border-radius: 0;
    accent-color: deeppink;
    font-family: 'Courier New', Courier, monospace!important;
    font-weight: 700;
}

input[type="file"] {
    color: white;
}

button,
input[type="button"],
input[type="submit"] {
    padding: 5px 10px;
    border: 2px solid springgreen;
    background: springgreen;
    color: black;
    border-radius: 0;
    accent-color: springgreen;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-content {
    border-left: 2px solid orangered;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
}

.dropdown-content a {
    color: orange;
    padding: 0 0 0 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.2;
}
.dropdown-content a svg {
    display: none;
}

.dropbtn {
    padding: 0 0 0.5rem 0.5rem;
    margin-bottom: 0.5rem;
}


.dropbtn svg {
    position: absolute;
    right: 0.25rem;
    top: 35%;
    transform: translateY(-50%);
    width: 0.75rem
}
