/*
 Theme Name:   Reskator
 Theme URI:    https://reskator.fr
 Description:  Reskator theme
 Author:       Reskator
 Author URI:   https://reskator.fr
 Version:      1.0.0
 Text Domain:  reskator
*/
/** Variables ============= */
/** Mixins ================
@include mixin_name
*/
/** Fonts ================= */
@font-face {
  font-display: fallback;
  font-family: "Reskator";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Reskator-Bold.woff2") format("woff2"), url("./fonts/Reskator-Bold.woff") format("woff"), url("./fonts/Reskator-Bold.otf") format("opentype"), url("./fonts/Reskator-Bold.ttf") format("truetype"), url("./fonts/Reskator-Bold.eot") format("embedded-opentype");
}
@font-face {
  font-display: fallback;
  font-family: "ReskatorStd";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/RotisSemiSerifStd-Bold.woff2") format("woff2"), url("./fonts/RotisSemiSerifStd-Bold.woff") format("woff"), url("./fonts/RotisSemiSerifStd-Bold.ttf") format("truetype"), url("./fonts/RotisSemiSerifStd-Bold.eot") format("embedded-opentype");
}
@font-face {
  font-display: fallback;
  font-family: "Raleway";
  font-style: normal;
  font-weight: normal;
  src: url("./fonts/Raleway-Regular.woff2") format("woff2"), url("./fonts/Raleway-Regular.woff") format("woff"), url("./fonts/Raleway-Regular.ttf") format("truetype");
}
@font-face {
  font-display: fallback;
  font-family: "Raleway";
  font-style: normal;
  font-weight: bold;
  src: url("./fonts/Raleway-Bold.woff2") format("woff2"), url("./fonts/Raleway-Bold.woff") format("woff"), url("./fonts/Raleway-Bold.ttf") format("truetype");
}
/** Keyframes ============= */
@keyframes vaisseau {
  from {
    left: -45px;
  }
  to {
    left: 100%;
  }
}
@keyframes gradient {
  from {
    background-position: 0 50%;
  }
  to {
    background-position: 100% 50%;
  }
}
@keyframes logo_home-anim {
  0% {
    transform: rotate(0) scale(0.6) translate(600%, -1600%);
    filter: blur(0);
    opacity: 0.4;
  }
  60% {
    transform: rotate(0) scale(0.2) translate(-300%, 400%);
    filter: blur(12px);
    opacity: 0.6;
  }
  80% {
    transform: rotate(0) scale(0.6) translate(-150%, 200%);
    filter: blur(12px);
    opacity: 0.8;
  }
  100% {
    transform: rotate(0) scale(1) translate(0, 0);
    filter: blur(0);
    opacity: 1;
  }
}
@keyframes bgd_kenburns {
  from {
    background-size: 200px 200px;
  }
  to {
    background-size: 250px 250px;
  }
}
@keyframes glow-anim {
  0% {
    filter: blur(0);
  }
  50% {
    filter: blur(0.5rem);
  }
  100% {
    filter: blur(0);
  }
}
@keyframes glowing-anim {
  0% {
    filter: blur(0);
  }
  25% {
    filter: blur(0);
    opacity: 1;
  }
  50% {
    filter: blur(1rem);
    opacity: 0.4;
  }
  75% {
    filter: blur(0);
    opacity: 1;
  }
  100% {
    filter: blur(0);
  }
}
/** Global Priority ============== */
/** Placeholders ==========
@extend %placeholder_name
*/
.testimonial_slides .t_slide, .testimonial_container .testimonial_prev,
.testimonial_container .testimonial_next {
  display: flex;
  justify-content: center;
  align-items: center;
}

aside, .testimonial_container .testimonial_nav, .icon_box, section .section_inner_wrap, #nojs, body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/** ============================== */
header,
footer {
  position: fixed;
  width: 100vw;
  z-index: 10;
}
header svg,
footer svg {
  height: 1.4rem;
  width: 24px;
  fill: currentColor;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
html a,
html p a,
html a:link,
html a:visited,
html a:hover,
html a:active {
  color: inherit;
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::after, *::before {
  position: absolute;
  content: "";
  box-sizing: inherit;
}

body {
  position: relative;
  font: normal min(1.1rem, 1vw + 0.65rem) "Raleway", sans-serif;
  line-height: 1.45;
  color: #27323a;
  overflow-x: hidden;
}
body img {
  display: block;
  max-width: 100%;
}

main {
  margin-top: 118px;
  width: 100%;
}

#nojs {
  padding: 0.3em 1em;
  font-size: 2em;
  line-height: 1.3;
  text-align: center;
  color: white;
  background-color: #eb8989;
}
#nojs .nojs_discreet {
  margin-top: 1em;
  font-size: 1.2rem;
}

#skip-nav {
  position: absolute;
  left: 2rem;
  padding: 0.3rem 1rem;
  color: #fff;
  font-weight: 700;
  background-color: #4f022d;
  border-radius: 0 0 0.3rem 0.3rem;
  box-shadow: 4px 4px 1rem rgba(0, 0, 0, 0.5);
  transform: translateY(-120%);
  transition: transform 0.4s ease-in;
}

#skip-nav:focus {
  transform: translateY(0);
}

section {
  display: flex;
  justify-content: center;
}
section .section_inner_wrap {
  width: min(70em, 80%);
  margin: 3rem 0 5rem 0;
}
section .shape_divider,
section .shape_divider svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
}
section .shape_divider {
  pointer-events: none;
  color: #fff;
}
section .shape_divider svg {
  z-index: 0;
  transform-origin: bottom center;
  height: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "ReskatorStd", serif;
  line-height: 1.1;
  color: #5e6f75;
  margin: 1em 0 0 0;
  text-align: center;
}

h1 {
  margin-top: 0;
  font-size: min(3rem, 4vw + 0.65rem);
}

h2 {
  font-size: min(2.5rem, 3.5vw + 0.65rem);
  letter-spacing: 0.1rem;
}

h3 {
  font-size: min(2rem, 3vw + 0.65rem);
}

h4 {
  font-size: min(1.75rem, 2.75vw + 0.65rem);
}

h5 {
  font-size: min(1.5rem, 2.5vw + 0.65rem);
}

h6 {
  font-size: min(1.2rem, 2vw + 0.65rem);
}

p {
  margin: 0.75rem 0 0 0;
}

span.reskator {
  font-family: "Reskator", serif;
  font-size: min(1.2rem, 2.2vw + 0.65rem);
}

.menu {
  position: relative;
}
.menu::after {
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #81034a;
  transform: scale(0);
  transition: transform 0.4s ease;
}
.menu:hover {
  color: #81034a;
}
.menu:hover::after {
  transform: scale(1);
}

.footer_left a:hover,
.footer_center a:hover,
.footer_right a:hover {
  color: #f2f4f5;
}
.footer_left:hover svg,
.footer_center:hover svg,
.footer_right:hover svg {
  fill: #91a1a8;
}
.footer_left .menu::after,
.footer_center .menu::after,
.footer_right .menu::after {
  background: #f2f4f5;
}

.icon_box {
  position: relative;
  height: 350px;
  padding: 2rem;
  border: 1px solid #91a1a8;
  border-radius: 10px;
  background: #f2f4f5;
  background: linear-gradient(to bottom, #f2f4f5, #91a1a8);
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.icon_box .icon_box-icon {
  position: absolute;
  width: 100%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s ease;
}
.icon_box .icon_box-icon svg {
  height: 52px;
  width: 100%;
  fill: #5e6f75;
  transition: fill 0.5s ease, transform 0.5s ease;
}
.icon_box .icon_box-icon h3 {
  color: #5e6f75;
  font-size: min(1.5rem, 2.5vw + 0.65rem);
  text-align: center;
  transition: color 0.5s ease;
}
.icon_box .icon_box-content {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-top: 1px solid #5e6f75;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: bottom center;
  transform: scale(0);
  transition: transform 0.5s ease;
}
.icon_box .icon_box-content p {
  text-align: center;
}
.icon_box::after {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 10px;
  transition: opacity 0.5s ease;
  opacity: 1;
}
.icon_box:hover {
  box-shadow: 0 0 12px rgba(145, 161, 168, 0.9);
  transform: scale(1.01);
}
.icon_box:hover .icon_box-icon {
  transform: translate(-50%, -125%);
}
.icon_box:hover .icon_box-icon svg {
  fill: #475459;
  transform: scale(1.4);
}
.icon_box:hover .icon_box-icon h3 {
  color: #475459;
}
.icon_box:hover .icon_box-content {
  transform: scale(1);
}
.icon_box:hover::after {
  opacity: 0;
}

.card {
  height: 320px;
  transform-style: preserve-3d;
  perspective: 1250px;
}
.card .box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: 1s cubic-bezier(0.8, 0.3, 0.3, 0.7);
}
.card .box .face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #91a1a8;
  border-radius: 10px;
  background: linear-gradient(to bottom, #f2f4f5, #91a1a8);
  transform: translatez(0.5px);
}
.card .box .face div {
  transform: translate3d(0, -15%, 75px);
}
.card .box .face div svg {
  height: 64px;
  width: 100%;
  fill: #5e6f75;
}
.card .box .face div h3 {
  color: #5e6f75;
  font-size: min(1.5rem, 2.5vw + 0.65rem);
}
.card .box .pile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #81034a;
}
.card .box .pile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat center url("./img/Reskator_Vaisseau.svg");
  background-size: 60%;
  opacity: 0.15;
}
.card .box .pile div {
  position: absolute;
  width: 80%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  padding: 1rem;
  color: white;
  transform: translateZ(75px);
}
.card:hover .box {
  transform: rotateY(180deg);
}

footer {
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  background: #5e6f75;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  font-size: min(0.85rem, 1.85vw + 0.65rem);
  color: #aebabe;
}
footer span.reskator {
  font-size: min(0.95rem, 1.95vw + 0.65rem);
}
footer ul {
  display: flex;
}
footer li {
  list-style-type: none;
  padding-inline: 1rem;
}

.testimonial_container {
  position: relative;
  width: min(100%, 100%);
  margin-top: 3rem;
  padding: min(2rem, 0.5rem);
  outline: none;
}
.testimonial_container .testimonial_prev {
  left: -2rem;
}
.testimonial_container .testimonial_next {
  right: -2rem;
}
.testimonial_container .testimonial_prev,
.testimonial_container .testimonial_next {
  position: absolute;
  height: 2.5rem;
  width: 2.5rem;
  top: 45%;
  line-height: 1.5rem;
  font-size: min(1.5rem, 2.5vw + 0.65rem);
  color: white;
  border: 1px solid white;
  border-radius: 50%;
  background: #67023b;
  box-shadow: 2px 3px 20px #000;
  cursor: pointer;
}
.testimonial_container .testimonial_prev:hover,
.testimonial_container .testimonial_next:hover {
  background: #81034a;
}
.testimonial_container .testimonial_nav {
  height: 20px;
}
.testimonial_container .testimonial_nav ol {
  display: flex;
  align-items: flex-start;
  list-style: none;
  text-align: center;
}
.testimonial_container .testimonial_nav ol > * {
  flex-basis: 100%;
}
.testimonial_container .testimonial_nav li {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-inline: 4px;
  color: transparent;
  border: 2px solid #81034a;
  border-radius: 50%;
  background: #67023b;
  box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  cursor: pointer;
}
.testimonial_container .testimonial_nav li:hover {
  background: #81034a;
}
.testimonial_container .testimonial_nav li.active {
  background: #fff;
  cursor: default;
}

.testimonial_slides {
  display: flex;
  outline: none;
  overflow: hidden;
}
.testimonial_slides .t_slide {
  min-width: 100%;
  padding-inline: 3rem;
  opacity: 0;
  transition: opacity 1.2s ease 0s;
}
.testimonial_slides .t_slide img {
  width: 188.5px;
  height: auto;
  border: 1px solid rgba(39, 50, 58, 0.8);
  border-radius: 50%;
  background: whitesmoke;
  box-shadow: 2px 3px 10px #000;
}
.testimonial_slides .t_slide .t_testimonial {
  font-family: "ReskatorStd", serif;
  font-size: min(1.15rem, 2.15vw + 0.65rem);
  line-height: 1.6;
  font-style: oblique;
}
.testimonial_slides .t_slide .t_text {
  position: relative;
  width: 100%;
}
.testimonial_slides .t_slide .t_author {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: "ReskatorStd", serif;
  font-size: min(1.1rem, 2.1vw + 0.65rem);
  line-height: 1;
}
.testimonial_slides .t_slide .t_function {
  font-size: min(0.9rem, 1.9vw + 0.65rem);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.testimonial_slides .t_slide .t_web {
  color: rgba(255, 255, 255, 0.8);
  font-size: min(0.9rem, 1.9vw + 0.65rem);
  margin-top: 0;
}
.testimonial_slides .t_slide .t_web a {
  position: relative;
  display: flex;
  align-items: center;
}
.testimonial_slides .t_slide .t_web svg {
  width: 24px;
  height: 20px;
  fill: #5e6f75;
  padding-right: 0.5rem;
}
.testimonial_slides .t_slide.active {
  opacity: 1;
}

#subscribe {
  width: 100%;
}
#subscribe a {
  writing-mode: vertical-lr;
  text-orientation: upright;
  padding: 10px 2px;
}

.section_inner_wrap #testimonial0 {
  width: 100%;
  margin-bottom: 3rem;
}

header {
  top: 0;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 0, 0, 0.4);
}
header .header_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(70em, 80%);
  margin-inline: auto;
}
header #header_top,
header #header_main {
  display: flex;
  justify-content: center;
}
header #header_top .header_content,
header #header_main .header_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin-inline: auto;
  padding: 0.3rem 0;
}
header #header_top .header_content div,
header #header_main .header_content div {
  display: flex;
}
header #header_top {
  color: #fff;
  font-size: min(0.9rem, 1.9vw + 0.65rem);
  letter-spacing: 0.07rem;
  background: #81034a;
}
header #header_top .top_header_info {
  margin-left: 0.3rem;
}
header #header_top a {
  display: flex;
  align-items: center;
}
header #header_top a:hover {
  color: rgba(255, 255, 255, 0.6);
}
header #header_top a:not(:last-child) {
  margin: 0 1rem 0 0;
}
header #header_main #header_logo {
  width: min(230.63px, 50vw);
  height: min(80px, 100%);
  margin-left: -8px;
}
header #header_main #menu_main {
  list-style-type: none;
  margin-right: -1rem;
}
header #header_main #menu_main li {
  position: relative;
  padding: 0.5rem 1rem;
  color: #5e6f75;
  line-height: 1.6;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s ease;
}
header #header_main #menu_main li.current_item {
  color: #ad5388;
}

aside {
  position: fixed;
  top: 50vh;
  right: -1px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  background: #81034a;
  border: 1px solid #35011e;
  border-right: none;
  border-radius: 0 0 0 10px;
  transform: translateX(100%);
  transition: transform 0.3s;
}
aside #switch_subscribe {
  position: relative;
  top: -1px;
  right: 35px;
  width: 35px;
  height: 40px;
  border: 1px solid #420126;
  border-right: none;
  border-radius: 10px 0 0 10px;
  outline: none;
  background: #81034a;
  box-shadow: -3px 0 6px rgba(0, 0, 0, 0.5);
}
aside #switch_subscribe svg {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  fill: #fff;
}
aside:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  transform: translateX(0);
}
aside:hover #subscribe a {
  writing-mode: vertical-lr;
  text-orientation: upright;
  padding: 10px 2px;
  animation: glowing-anim 1s linear 0s infinite alternate;
}
aside:hover #subscribe a:hover {
  animation: none;
}

#sect1 {
  background-attachment: fixed;
  background-blend-mode: screen;
  background-position: 40%, center;
  background-size: cover;
}
#sect1 .section_inner_wrap {
  justify-content: center;
  height: 400px;
  text-align: center;
  color: #5e6f75;
}
#sect1 span.reskator {
  font-size: min(3rem, 4vw + 0.65rem);
  margin-bottom: 1.5rem;
}
#sect1 .logo_home {
  animation: logo_home-anim 1.5s 1 0s linear;
}

#sect2,
#sect4 {
  position: relative;
  background-size: 400%;
}
#sect2.visible_anim.visible,
#sect4.visible_anim.visible {
  animation: gradient 5s ease infinite alternate;
}

.no-webp #photo::before {
  background: center center url("/cms/wp-content/uploads/2021/01/MAD4_square-300x300.jpg");
}

.webp #photo::before {
  background: center center url("/cms/wp-content/uploads/2021/01/MAD4_square-300x300.webp");
}

#sect4 {
  background-image: linear-gradient(45deg, #7c4263, #ad5388, #ad5388, #7c4263);
  height: 300px;
}
#sect4 p {
  text-align: center;
  margin-bottom: 2rem;
}

.no_js #photo::before {
  background: no-repeat center/cover url("/cms/wp-content/uploads/2021/01/MAD4_square-300x300.jpg");
}

#sect2 {
  background-image: linear-gradient(45deg, #27323a, #475459, #455459, #27323a);
}
#sect2.visible_anim.visible #photo::before {
  animation: bgd_kenburns 12s ease-in-out infinite alternate;
}
#sect2 #presentation_content {
  display: flex;
  align-items: flex-start;
  width: 100%;
  color: #fff;
  margin: 2rem 0;
}
#sect2 #presentation_content #col1-2 {
  width: 250px;
}
#sect2 #presentation_content #col1-2 #photo {
  position: relative;
  height: min(198px, 198px);
  width: min(198px, 198px);
  overflow: hidden;
  border: 1px solid #475459;
  border-radius: 100px;
  box-shadow: 2px 3px 20px #000;
}
#sect2 #presentation_content #col1-2 #photo::before {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#sect2 #presentation_content #col2-2 {
  width: auto;
  text-align: justify;
}

#sect3 .grid {
  display: grid;
  width: 100%;
  align-items: start;
  grid-gap: 1.5rem;
  margin: 3rem 0;
}

.no_js .pepite::after {
  opacity: 1;
}

#sect5 {
  position: relative;
}
#sect5 .section_inner_wrap {
  margin-top: -4rem;
}

#wrapper_pepites {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
}
#wrapper_pepites .pepite {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  flex-shrink: 1;
  flex-basis: 32%;
  padding: 2rem;
  text-align: center;
  border-radius: 500px 500px 10px 10px;
  background: #edcbdd;
  box-shadow: 2px 2px 10px #999, inset 0 -1px 4px rgba(173, 83, 136, 0.2), inset -2px -4px 6px rgba(173, 83, 136, 0.36), inset 2px 3px 2px rgba(255, 255, 255, 0.9);
}
#wrapper_pepites .pepite::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 500px 500px 10px 10px;
  box-shadow: 2px 2px 20px #777, inset -2px -4px 6px rgba(173, 83, 136, 0.2), inset 2px 3px 4px rgba(255, 255, 255, 0.9), inset 0 5px 4px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 1s ease;
}
#wrapper_pepites .pepite h2 {
  margin: 2rem 0;
  font-size: min(1.5rem, 2.5vw + 0.65rem);
  color: #ad5388;
}
#wrapper_pepites .pepite .button {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
}
#wrapper_pepites .pepite svg {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  box-shadow: 0 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 1px 4px rgba(0, 0, 0, 0.6);
  transform: rotate(0);
  transition: transform 1s cubic-bezier(0.8, 0.3, 0.3, 0.7), filter 0.5s;
}
#wrapper_pepites .pepite:hover {
  transform: translateY(-6px) scale(1.02);
}
#wrapper_pepites .pepite:hover::before {
  opacity: 1;
}
#wrapper_pepites .pepite:hover h2 {
  color: #81034a;
}
#wrapper_pepites .pepite:hover svg {
  color: #81034a;
  filter: none;
  transform: rotate(360deg);
}

#wrapper_pepites > * {
  flex-basis: 100%;
}

#sect6 {
  background: #27323a;
  color: white;
}

.flex_col_center {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.light {
  color: #fff;
}

.parent_grid {
  width: 100%;
}

.glow {
  animation: glow-anim 0.3s 1 1.51s linear;
}

.glowing {
  animation: glowing-anim 4s linear 2s infinite alternate;
}

.aos {
  opacity: 0;
  transition-duration: 1s;
  transition-timing-function: cubic-bezier(0.5, 0, 0.5, 1);
}

.aos_fade_right {
  transform: translate3d(-100px, 0, 0);
}

.aos_fade_up {
  transform: translate3d(0, 100px, 0);
}

.aos_fade_left {
  transform: translate3d(100px, 0, 0);
}

.aos_animate {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0);
}

.no_js .testimonial_slides .t_slide,
.no_js .aos,
.no_js .aos.aos_fade_right,
.no_js .aos.aos_fade_up,
.no_js .aos.aos_fade_left {
  opacity: 1;
  transition: none;
  transform: none;
}

.svg_h {
	display: none;

}

/** Media queries =========
 * 1120px = 70em, 1080px = 67.5em, 992px = 62em, 768px = 48em, 480px = 30em
 * media types : all, screen, print, speech */
@media (max-width: 48em) {
  header {
    position: relative;
    z-index: 0;
  }

  footer {
    position: relative;
    z-index: 0;
    flex-direction: column;
    align-items: center;
    order: 1;
  }
  footer li {
    padding: 0.3rem;
    text-align: center;
  }
  footer .footer_right {
    padding: 0.5rem;
  }
  footer .footer_right a {
    padding: 0.5rem 1rem;
  }

  .testimonial_slides .t_slide {
    flex-direction: column;
  }
  .testimonial_slides .t_slide .t_text {
    text-align: center;
  }
  .testimonial_slides .t_slide .t_web a {
    justify-content: center;
  }
  .testimonial_slides .t_slide .t_photo {
    margin: 1rem 0 4rem 0;
  }

  #header_top,
#header_main {
    padding: 0.3rem 2rem;
  }
  #header_top div a:last-child,
#header_main div a:last-child {
    margin: 0;
  }

  .top_header_info {
    display: none;
  }

  main {
    margin-top: 0;
  }

  .webp #sect1 {
    background-image: linear-gradient(to left, #aebabe, #aebabe), url("/cms/wp-content/uploads/2020/11/matthew-henry-unsplash-300x300.webp");
  }

  .no-webp #sect1,
.no_js #sect1 {
    background-image: linear-gradient(to left, #aebabe, #aebabe), url("/cms/wp-content/uploads/2020/11/matthew-henry-unsplash-300x300.jpg");
  }

  #sect2 #presentation_content {
    flex-direction: column;
    align-items: center;
  }
  #sect2 #presentation_content #col1-2 {
    width: auto;
  }
  #sect2 #presentation_content #col2-2 {
    text-align: center;
  }
  #sect2 #presentation_content #photo {
    margin: 0 0 2rem 0;
  }

  .no-webp #sect2 #photo::before,
.no_js #sect2 #photo::before {
    background: no-repeat center/cover url("/cms/wp-content/uploads/2021/01/MAD4_square-150x150.jpg");
  }

  .webp #sect2 #photo::before {
    background: no-repeat center/cover url("/cms/wp-content/uploads/2021/01/MAD4_square-150x150.webp");
  }

  #sect3 .grid {
    grid-template-columns: 100%;
  }

  .icon_box {
    padding: 2rem;
  }
}
@media (min-width: 48em) {
  .no-webp #sect1,
.no_js #sect1 {
    background-image: linear-gradient(to left, #aebabe, #aebabe), url("/cms/wp-content/uploads/2020/11/matthew-henry-unsplash.jpg");
  }

  .webp #sect1 {
    background-image: linear-gradient(to left, #aebabe, #aebabe), url("/cms/wp-content/uploads/2020/11/matthew-henry-unsplash.webp");
  }

  #photo {
    margin-right: 2rem;
  }

  .t_slide {
    flex-direction: row;
  }
  .t_slide .t_photo {
    margin: 0.8rem 2rem 0 0.5rem;
  }
}
@media (min-width: 48em) and (max-width: 70em) {
  #sect3 .grid {
    grid-template-columns: 48% 48%;
  }
  #sect3 .grid :last-child {
    grid-column: span 2;
  }
}
@media (max-width: 70em) {
  #menu-btn {
    outline: none;
  }

  #main_nav {
    position: relative;
  }
  #main_nav svg {
    transform: scale(1.3);
  }
  #main_nav #menu_main {
    position: absolute;
    display: block;
    top: -10px;
    right: -10px;
    padding: 4rem 2rem 2rem;
    text-align: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px 0 12px 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    transform: scale(0);
    transform-origin: top right;
    transition: transform 0.6s ease;
  }
  #main_nav #menu_main::before {
    top: 2rem;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  #main_nav #menu_main::after {
    content: "X";
    top: 10px;
    right: 10px;
    font-size: min(1.3rem, 2.3vw + 0.65rem);
    font-weight: bold;
    color: #475459;
  }

  #menu-btn:focus {
    color: transparent;
  }
  #menu-btn:focus ~ #menu_main {
    transform: scale(1);
  }

  #sect5 #wrapper_pepites {
    flex-direction: column;
    max-width: 400px;
  }
  #sect5 #wrapper_pepites .pepite {
    margin-bottom: 2rem;
  }
}
@media (min-width: 70em) {
  #main_nav #menu-btn {
    display: none;
  }

  #menu_main {
    display: flex;
    flex-direction: row;
  }

  #sect3 .grid {
    grid-template-columns: 32% 32% 32%;
  }

  #wrapper_pepites > * + * {
    margin-left: 2em;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html #subscribe a,
html .logo_home,
html .visible_anim.visible,
html .glow,
html .glowing {
    animation: none;
  }
}

/*# sourceMappingURL=style.css.map */
