@import url('https://fonts.googleapis.com/css2?family=Jacquard+24&family=Special+Elite&display=swap');

* {
    margin: 0;
    padding: 0;
}

:root {
    --primary: #C27FFF;
    --primary-dark: #9B4DEB;
    --primary-light: #DDB8FF;

    --accent: #FF3EA5;
    --accent-dark: #C41F78;
    --accent-2: #3CF5D5;

    --background: #080808;
    --background-dark: #141414;

    --text: #FFFFFF;
    --text-light: #F2F2F2;

    --link-dark: #C27FFF;
    --link-light: #FF6BB9;
    --link-hover: #3CF5D5;

    --button: #FF3EA5;
    --button-hover: #C41F78;
    --button-text: #FFFFFF;

    --border: #C27FFF;
    --shadow: rgba(194, 127, 255, 0.3);

    --gradient: linear-gradient(270deg, #FF3EA5, #4A1590);
}


h1 {
    color: var(--primary);
}

h2 {
    color: var(--accent);
}

h3,
h4 {
    color: var(--accent-2);
}

h1 {
    font-size: 2rem;
}

h3 {
    font-size: 1.4rem
}

.inline {
    margin-right: 5px;
    display: inline;
}

@keyframes link-flash {
    0%   { color: var(--link-dark); }
    50%  { color: var(--link-light); }
}

.container a {
    animation: link-flash 1s infinite;
    animation-timing-function: steps(1, end);
    text-decoration: none;
    color: var(--link-dark);
    cursor: pointer;
}

.container a:hover {
    text-decoration: underline;
    color: var(--link-hover);
}

p {
    font-family: "Special Elite", system-ui;
    font-size: 0.75rem;
    text-align: justify;
}

p.small {
    font-size: 0.65rem;
}

b {
    color: var(--accent);
}

.spacer {
    margin-bottom: 20px;
}

.spacer-small {
    margin-bottom: 5px;
}

.spacer-big {
    margin-bottom: 40px;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

.flex {
    display: flex;
}

.h-center {
    justify-content: center;
}

.v-center {
    align-items: center;
}

img.beside-text {
    width: 230px;
    padding: 10px;
}

img.small {
    width: 125px;
}

img.emoji {
    height: 19px;
    margin-bottom: 0;
}

.buttons img {
    width: 88px;
    height: 31px;
}

pre {
    font-size: 0.5rem;
    background-color: #141414;
    padding: 1em;
    overflow: auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    white-space: break-spaces;
    user-select: all;
    margin-bottom: 10px;
}

.frame {
    border: 5px ridge var(--border);
    padding: 10px;
    margin: 10px;
}

.frame .top {
    background: var(--gradient);
    margin: -10px;
    margin-bottom: 10px;
    padding: 5px 10px;
}

.frame .top > * {
    color: var(--text);
    font-size: 1.25rem;
    margin: 0;
}

summary::marker {
    content: "";
}

.rotate-3d {
    animation: rotateAnimation3d 5s linear infinite;
}

@keyframes rotateAnimation3d {
    from {transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) ;}
    to {transform: rotateY(360deg) rotateX(360deg) rotateZ(360deg) ;}
}

.rotate-2d {
    animation: rotateAnimation2d 3s ease-in-out infinite;
    animation-delay: -300ms;
}

@keyframes rotateAnimation2d {
    from {transform: rotateX(0deg) ;}
    to {transform: rotateX(360deg) ;}
}

hr {
    border: 0;
    border-bottom: 4px ridge var(--accent);
}



html {
    font-size: 22px;
}

body {
    background-color: var(--background);
    color: var(--text);
    width: 100vw;
    height: 100vh;
    font-weight: 400;
    font-style: normal;
    font-family: "Jacquard 24", system-ui;
}

main {
    display: flex;
    gap: 25px;
    width: 1100px;
    height: 460px;
    padding-top: 16px;
    padding-left: 16px;
}

article, footer {
    padding: 20px 25px;
    border: 5px ridge var(--border);
    background-color: var(--background);
}

aside {
    width: 200px;
}

aside>header {
    margin-bottom: 20px;
}

aside>header>.top_header {
    width: 200px;
    height: 125px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

aside>header>h1 {
    font-size: 2.3rem;
    line-height: 75%;
    letter-spacing: 5px;
}

aside>nav {
    width: 200px;
}

aside>nav>ul {
    list-style-type: none;
    display: grid;
    gap: 10px;
}

aside>nav>ul>li>a {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    right: 0;
}

aside>nav>ul>li>a.active {
    animation: active-nav-link 1s infinite;
    animation-timing-function: steps(1, end);
    pointer-events: none;
}

@keyframes active-nav-link {
    0% { color: var(--primary); }
    50% { color: var(--accent); }
}

aside>nav>ul>li>a:not(.active):hover:after {
    content: '';
}

aside>nav>ul>li>a:not(.active):hover {
    color: var(--link-hover);
    text-decoration: underline;
    right: -15px;
}


article {
    width: 100%;
    padding: 0 25px;
}

article p,
article h1,
article h2,
article h3,
article > a,
article br,
article > img {
    margin-bottom: 5px;
}

.container {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 430px;
    padding-top: 20px;
    scrollbar-width: none;
}

article.home .top {
    display: flex;
}

article.home .top img {
    height: 175px;
}

article.home .top img:nth-child(2) {
    padding-right: 16px;
}

article.home .top img:nth-child(3) {
    padding-left: 16px;
}

article.home .bottom {
    display: flex;
}

article.home .bottom .left{
    width: 372px;
    flex-shrink: 0;
    margin-right: 25px;
}

article.home .bottom .right {
    width: 100%;
}

article.about-me .sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

article.projects .projects > .frame {
    margin: 0;
}

article.projects .projects,
article.drums .albums,
article.aotw .albums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

article.aotw .albums {
}

article.photography .photographers,
article.drums .heros{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

article.drums .heros {
    justify-items: center;
}

article.drums .heros .hero {
    text-align: center;
    width: 200px;
}

article.drums .heros .hero img {
    height: 200px;
}


article.drums .heros .hero .name {
    font-size: 0.9rem;
}

article.photography .photographers .photographer {
    text-align: center;
}

article.photography .photographers .photographer img {
    height: 200px;
}

article.photography .photographers .photographer .name {
    font-size: 0.9rem;
}

article.photography .photos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

article.photography .photos .photo {
    text-align: center;
}

article.photography .photos .photo .img {
    width: 255px;
    aspect-ratio: 1/1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

article.photography .photos .photo .title {
    font-size: 0.9rem;
}

article.photography .photos .photo .type {
    font-size: 0.7rem;
}
