:root {
  --gutter-width: 15px;
  --dark-color: #181818;
  --light-color: #fde3d1;
  --text-size: 16px;
  --menu-size: 12px;
  --difference-color: #fbf0ff;
}

html,
body {
  -webkit-scroll-behavior: smooth;
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
  background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  font-family: "nobel", sans-serif;
  color: var(--dark-color);
  font-weight: 200;
  font-style: normal;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
}

ul,
li {
  text-decoration: none;
  list-style: none;
}

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

h1 {
  font-size: 50px;
  font-weight: 400;
}

h2 {
  font-size: var(--menu-size);
}

h3 {
  text-transform: uppercase;
  font-weight: 400;
  font-size: var(--text-size);
}

p {
  font-size: var(--text-size);
}

/* Start coding here */
#languages {
  bottom: 5vw;
  left: calc(calc(100vw + calc(var(--gutter-width) * 12)) / 12);
  position: fixed;
  z-index: 999;
  mix-blend-mode: difference;
}

#languages * {
  font-weight: 400;
  color: var(--difference-color);
}

header {
  top: 0;
  left: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: var(--gutter-width);
  box-sizing: border-box;
  padding: 5vw var(--gutter-width) 0 var(--gutter-width);
  text-transform: uppercase;
  mix-blend-mode: difference;
  pointer-events: none;
}

header #home-button {
  grid-column: 2 / span 2;
}

header nav {
  grid-column: 10 / span 2;
}
header a {
  font-weight: 400;
  color: var(--difference-color) !important;
  pointer-events: all;
}
nav a {
  font-weight: 400;
}

nav h2 {
  text-align: right;
  margin-bottom: 1rem;
}

footer {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: var(--gutter-width);
  text-transform: uppercase;
  padding: 5vw var(--gutter-width);
  min-height: 50dvh;
  align-items: end;
}

footer > #infos {
  grid-column: 4 / span 3;
}

footer > #infos > h2:not(:last-child) {
  margin-bottom: 1rem;
}

footer > #infos > h2:first-child {
  margin-bottom: 2rem;
  font-weight: 400;
}

footer > #animation {
  grid-column: 8 / span 2;
  display: flex;
  justify-content: flex-end;
}

footer #container-anim-planete {
  display: flex;
  align-items: flex-end;
  justify-content: right;
  overflow: hidden;
  height: 100%;
}
section {
  height: auto;
  min-height: 50dvh;
  padding: 0;
  box-sizing: border-box;
}

.photo-container {
  height: 50dvh;
  display: block;
  background-position-x: center;
  background-position-y: center;
  background-size: initial;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100%;
}

.concepts-button {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.concepts-button a {
  position: absolute;
  grid-column: 1 / span 12;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter-width);
  padding: 2rem var(--gutter-width) !important;
  box-sizing: border-box;
}

.align-top {
  align-content: start;
}

.text-section {
  grid-column: 4 / span 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}

.text-section h3 {
  margin-bottom: 1rem;
}

/* cocorico stamp logo */

.container-logo-stamp {
  display: flex;
  align-items: flex-end;
  justify-content: right;
}

footer .container-logo-stamp {
  display: flex;
  align-items: flex-end;
  justify-content: right;
  overflow: hidden;
  height: 100%;
}

.container-logo-stamp text tspan {
  fill: var(--dark-color);
  font-family: "nobel";
  font-weight: 400;
  font-size: 70px;
  display: block;
  position: relative;
}

.circleText {
  position: absolute;
  width: 100px;
  height: 100px;
  max-height: 75vh;
  max-width: 75vw;
  overflow: visible;
}

/* anim planete */

.container-anim-planete {
  width: 110px;
}

.container-anim-planete .toleft,
.container-anim-planete .toright {
  letter-spacing: 0.5px;
  fill: var(--dark-color);
  font-family: Nobel-Regular, Nobel;
  font-size: 8px;
}

.anim-planete {
  padding-top: 10px;
}

.container-anim-planete .circlepath {
  fill: none;
  stroke-width: 0px;
}

.container-anim-planete .anim-planete > g {
  clip-path: url(#planete-clippath);
}

span.vertical-realign {
  display: inline-block;
  transform: translateY(-7px);
}

#header-mobile {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: var(--gutter-width);
  box-sizing: border-box;
  padding: 5vw var(--gutter-width) 0 var(--gutter-width);
}

#mobile-nav-toggle {
  display: none;
}

#nav-container-mobile {
  grid-column: 10 / span 3;
}

#header-mobile input,
#header-mobile label {
  pointer-events: all;
  text-align: right;
}

#header-mobile label h2 {
  color: var(--difference-color);
  font-weight: 400;
}

#mobile-nav-toggle:checked ~ nav {
  height: 7rem;
}

#nav-container-mobile > nav {
  height: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  scrollbar-width: none;
  overflow: hidden;
  padding-top: 1rem;
}

@media screen and (max-width: 1440px) {
  :root {
    --text-size: 14px;
  }

  h1 {
    font-size: 40px;
  }
}

@media screen and (max-width: 750px) {
  footer > #infos {
    grid-column: 1 / span 12;
    text-align: center;
  }

  header #home-button {
    grid-column: 1 / span 4;
  }

  header nav {
    grid-column: 9 / span 4;
  }

  footer > #animation {
    grid-column: 1 / span 12;
    display: flex;
    justify-content: center;
  }

  footer .container-logo-stamp,
  footer .container-anim-planete {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
    height: 140px;
  }

  #languages {
    left: var(--gutter-width);
  }

  #header-mobile {
    display: grid;
  }

  #modulable-header,
  body > #nav-container {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .photo-container {
    background-attachment: scroll;
  }
}
