@font-face {
    font-family: 'Baloo';
    src: url('baloo.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}

.defbox {
    display:block;
    margin:0.9rem;
    border:none;
    border-radius: 1rem;
    padding:0.1rem;

    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    
    box-shadow: 1rem;
}

.outline {
    outline:0.3rem solid #551086;
}

.colorbg {
    background-image: linear-gradient(to bottom right,#eb6004 0%, #6a0dad 70%);
    background-repeat: no-repeat;
}

:root {
    --blur-amount: 0.5rem;
}

body {
    min-height: 100vh;
    margin: 0;
}

h1 {
    font-family: 'Baloo', Verdana, Geneva, Tahoma, sans-serif;
}

body > header {
    padding-left: 2rem;
    background-color: rgba(218, 218, 218, 0.291);
}

body > header > h1 {
    font-size: calc(2vw + 1vh);
    text-align: center;
    z-index: 10;
    transition: 0.2s;
}

body > header:hover > h1 {
    letter-spacing: 0.1rem;
    text-shadow: 0.1rem, 0.1rem;
    transition: 0.2s;
}

body > header > a {
    border-radius: inherit;
}

body > header img {
    position: absolute;
    height: 100%;
    aspect-ratio: 1/1;
    left: 0;
    top: 0;
    border-radius: inherit;
    transition: 0.3s;
}

body > header:hover img {
    height:calc(100% - 1rem);
    top:0.5rem;
    left:0.5rem;
    transition: 0.3s;
}

article.main {
    min-height: 10rem;
    background-color: #e07f3e81;
    opacity: 1;
    padding: 1rem;
    padding-top: 0.0rem;
}

body > div.glow {
    position:absolute;
    height: 2rem;
    aspect-ratio: 1/1;
    border-radius: 1rem;
    filter: blur(1rem);
    opacity: 0.4;
    animation-name: fade;
    animation-duration: 1s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    z-index: -1;

    background-color: blue;
}

@keyframes fade {
    0% {opacity: 0.4;}
    100% {opacity: 0;}
}

.bg {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    background-image: url("./bg.svg");
    background-repeat: repeat;
    background-size: 6rem 6rem;
    opacity: 0.5;
}

.main > h1 {
    font-size: 2.6rem;
}

.main b {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
}

nav a {
    display:inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    padding:1rem;
    text-decoration: none;
    font-weight: 500;
    color:black;
    transition:0.1s;
}

nav a:hover {
    text-decoration: underline;
    color:white;
    transition: 0.2s;
}