@font-face {
    font-face: "Iosevka";
    src: url("/fonts/Iosevka-Regular.ttc") format("ttc");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-face: "Iosevka";
    src: url("/fonts/Iosevka-Medium.ttc") format("ttc");
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-face: "Iosevka-Aile";
    src: url("/fonts/IosevkaAile-Regular.ttc") format("ttc");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-face: "Iosevka-Aile";
    src: url("/fonts/IosevkaAile-Medium.ttc") format("ttc");
    font-weight: 700;
    font-style: normal;
}


:root {
    --navbar-height: 40px;
    --navbar-padding: 5px;
    --body-margin: 5px;

    --light-theme-primary: white;
    --light-theme-secondary: black;
    
    --dark-theme-primary: rgb(10, 10, 10);
    --dark-theme-secondary: white;
}

h1 {
    font-family: "Iosevka", monospace;
    font-weight: 700;
    color: var(--light-theme-secondary);
}

@media (prefers-color-scheme: dark) {
    h1 {
	color: var(--dark-theme-secondary);
    }
}


/* Navbar */


.navbar {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    
    width: 100%;
    height: var(--navbar-height);

    top: 0px;
    left: 0px;
    position: fixed;

    background: white;
    border-bottom: solid thin black;
    padding-left: 10px;
}

.navbar  a{
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light-theme-secondary);
    font-size: larger;
}

.navbar  a.active  {
    background: rgba(0, 0, 0, 0.1);
}


.navbar img {
    height: 100%;
}


@media (prefers-color-scheme: dark) {
    .navbar {
	background: var(--dark-theme-primary);
	border-bottom: solid thin white;
    }

    .navbar a{
	color: var(--dark-theme-secondary);
    }
}








.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 
}


/* Pictures */
.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 100;
}


.gallery img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    /* border-color: var(--dark-theme-primary); */
    /* border-width: thin; */
    /* border-style: solid; */
}


figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background: white;


    border-style: solid;
    border-width: thin;
    
    box-shadow: 2px 5px 5px 2px rgba(0, 0, 0, 0.1);
}


figcaption {
    margin-top: 10px;
    font-family: "Iosevka-Aile";
    width: fit-content;
    max-width: 40vw;
    margin-bottom: 15px;
}



@media (prefers-color-scheme: dark) {
    .gallery img {
	border-color: rgba(255, 255, 255, 0.5);
    }

    figure {
	background: var(--dark-theme-primary);
	border-color: rgba(255, 255, 255, 0.5);
	/* box-shadow: 2px 5px 5px 2px rgba(255, 255, 255, 0.1) */
    }

    figcaption {
	color: white;
    }
}



a {
    font-family: "Iosevka", monospace;
    font-weight: 700;
}

body {
    margin: 0;
    background-image: url("/z_tiling_light.svg");
    background-color: white;
    background-repeat: repeat;
    padding-top: calc(var(--navbar-height) + var(--body-margin) + var(--navbar-padding) * 2);
}






@media (prefers-color-scheme: dark) {
    body {
	background-image: url("/z_tiling_dark.svg");
    background-color: var(--dark-theme-primary);
    }
}





.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1000px;
    max-width: 90vw;
    margin-top: 15px;
}

picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo-container picture img {
    width: 100%;
    height: auto;
}




@media (orientation: portrait) {
    figcaption {
	max-width: 85vw;
    }
}
