/************************************
 * Grids
 */
/************************************
 * Breakpoints
 */
/************************************
 * Transitions
 */
/************************************
 * Paths
 */
/************************************
 * Fonts
 */
/*** LOCAL FONTS ***/
/*** FONTS ***/
/*** VARIABLES TO USE ***/
/************************************
 * Font Sizes
 */
/************************************
 * COLORS
 */
/************************************
 * THEME
 */
/**
 * Font-size calcul
 */
/**
* Trigger hover effect on different pseudo-classes
* depending on touch or no-touch device
* => no-touch > on hover and on focus (by default, can be disable)
* => touch > on active, and when a class is added on the targeted element (optionnal)
*
* @param $focus (boolean) set to false to disable the hover effect on focus (no-touch only)
* @param $touchClass (string) the hover effect will be set if the targeted element has this class
*/
/**
* Set an item to 100% of its parent's width and height
*/
/**
* Set an item to 100% of the window width (and 100% of its parent height)
* even if located in a limited width wrapper
*/
/**
* Set an item to 100% of the window width
* even if located in a limited width wrapper,
* but keep it in the flow
*/
/**
* To call on an <img> tag.
* Set the image size to adapt to its parent
*/
/**
* Like img-cover(), but for responsive img with <picture>
* /!\ To call on <picture>, or <img> parent.
*/
/**
* Floating form items
* if $class2 equals 'empty', the next item is cleared
*/
/*
A simple little SCSS mixin for creating scrim gradients
Inspired by Andreas Larson - https://github.com/larsenwork
https://css-tricks.com/easing-linear-gradients/
*/
/**
Convert em value into px
 */
/**
Fluid font-size between 2 breakpoints.
Font-size must be in px, use em2px() function to convert from em.
*/
/**
Fluid value between 2 breakpoints (can be use for other than font-size)
(Font-size must be in px, use em2px() function to convert from em)
*/
/*
Fluid value - clamp version (2023)
@see https://www.smashingmagazine.com/2022/10/fluid-typography-clamp-sass-functions/
 */
/**
 * Animated placeholder for images or divs (FB like)
 */
/*@mixin breakpoint($point) {
  @if $point == desktop {
    @media only screen and (max-width: $bp-xlarge) {
      @content;
    }
  }
  @else if $point == table {
    @media only screen and (max-width: $bp-large) {
      @content;
    }
  }
  @else if $point == mobile {
    @media only screen and (max-width: $bp-xsmall) {
      @content;
    }
  }
}*/
/*** SPECIFIC TO CURRENT PROJECT ***/
.cern-fact {
  max-width: 1430px;
  margin-inline: auto;
  padding-block: clamp(20px, 1.29vw + 15.15px, 40px) clamp(30px, 2.91vw + 19.08px, 75px);
  -webkit-margin-after: 100px;
          margin-block-end: 100px;
}
.cern-fact__illustration {
  position: absolute;
  right: 50%;
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
  bottom: calc(55px + clamp(30px, 2.91vw + 19.08px, 75px));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  width: 70%;
  max-width: 250px;
  height: clamp(160px, 3.47vw + 133.33px, 200px);
}
.cern-fact__main {
  position: relative;
  border-radius: 10px;
  background-color: #fff;
  -webkit-box-shadow: 5px 10px 25px 0px rgba(0, 0, 0, 0.08);
          box-shadow: 5px 10px 25px 0px rgba(0, 0, 0, 0.08);
  padding-block: clamp(25px, 2.91vw + 14.08px, 70px);
  padding-inline: clamp(25px, 9.39vw + -10.19px, 170px);
  text-align: center;
  background-repeat: no-repeat;
  background-size: 11.5%;
  background-position: top 25px left 30px;
}
.cern-fact__main.has-image {
  -webkit-padding-after: calc(55px + clamp(30px, 2.91vw + 19.08px, 75px) + clamp(160px, 3.47vw + 133.33px, 200px));
          padding-block-end: calc(55px + clamp(30px, 2.91vw + 19.08px, 75px) + clamp(160px, 3.47vw + 133.33px, 200px));
}
.cern-fact__main:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 20px;
  width: clamp(33px, 0.78vw + 30.09px, 45px);
  height: clamp(56px, 1.23vw + 51.39px, 75px);
  background: url("../../svg/stars-yellow.svg") no-repeat center;
  background-size: contain;
}
.cern-fact__title {
  position: relative;
  display: inline-block;
  color: var(--c-tertiary);
  font-size: clamp(30px, 1.29vw + 25.15px, 50px);
  font-family: var(--f-special);
  letter-spacing: -0.8px;
  margin-bottom: clamp(5px, 1500vw + -11515px, 20px);
}
.cern-fact__title:after {
  content: "";
  position: absolute;
  left: calc(100% + 25px);
  top: 30%;
  height: clamp(35px, 0.97vw + 31.36px, 50px);
  width: clamp(30px, 1.62vw + 23.93px, 55px);
  background: url("../../svg/arrow-drawing-yellow.svg") no-repeat center;
  background-size: contain;
}
.cern-fact__text {
  position: relative;
  color: var(--c-dark);
  font-family: var(--f-title);
  font-variation-settings: "wdth" 100, "wght" 300;
  font-size: clamp(30px, 0.65vw + 27.57px, 40px);
}
.cern-fact__text strong {
  font-variation-settings: "wdth" 100, "wght" 700;
}
@media screen and (max-width: 480px) {
  .cern-fact {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .cern-fact__main {
    background-image: none !important;
  }
  .cern-fact__title {
    padding-top: 35px;
  }
  .cern-fact__title:after {
    position: relative;
    display: block;
    left: 50%;
    height: 53px;
    width: 53px;
  }
}
@media screen and (min-width: 601px) {
  .cern-fact__main:after {
    right: 13%;
    top: 40px;
  }
}
@media screen and (min-width: 769px) {
  .cern-fact {
    -webkit-margin-after: clamp(60px, 0.65vw + 57.57px, 70px);
            margin-block-end: clamp(60px, 0.65vw + 57.57px, 70px);
  }
  .cern-fact__main {
    padding-block: clamp(25px, 2.91vw + 14.08px, 70px);
  }
  .cern-fact__main.has-image {
    -webkit-padding-after: 120px;
            padding-block-end: 120px;
    max-width: 79%;
  }
  .cern-fact__illustration {
    max-width: unset;
    height: 100%;
    right: 0;
    bottom: 0;
    width: 35%;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@media screen and (min-width: 981px) {
  .cern-fact__illustration {
    width: 31%;
    right: -30px;
  }
}
/*# sourceMappingURL=block-fun-fact.css.map */
