/* todo: custom fonts? */

/* overall style */

:root {
    --bgcolour:#dddddd;
    --bgcolour2:#bbbbbb;
    --body:#000000;
    --body2:#BB22BB;
    --accent:#00FF00;
    --accent2:#0000FF;
    --accent3:#FF0000;
    scroll-behavior: smooth;
    background: var(--bgcolour);
}

main {
    width:80%;
    align-items:center;
    margin: 3em auto 6em;
}

img {
    max-width:100%;
    height:auto;
}

/* header */
header {
    width:90%;
    align-items:center;
    margin: 0 auto;
    text-align:center;
}

img.logo {
    height:128px;
    display:inline-block;
}

hr.header{
    width:90%;
}

/* navigation */
nav {
    width:90%;
    align-items:center;
    margin: 0 auto 1em;
    text-align:center;
}

nav ul {
    display: inline;
    padding: 0;
}

nav li{
    display: inline-block;
}

/* project cards */
div.project_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1em;
}

div.project_container {
    gap:1em;
}

section.project {
    flex-basis:25%;
    gap:1em;
}

h2.project {
    margin-top:0;
}
h3.project {
    style:italic;
}

p.project {
}

p.project_links {
    font-style:italic;
    color: var(--body2);
}

section.project_v {
    gap: 1em;
    display: flex;
    margin-bottom:4em;
}

div.projectdesc_v {
    flex:80%;
}

/* member cards */

section.member {
    display: flex;
    gap:1em;
    margin-bottom:2em;
}

hr.member{
    colour: var(--accent3);
    margin-bottom:1em;
}

aside.member{
    width:128px;
}

img.member{
    max-width:100%;
    height:auto;
    border-radius: 50%;
}

div.member_profile{
    flex:80%;
}

h2.member{
    margin-top: 0;
}

/* footer */
footer {
    width:90%;
    align-items:center;
    margin: 0 auto;
    text-align:center;
}

/* plugins */
.eleventy-plugin-youtube-embed {
    margin-bottom:1em;
}

.align-left{
    text-align: left;
}

.align-center{
    text-align: center;
}

.align-right{
    text-align: right;
}

.columns-container{
    display:flex;
    gap:1em;
}

.columns-66{
    flex: 66%;
    flex-grow: 0;
}

.columns-33{
    flex: 33%;
    flex-grow: 0;
}

.columns-50{
    flex: 50%;
    flex-grow: 0;
}

.columns-fill{
    flex: 1;
}

.sidenote-left{
    color:var(--body2);
    padding-right:1em;
    border-right-style:solid;
    border-right-width:0.2em;
    border-right-color:var(--body2);
}

.sidenote-right{
    color:var(--body2);
    padding-left:1em;
    border-left-style:solid;
    border-left-width:0.2em;
    border-left-color:var(--body2);
}

@keyframes exampleAnimation {
    0%   {color: red;}
    12%  {color: orange;}
    25%  {color: yellow;}
    37%  {color: green;}
    50%  {color: cyan;}
    62%  {color: blue;}
    75%  {color: purple;}
    87%  {color: pink;}
    100% {color: red;}
}

.exampleattr{
    color:blue;
    font-family: monospace;
    font-weight: bold;
    animation-name: exampleAnimation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

/* todo: responsive layout? */

