/*
Theme Name: JOY custom theme
Theme URI: https://jacques-oulevay.photo
Author: Sam Rossetti
Author URI: https://contreforme.ch
Description: JOY’s Theme
Version: 2.0
Text Domain: joy
*/
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,700,0,0');
@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&family=Roboto:wght@400;700&display=swap');

:root {
    --shadow: rgba(0, 0, 0, .16);
    --highlight:rgb(242,172,60);
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    border: 0;
}

html,
body {
    height: 100vh;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125em;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 5rem;
    box-shadow: 0 .1em .2em var(--shadow);
    z-index: 100;
    display:flex;
    flex-flow:row nowrap;
    background-color:white;
}
.admin-bar header{
    top:32px;
}

header h2 {
    font-family: 'Julius Sans One', sans-serif;
    line-height: 5rem;
    margin-left: 4em;
}
header h2 a{
    color:var(--highlight);
    text-decoration: none;
}
header h2 small{
    color:black;
}

header nav{
    display:flex;
    flex-flow:row nowrap;
    margin-left:auto;
    line-height: 5rem;
    font-weight: 700;
}
header nav a{
    color:black;
    text-decoration: none;
    margin-right:4em;
}
.search{
    cursor:pointer;
}
main{
    position: relative;
    top:5rem;
    z-index: 50;
}
main article{
    padding:10em;
}
/* standard tags */
*+p{
    margin-top:1.5em;
}
/* misc */
.matsym{
    line-height: 5em;
    color:var(--highlight);
}
