html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

:root {
  --header-height: 100px;
  --left-col-width: 40%;
  --left-col-margin: 8vw;
  --main-margin: 2vw;
  --brand-red: #57012C;
  --border-blue: #639BF6;
  --footer-blue: #639BF6;
  --link-color: #E70A79;
}

html { scroll-behavior: smooth; }

body, html {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'lunchtype21regular', sans-serif;
  line-height: 1.2;
  font-size: 24px;
}

main {
  display: block;
  margin: 0;
  padding: calc(var(--header-height) + var(--main-margin)) var(--main-margin) 4em var(--main-margin);
}

main.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.branded-s {
    white-space: nowrap;
    /*cursor: crosshair;*/
    transition: all 0.35s ease-out;
}
.branded-s:hover {
    color: var(--brand-red);
    transition: all 0.05s ease-out;
}
.branded-s::before {
    content: "«";
    display: inline-block;
    margin-right: 2px;
    transform: rotate(0deg);
    position: relative;
    bottom: 0em;
    transition: all 0.35s ease-out;
}
.branded-s:hover::before {
    transition: all 0.05s ease-out;
    transform: rotate(8deg) scale(1.2) translateX(-5px);
    bottom: 0.3em;
    color: var(--brand-red);
}
.branded-s::after {
    content: "»";
    display: inline-block;
    margin-left: 2px;
    transform: rotate(0deg);
    position: relative;
    bottom: 0.15em;
    transition: all 0.35s ease-out;
}

.branded-s:hover::after {
    transition: all 0.05s ease-out;
    transform: rotate(8deg) scale(1.2) translateX(5px);
    bottom: 0em;
    color: var(--brand-red);
}
em {

}

/*********************************************/
/*                  FONTS                    */
/*********************************************/

@font-face {
    font-family: 'lunchtype21bold';
    src: url('../fonts/lunchtype21-bold-webfont.woff2') format('woff2'),
         url('../fonts/lunchtype21-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lunchtype21medium';
    src: url('../fonts/lunchtype21-medium-webfont.woff2') format('woff2'),
         url('../fonts/lunchtype21-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lunchtype21regular';
    src: url('../fonts/lunchtype21-regular-webfont.woff2') format('woff2'),
         url('../fonts/lunchtype21-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lunchtype21italic';
    src: url('../fonts/lunchtype21-regular-italic-webfont.woff2') format('woff2'),
         url('../fonts/lunchtype21-regular-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}




h2 {
  font-family: "lunchtype21bold";
  font-size: 36px;
}

h2.artiste {
  margin-bottom: 0;
  margin-top: 0;
}

p.birth {
  margin-top: 0.4em;
  /*font-family: 'lunchtype21italic';*/
}

.unbreakable {
  white-space: nowrap;
}

p {
  margin: 0.6em 0;
}

.small {
  font-size: 0.8em;
}

.italic {
  font-family: "lunchtype21italic";
}

p a {
  color: black;
  text-decoration: none;
  border-bottom: 1px solid var(--footer-blue);
}

p a:hover {
  color: var(--footer-blue);
  border-bottom: 1px solid var(--footer-blue);
}

/*********************************************/
/*            HEADER & MENU                  */
/*********************************************/

header {
  position: fixed;
  height: var(--header-height);
  left: 0;
  right: 0;
  top: 0;
  background-color: white;
  border-bottom: 1px solid var(--border-blue);
  z-index: 999;
  padding: 0 var(--main-margin);

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: stretch;
}

.header-logo {
    display: flex;
    align-items: center;
}

.main-logo {
  cursor: pointer;
  max-width: 120px;
}

.tagline {
  display: inline-block;
  color: var(--brand-red);
  font-size: 14px;
  line-height: 16px;
  padding: 0 12px;
}

ul.menu {
  display: inline;
  margin: 0;
  padding: 0;
}

ul.menu > li {
  list-style-type: none;
  display: inline;
  position: relative;
  z-index: 4;
}

ul.menu > li > a {
  display: inline-block;
  padding: 24px;
  margin: 0;

  font-family: "lunchtype21medium";
  text-transform: uppercase;
  /*font-size: 24px;*/
  color: black;
  background-color: white;
  text-decoration: none;
}

ul.menu > li a.current {
  color: var(--brand-red);
}

ul.menu > li > a.external {
  padding: 2px 16px;
  margin: 24px;
  margin-right: 0;
  border: 1px solid var(--brand-red);
  border-radius: 24px;

  color: var(--brand-red);
  text-transform: none;
}

ul.menu > li > a.external:hover {
  color: white;
  background-color: var(--brand-red);
}

ul.menu li a:hover {
  color: var(--brand-red);
}

ul.menu > li:hover > ul.submenu {
  /*display: block;*/
  opacity: 1;
  top: 36px;
  transition: all 0.15s ease-out;
  pointer-events: auto;
}

ul.submenu {
  /*display: none;*/
  pointer-events: none;
  opacity: 0;
  padding: 0;
  position: absolute;
  width: max-content;
  min-width: 8em;
  z-index: 2;
  top: 12px;
  left: 0;
  background-color: white;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-blue);
  border-left: 1px solid var(--border-blue);
  border-right: 1px solid var(--border-blue);
  transition: all 0.15s ease-in;
}
ul.submenu > li {
  list-style-type: none;
  display: block;
}
ul.submenu > li > a {
/*  padding: 2px 16px;
  margin: 24px;
  margin-right: 0;
*/
  font-size: 20px;
  display: block;
  padding: 6px 24px;
  color: black;
  text-transform: none;
  text-decoration: none;
}

/*********************************************/
/*             BOTTOM MENU                   */
/*********************************************/


.bottom-menu {
  position: fixed;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  border-top: 1px solid var(--border-blue);
  padding: 0.5em var(--main-margin);
}

.bottom-menu a {
  text-decoration: none;
  color: black;
  font-family: 'lunchtype21medium';
  display: inline-block;
  margin-right: 2em;
}

.bottom-menu   a:hover {
  color: var(--border-blue);
}

.bottom-menu a.current {
  color: var(--border-blue);
}


/*********************************************/
/*           1-Column page   index-like      */
/*********************************************/


section.single-split {
  display: block;
  margin: var(--header-height) 0;
}

section.single-split span.left {
  display: block;
  width: 70%;
  padding: 0 var(--main-margin);
}

.quote {
  display: block;
  border-left: 1px solid var(--footer-blue);
  padding-left: var(--main-margin);
  margin: var(--main-margin) 0;
}

.big {
  font-family: "lunchtype21medium";
  font-size: 1.4em;
  line-height: 1em;
  margin: 0.6em 0;
}

.big p {
  margin: 0;
}


.citation-author::before {
  content: " —";
}

/*********************************************/
/*    1-Column page   w/ regular split       */
/*********************************************/

body.regular-split {
}

.bandeau {
  width: 100%;
}

section.regular-split {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  gap: 8px;
  margin: var(--header-height) 0;
}

section.regular-split span {
  flex-grow: 1;
  flex-basis: 50%;
}

section.regular-split span.left {
  padding: 0 var(--main-margin);
}

.bg-img-col {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 50%;
  margin-right: var(--main-margin);
}

section h3 {
  color: var(--footer-blue);
  text-transform: uppercase;
  margin-top: 0;
}

.top-margin {
  margin-top: 10em !important;
}

.bottom-margin {
  margin-bottom: 10em !important;
}

details {
  position: relative;
  border-top: 1px solid var(--footer-blue);
}

details:last-child {
  border-bottom: 1px solid var(--footer-blue);
}


details[open] {
  padding-bottom: var(--main-margin);
}

details[open] summary {
  color: var(--footer-blue);
}

summary {
  font-size: 28px;
  cursor: pointer;
  padding: var(--main-margin) 0;
}

summary::marker {
  content: "";
}

summary::after {
  content: "+";
  font-size: 60px;
  position: absolute;
  top: 8px;
  right: var(--main-margin);
}

details[open] summary::after {
  content: "-";
}
summary:hover,
summary:hover::after {
  color: var(--footer-blue);
}

details {
  /*inline-size: 50ch;*/
  
  @media (prefers-reduced-motion: no-preference) {
    interpolate-size: allow-keywords;
  }
  
  &::details-content {
    block-size: 0;
    overflow-y: clip; 
    transition: content-visibility 0.3s allow-discrete,
                block-size 0.3s;
  }
  
  &[open]::details-content {
    block-size: auto;
  }
}



/*********************************************/
/*            2-Columns page                 */
/*********************************************/

main.double-scroll {
    display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: stretch;
  gap: var(--main-margin);
}

.left-col {
  position: relative;
  display: inline-block;
  width: var(--left-col-width);
  transition: top 0.04s ease-in-out;
}

.right-col {
  position: relative;
  display: inline-block;
  width: 50%;
  transition: top 0.04s ease-in-out;
}

.artist-thumbnail {
  float: left;
  max-width: 180px;
  margin: 0 var(--main-margin) 1em 0;
}

.left-col p:nth-child(4) {
  clear: both;
  margin-top: 8em; /* TODO: fix this with additionnal SPAN, css rules, and flexbox */
}

.img-section {
  display: block;
  width: 100%;
  margin-bottom: 2em;
}

.img-2-col,
.img-3-col {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-2-col img {
  max-width: 45%;
}

.img-3-col img {
  max-width: 30%;
}

.img-1-col {
  text-align: center;
}

.img-1-col img {
  max-width: 100%;
}



.artist-links-menu {
  margin-top: 2em;
  display: block;
  text-align: center;
}

a.external {
  display: inline-block;
  text-decoration: none;
  padding: 2px 16px;
  border: 1px solid var(--brand-red);
  border-radius: 24px;
  color: var(--brand-red);
  text-transform: none;
}

a.external:hover {
  color: white;
  background-color: var(--brand-red);
}

/*********************************************/
/*                FOOTER                     */
/*********************************************/

footer {
  display: flex;
  position: relative;
  z-index: 50;
  background-color: var(--footer-blue);
  font-size: 28px;
  color: white;
  padding: var(--main-margin);
  padding-bottom: calc( var(--main-margin) * 2  );
  justify-content: space-between;
  gap: var(--main-margin);
}

.footer-container {
  display: block;
  max-width: 25%;
}

.footer-container h3 {  
  font-family: "lunchtype21medium";
  font-weight: normal;
  font-size: 28px;
  margin: 0;
  padding: 0;
}

.footer-social-container a {
  display: block;
  text-decoration: none;
  color: white;
  margin-top: var(--main-margin);
}

img.ext-arrow {
  max-width: 10px;
  vertical-align: super;
  /*transition: all 0.1s linear;*/
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: black;
}

footer a:hover img.ext-arrow {
  transform: translate(3px, -3px);
}

.footer-sponsors-container {
  max-width: 280px;
}

.footer-sponsors-container img {
  max-width: 80px;
  max-height: 50px;
}

.sponsor-logos-container {
  display: block;
  margin-top: var(--main-margin);
}

.sponsor-logo {
  width: 135px;
  height: 55px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.footer-container.footer-contact-container {
  max-width: 50%;
  flex-grow: 2;
}

.footer-container .contact-details {
  display: block;
  margin-top: 2em;
  font-size: 22px;
}

.footer-container.footer-spacer {
  flex-grow: 1;
}

/*********************************************/
/*            Media Queries                  */
/*********************************************/

@media(max-width:1280px) {
  body {
    font-size: 20px;
  }
  :root {
    --header-height: 120px;
  }
}

@media(max-width:1080px) {
  header ul {
    display: none;
  }

  body.two-col {
  }
  .right-col {
    padding-left: var(--main-margin);
  }

  .left-col {
    position: static;
    padding: var(--main-margin);
    padding-top: calc( var(--main-margin) + 2em );
  }

  section.regular-split {
    display: block;
    padding: var(--main-margin);
  }

  section.regular-split span.right {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 300px;
    display: block;
  }

  .bottom-menu {
    position: static;
    display: block;
  }

  .bottom-margin {
    margin-bottom: 1em;
  }

  header {
    position: absolute;
  }

  footer {
    display: block;
    font-size: 20px;
    text-align: center;
  }
  .footer-container {
    max-width: 100%;
    margin: 4em 0;
  }
  .footer-container.footer-contact-container {
    max-width: 100%;
  }
}