*, *:before, *:after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, sub, sup, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
}

footer, header, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

#wpadminbar {
  position: fixed !important;
}

@font-face {
  font-family: "Gelasio";
  src: url("assets/fonts/Gelasio-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "NewsCycle";
  src: url("assets/fonts/NewsCycle-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "NewsCycle", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Gelasio", serif;
}

a,
a:active {
  color: #1a1a1a;
  transition: color 0.2s ease-out;
}

a:hover {
  color: #3e3e3e;
}

p {
  line-height: 1.2;
}

.link-button {
  display: inline-block;
  background-color: #eeeeee;
  color: #1a1a1a;
  padding: 0.6rem 1rem;
  transition: background-color 0.3s ease-out;
  text-decoration: none;
}
.link-button:hover {
  background-color: #cccccc;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #eeeeee;
}

main {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  main {
    margin-top: 12vh;
  }
}

.container {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 4vh 5vw;
  max-width: 1440px;
  width: 100vw;
}

.full-block {
  width: 100%;
  background-color: white;
  padding: 2.5vh 5vw;
  position: relative;
  padding-bottom: 6vh;
}
@media (min-width: 768px) {
  .full-block {
    padding: 3vh 3vw;
    padding-bottom: 8vh;
  }
}
.full-block::after {
  content: "";
  display: block;
  position: absolute;
  height: 30px;
  width: 100%;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, transparent 0%, #f7ff29 100%);
  z-index: 2;
}

header {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  transition: height 0.3s ease-out;
  background-color: white;
  width: 100%;
  position: relative;
  z-index: 5;
}
@media (min-width: 768px) {
  header {
    position: fixed;
    height: 12vh;
    flex-direction: row;
  }
}

.header-left {
  display: flex;
  height: 6rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .header-left {
    margin-top: unset;
    height: 100%;
  }
}

.main-logo-container {
  display: inline-block;
  background-color: #eeeeee;
  height: 100%;
}
@media (min-width: 768px) {
  .main-logo-container {
    flex-direction: row;
  }
}

.main-logo {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  height: 100%;
  background: linear-gradient(to bottom, #eeeeee 60%, #f7ff29 100%);
  background-position: bottom 0px left 0px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: background 0.3s ease-out, padding 0.2s ease-out;
}
.main-logo:hover {
  background-position: bottom -10px left 0px;
}
@media (min-width: 768px) {
  .main-logo {
    padding: 1.5rem 2rem;
  }
}
.main-logo > img,
.main-logo > a > img {
  height: 100%;
  transform: scale(1);
  transition: transform 0.2s ease-out;
}
.main-logo:hover > img, .main-logo:hover > a > img {
  transform: scale(1.05);
}

.description {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 0.3rem;
  margin-left: 1.2rem;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
.description > div:first-of-type {
  text-transform: uppercase;
  font-size: 0.8rem;
  background-color: #eeeeee;
  padding: 0.2rem;
}
.description > div:last-of-type {
  font-size: 0.8rem;
}
.description > div:last-of-type > sup {
  font-size: 0.6rem;
  vertical-align: super;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  background-color: white;
  height: 3rem;
}
@media (min-width: 768px) {
  .header-right {
    padding-left: unset;
    height: unset;
    position: relative;
    width: unset;
  }
}
.header-right.scrolled .secondary-logo-container {
  max-width: 40vw;
}
.header-right.scrolled .secondary-logo-container .main-logo:hover {
  background-position: unset;
}
.header-right.scrolled .secondary-logo-container .main-logo:hover img {
  transform: unset;
}

.secondary-logo-container {
  height: 100%;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.6s ease-out;
}
@media (min-width: 768px) {
  .secondary-logo-container {
    display: none;
  }
}

.lang-switch {
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: font-size 0.2s ease-out;
}
.lang-switch > ul {
  display: flex;
  gap: 1rem;
}
.lang-switch > ul > li:not(.active) > a {
  text-decoration: none;
}

.search-button {
  margin-left: auto;
}
.search-button > div {
  background-color: #eeeeee;
  padding: 0.5rem;
  border-radius: 5rem;
  min-width: 2rem;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-out;
  cursor: pointer;
}
.search-button > div:hover {
  background-color: #cccccc;
}

.menu-toggle {
  display: inline-block;
  background-color: #eeeeee;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
}
.menu-toggle > div {
  height: 100%;
  display: flex;
  padding: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  background: linear-gradient(to bottom, #eeeeee 60%, #f7ff29 100%);
  background-position: bottom 0px left 0px;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: background 0.3s ease-out, padding 0.2s ease-out;
}
.menu-toggle > div:hover {
  background-position: bottom -10px left 0px;
}
@media (min-width: 768px) {
  .menu-toggle > div {
    gap: unset;
    padding: 2rem;
  }
}
.menu-toggle > div > div {
  font-size: 1rem;
  transform: scale(1);
  transition: transform 0.2s ease-out, font-size 0.2s ease-out;
}
@media (min-width: 768px) {
  .menu-toggle > div > div {
    font-size: 2rem;
  }
}
.menu-toggle > div > p {
  font-family: NewsCycle;
  text-transform: uppercase;
  transform: scale(1);
  font-size: 0.8rem;
  transition: transform 0.2s ease-out, font-size 0.2s ease-out;
}
@media (min-width: 768px) {
  .menu-toggle > div > p {
    font-size: 1rem;
  }
}
.menu-toggle:hover > div > div, .menu-toggle:hover > div > p {
  transform: scale(0.9);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cccccc;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.overlay.active {
  opacity: 0.6;
  pointer-events: all;
}

.main-menu {
  overflow-y: scroll;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 4;
  padding-bottom: 4vh;
  transition: top 0.4s ease-out, opacity 0.2s ease-out;
  border-top: 2px solid #eeeeee;
  position: absolute;
  opacity: 0;
}
@media (min-width: 768px) {
  .main-menu {
    overflow-y: unset;
    position: fixed;
  }
}
.main-menu::after {
  content: "";
  display: block;
  position: absolute;
  height: 30px;
  width: 100%;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, transparent 0%, #f7ff29 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease-out 0.3s;
}
@media (min-width: 768px) {
  .main-menu::after {
    opacity: 1;
  }
}
.main-menu.active {
  opacity: 1;
}
.main-menu.active::after {
  position: fixed;
  opacity: 1;
}
@media (min-width: 768px) {
  .main-menu.active::after {
    position: absolute;
  }
}

.menu-navigation-container > ul,
.menu-navigation-en-container > ul {
  display: grid;
  gap: 3rem;
  padding: 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .menu-navigation-container > ul,
  .menu-navigation-en-container > ul {
    padding: 3rem 4rem;
    grid-template-columns: repeat(3, auto);
  }
}
@media (min-width: 1024px) {
  .menu-navigation-container > ul,
  .menu-navigation-en-container > ul {
    grid-template-columns: repeat(5, auto);
  }
}
.menu-navigation-container > ul > li,
.menu-navigation-en-container > ul > li {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: start;
}
.menu-navigation-container > ul > li > a,
.menu-navigation-en-container > ul > li > a {
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.8rem;
  margin-bottom: 0.5rem;
}
.menu-navigation-container > ul > li > a::after,
.menu-navigation-en-container > ul > li > a::after {
  content: "";
  display: block;
  position: absolute;
  height: 8px;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.menu-navigation-container > ul > li:nth-of-type(1) a:hover,
.menu-navigation-en-container > ul > li:nth-of-type(1) a:hover {
  color: #e0775d;
}
.menu-navigation-container > ul > li:nth-of-type(1) > a::after,
.menu-navigation-en-container > ul > li:nth-of-type(1) > a::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #e0775d 100%);
}
.menu-navigation-container > ul > li:nth-of-type(2) a:hover,
.menu-navigation-en-container > ul > li:nth-of-type(2) a:hover {
  color: #7cc0c6;
}
.menu-navigation-container > ul > li:nth-of-type(2) > a::after,
.menu-navigation-en-container > ul > li:nth-of-type(2) > a::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #7cc0c6 100%);
}
.menu-navigation-container > ul > li:nth-of-type(2) > ul.sub-menu > li:first-of-type,
.menu-navigation-en-container > ul > li:nth-of-type(2) > ul.sub-menu > li:first-of-type {
  border-bottom: 1px solid #7cc0c6;
  padding-bottom: 0.8rem;
}
.menu-navigation-container > ul > li:nth-of-type(3) a:hover,
.menu-navigation-en-container > ul > li:nth-of-type(3) a:hover {
  color: #46ae51;
}
.menu-navigation-container > ul > li:nth-of-type(3) > a::after,
.menu-navigation-en-container > ul > li:nth-of-type(3) > a::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #46ae51 100%);
}
.menu-navigation-container > ul > li:nth-of-type(3) > ul.sub-menu > li:first-of-type,
.menu-navigation-en-container > ul > li:nth-of-type(3) > ul.sub-menu > li:first-of-type {
  border-bottom: 1px solid #46ae51;
  padding-bottom: 0.8rem;
}
.menu-navigation-container > ul > li:nth-of-type(4) a:hover,
.menu-navigation-en-container > ul > li:nth-of-type(4) a:hover {
  color: #e05680;
}
.menu-navigation-container > ul > li:nth-of-type(4) > a::after,
.menu-navigation-en-container > ul > li:nth-of-type(4) > a::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #e05680 100%);
}
.menu-navigation-container > ul > li:nth-of-type(4) > ul.sub-menu > li:first-of-type,
.menu-navigation-en-container > ul > li:nth-of-type(4) > ul.sub-menu > li:first-of-type {
  border-bottom: 1px solid #e05680;
  padding-bottom: 0.8rem;
}
.menu-navigation-container > ul > li:nth-of-type(5) a:hover,
.menu-navigation-en-container > ul > li:nth-of-type(5) a:hover {
  color: #bb8dd9;
}
.menu-navigation-container > ul > li:nth-of-type(5) > a::after,
.menu-navigation-en-container > ul > li:nth-of-type(5) > a::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #bb8dd9 100%);
}
.menu-navigation-container > ul > li:nth-of-type(5) > ul.sub-menu > li:first-of-type,
.menu-navigation-en-container > ul > li:nth-of-type(5) > ul.sub-menu > li:first-of-type {
  border-bottom: 1px solid #bb8dd9;
  padding-bottom: 0.8rem;
}
.menu-navigation-container > ul > li > ul.sub-menu,
.menu-navigation-en-container > ul > li > ul.sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.menu-navigation-container > ul > li > ul.sub-menu > li > a,
.menu-navigation-en-container > ul > li > ul.sub-menu > li > a {
  text-decoration: none;
}

footer {
  background-color: white;
  width: 100%;
  padding: 1rem 2rem;
  margin-top: auto;
}

.footer-content {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-content {
    gap: unset;
    flex-direction: row;
  }
}

.footer-nav ul#menu-footer,
.footer-nav ul#menu-footer-en {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
}
@media (min-width: 768px) {
  .footer-nav ul#menu-footer,
  .footer-nav ul#menu-footer-en {
    justify-content: start;
  }
}
.footer-nav ul#menu-footer li a,
.footer-nav ul#menu-footer-en li a {
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer-logos {
  display: inline-flex;
  height: 3rem;
  gap: 1rem;
  padding: 0.5rem;
  align-items: start;
}
.footer-logos > a {
  height: 100%;
}
.footer-logos > a > img {
  height: 100%;
}

.hero-header {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
@media (min-width: 768px) {
  .hero-header {
    flex-direction: row;
  }
}

.hero-logos {
  position: absolute;
  top: 2.5vh;
  display: inline-flex;
  height: 3rem;
  gap: 1rem;
  padding: 0.5rem;
  align-items: start;
  background-color: #eeeeee;
}
@media (min-width: 768px) {
  .hero-logos {
    position: unset;
    top: unset;
  }
}
.hero-logos > a {
  height: 100%;
}
.hero-logos > a > img {
  height: 100%;
}
.hero-logos > a:nth-of-type(2) {
  mix-blend-mode: darken;
}

.color-changer {
  transition: color 0.3s ease-out;
}

.hero-presentation {
  font-family: "Gelasio", serif;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .hero-presentation {
    font-size: 2.6rem;
  }
}

.hero-presentation-detail {
  margin-top: 1.5rem;
  width: 90%;
}

.hero-content > .link-button {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    width: 75%;
  }
}

#sketch {
  z-index: 0;
  position: relative;
  display: block;
  height: 30vh;
}
@media (min-width: 768px) {
  #sketch {
    height: unset;
    width: 25%;
  }
}

.floating-shape {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  will-change: transform;
  pointer-events: none;
}
.floating-shape svg {
  overflow: visible;
}
.floating-shape path, .floating-shape polyline, .floating-shape polygon, .floating-shape line, .floating-shape circle, .floating-shape ellipse, .floating-shape rect {
  transition: fill-opacity 0.5s ease-in-out;
}

.thalim-text {
  position: absolute;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
  display: flex;
  gap: 0;
  z-index: 20;
  font-family: "NewsCycle", sans-serif;
  font-size: 48px;
}

/*
Theme Name: Thalim
Author: Valentin Le Moign
Version: 1.0
*//*# sourceMappingURL=style.css.map */