/* Customisation  Sacha for STB
--------------------------------------------- */

/* Color scheme
--------------------------------------------- 
Rose              #e48ca7       rgb(228,140,167)
Rose claire       #e5acb9       rgb(229,172,185)
Bleu              #6191cc       rgb(97,145,204)
Bleu claire       #76c9f1       rgb(118,201,241)
Vert              #81bcae       rgb(129,188,174)
Vert claire       #a2d1ba       rgb(162,209,186)
Gris              #8e9091       rgb(142,144,245)
Gris claire       #605f5e       rgb(96,95,94)

*/


@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-Bold.woff) url(webfonts/Hind-Bold.woff2);
}

@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-SemiBold.woff) url(webfonts/Hind-SemiBold.woff2);
}

@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-Medium.woff) url(webfonts/Hind-Medium.woff2);
}

@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-Regular.woff) url(webfonts/Hind-Regular.woff2);
}

@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-Variable.woff) url(webfonts/Hind-Variable.woff2);
}

@font-face {
    font-family: 'hind';
    src: url(webfonts/Hind-Light.woff) url(webfonts/Hind-Light.woff2);
}

body {
    background-color: bisque;
    font-family: hind;

}

a,
a:visited {
    color: crimson;
    text-decoration: none;
}

a:hover {
    color: crimson;
    text-decoration: underline;
}

/* Structure Golbal
--------------------------------------------- */

.site-header {
    background-color: pink;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.site-main {
    padding: 0 1rem;

}

.site-footer {
    background-color: yellowgreen;
    padding: 1rem;
}

/* header
--------------------------------------------- */

h1.site-title a,
p.site-title a {
    color: black;
}

h1.site-title,
p.site-title {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 300;
    font-size: 2rem;

    margin: 0 0 2em 0;
    border: 1px solid black;
    padding: 0.25em 1em;
    display: inline-block;

}

.site-description {
    display: none;

}

.main-navigation {
    width: auto;
}

.main-navigation li {
    margin: 0 0 0 1.5rem;
}

.main-navigation li a {
    text-transform: uppercase;
    color: black;

}

.main-navigation ul ul {
    display: block;
}

.main-navigation ul ul li {
    margin: 0 0 1rem 0;
}

.main-navigation ul ul li a {
    font-size: 0.8em;
    text-transform: none;
}

.main-navigation li.current-menu-item a {
    color: coral;
}

/* BURGER MENU
--------------------------------------------- */

button.menu-toggle {
    background-image: url(images/etapa.svg);
    background-color: beige;
    width: 50px;
    height: 50px;
    text-indent: -50000000px;
    position: fixed;
    top: 1.5rem;
    right: 1rem;
}

.toggle button.menu-toggle {
    background-image: url(images/etapeb.svg);
}


.toggle #primary-menu {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(232, 232, 25);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.toggle #primary-menu li {
    margin-bottom: 1rem;
}

.toggle #primary-menu li a {
    font-size: 1.5rem;
    box-shadow: none;
}

.toggle #primary-menu .sub-menu {
    position: static;
}

.toggle #primary-menu .sub-menu li {
    padding-left: 2em;
}




/* Event grid
--------------------------------------------- */

.archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.archive .site-main article {
    border: 1px solid black;
    border-radius: 30px;
    padding: 1rem;
}

.event-info {
    border: 1px solid black;
    border-radius: 30px;
    padding: 1rem;
}

.event-info p {
    margin: 0;
}

.archive-grid article h2 {
    font-size: 2.5rem;
    font-weight: normal;
}

.entry-header .event-info-date p {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
}

.read-more-link {
    padding: 1rem 0;
    text-align: right;
}

.read-more-link a {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: black;
    color: aliceblue;
    text-decoration: none;
}


/* Intervenant grid
--------------------------------------------- */