@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

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

/* header img {
  height: 155px !important
}

.logo {
  position: fixed;
  top: 50px;
  left: 40px;
  display: block;
  z-index: 11000000;
  border-radius: 0;
  padding: 0;
  transition: all .25s linear
}

.logo,
.logo:hover {
  background-color: transparent
}

.logo img {
  height: 26px;
  width: auto;
  display: block;
  transition: all .2s linear
}

.dark-light:checked~.logo img {
  filter: brightness(10%)
} */

@font-face {
  font-family: edusa;
  src: url(https://linstantbeauthe.fr/fonts/EduSABeginner-Regular.ttf) format("truetype")
}

@font-face {
  font-family: eduQLD;
  src: url(https://linstantbeauthe.fr/fonts/EduQLDBeginner-Regular.ttf) format("truetype")
}

@font-face {
  font-family: pacifico;
  src: url(https://linstantbeauthe.fr/fonts/Pacifico-Regular.ttf) format("truetype")
}

@font-face {
  font-family: caveat;
  src: url(https://linstantbeauthe.fr/fonts/Caveat-VariableFont_wght.ttf) format("truetype")
}

@font-face {
  font-family: ibarra;
  src: url(https://linstantbeauthe.fr/fonts/IbarraRealNova-MediumItalic.ttf) format("truetype")
}

@font-face {
  font-family: futura;
  src: url(https://linstantbeauthe.fr/fonts/Futura%20Bold%20font.ttf) format("truetype")
}

/* *,
body,
html {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  box-sizing: border-box;
  background-color: rgba(139, 196, 220, .288);
  scroll-behavior: smooth
}

::-webkit-scrollbar {
  width: 0
}

a {
  color: inherit;
  text-decoration: none
}

.count {
  text-align: center
}

.main-container {
  margin: auto;
  width: 100%
}

.layout {
  padding: 10px
}

.section {
  opacity: 0;
  transition: .55s
}

.section.show {
  opacity: 1
}

@-webkit-keyframes marquee {
  0% {
    transform: translateX(300%)
  }

  to {
    transform: translateX(-100%)
  }
}

@keyframes marquee {
  0% {
    transform: translateX(300%)
  }

  to {
    transform: translateX(-100%)
  }
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fade-in {
  0% {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@-webkit-keyframes translate-left {
  0% {
    left: 653px
  }

  to {
    left: 0
  }

  0% {
    opacity: 0
  }

  25% {
    opacity: 0
  }

  95% {
    opacity: .5
  }

  to {
    opacity: 1
  }
}

@keyframes translate-left {
  0% {
    left: 653px
  }

  to {
    left: 0
  }

  0% {
    opacity: 0
  }

  25% {
    opacity: 0
  }

  95% {
    opacity: .5
  }

  to {
    opacity: 1
  }
}

@-webkit-keyframes translate-right {
  0% {
    right: 653px
  }

  to {
    right: 0
  }

  0% {
    opacity: 0
  }

  25% {
    opacity: 0
  }

  95% {
    opacity: .5
  }

  to {
    opacity: 1
  }
}

@keyframes translate-right {
  0% {
    right: 653px
  }

  to {
    right: 0
  }

  0% {
    opacity: 0
  }

  25% {
    opacity: 0
  }

  95% {
    opacity: .5
  }

  to {
    opacity: 1
  }
}

@-webkit-keyframes translate-rightb {
  0% {
    right: 0
  }

  to {
    right: 100%
  }
}

@keyframes translate-rightb {
  0% {
    right: 0
  }

  to {
    right: 100%
  }
} */

#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  width: 32px;
  height: 32px;
  text-align: center;
  line-height: 30px;
  background: #ffeba7;
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity .2s ease-out;
  font-size: 30px
}

.navbar-container>span {
  height: 80px !important
}

.dropdown {
  float: left;
  overflow: hidden
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  background-color: inherit;
  font-size: 21px;
  margin: 0
}

.dropdown:hover .dropbtn,
.navbar a:hover {
  background-color: rgba(255, 255, 0, .729)
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
  z-index: 102
}

.dropdown-content a {
  float: none;
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left
}

.dropdown-content a:hover {
  background-color: #ddd
}

.dropdown:hover .dropdown-content {
  display: block
}

.navbar-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-rows: 80px;
  color: #324d67;
  padding: 0 15px;
  /* margin-bottom: 20px; */
  align-items: center;
  font-size: 14px
}

.navbar-right-side {
  display: flex;
  gap: 15px;
  grid-auto-rows: 100px;
  justify-content: flex-end
}

.navbar-right-side>p:hover {
  background-color: rgba(255, 255, 0, .729)
}

.marquee-text {
  font-size: 29px;
  font-weight: 600;
  margin: 60px 0;
  color: #f02d34
}

.marquee {
  position: relative;
  height: 400px;
  width: 100%;
  overflow-x: hidden
}

.home-banner {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 100px;
  justify-items: baseline
}

.home-message-div a {
  font-family: edusa
}

.home-message-div a:hover {
  color: #f5f5f5
}

.home-message {
  font-family: edusa;
  font-size: 1.3vw;
  margin: 15px 0;
  position: fixed;
  top: 495px;
  -webkit-animation: marquee 27s linear infinite;
  animation: marquee 27s linear infinite
}

#logo-a {
  height: 45px !important
}

.home-banner-img {
  opacity: 1;
  --img-height: 57px;
  min-height: var(--img-height) !important;
  max-height: var(--img-height) !important;
  min-width: 35% !important;
  max-width: 35% !important;
  height: var(--img-height) !important;
  border: solid !important;
  grid-column: span 4;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 230;
  margin: 1px 0 0 !important
}

.home-banner-item2 {
  height: 100px
}

.promote-banner-container {
  font-family: futura;
  color: #f02d34;
  background-color: rgba(255, 255, 0, .729);
  text-align: center;
  margin: auto auto 15px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content
}

.services-container {
  --gap: 15px;
  --num-cols: 4;
  --row-height: 23vw;
  display: grid;
  grid-template-columns: repeat(var(--num-cols), 1fr);
  grid-gap: var(--gap);
  grid-auto-rows: var(--row-height);
  margin-bottom: var(--gap);
  margin-top: 2%
}

.services-img {
  --img-height: 23vw;
  min-height: var(--img-height) !important;
  max-height: var(--img-height) !important;
  height: var(--img-height) !important;
  margin: 0 0 15px !important;
  border: solid;
  -o-object-fit: cover;
  object-fit: cover
}

.services-container-item-right {
  position: relative;
  left: 0;
  grid-column: span 3;
  border: ridge
}

.services-container-item-left {
  position: relative;
  right: 0;
  grid-column: span 3;
  border: ridge
}

.service-title {
  font-family: ibarra;
  text-align: center;
  font-size: 2.5vw;
  margin-top: 2vw
}

.service-desc {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 16vw;
  align-items: center;
  justify-items: center;
  font-family: ibarra;
  font-size: 1.5vw
}

.service-desc-item1 {
  grid-column: 1/2;
  font-family: edusa
}

.service-desc-item2 {
  grid-column: span 3;
  font-family: edusa
}

.service-desc-item2b {
  grid-column: 2/3;
  font-family: edusa
}

.service-desc-item3 {
  grid-column: 3/4;
  font-family: edusa
}

#contact-section {
  background-color: #f5f5f5;
  width: 70vw;
  margin: auto auto 25px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-auto-rows: 27vw;
  font-size: 1.5vw;
  justify-items: center;
  align-items: center
}

.contact-title {
  background-color: #f5f5f5;
  font-family: edusa;
  font-size: 2.5vw;
  grid-column: span 2;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 25px
}

.contact-grid-item1 {
  background-color: #f5f5f5;
  font-family: edusa
}

.footer-container {
  color: #324d67;
  text-align: center;
  margin-top: 20px;
  padding: 30px 10px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center
}

.footer-container .icons {
  font-size: 30px;
  display: flex;
  gap: 10px
}

.footer-container .icons:hover {
  color: #f02d34;
  font-size: 36px
}

.calendar-container {
  text-align: center
}

.calendar-container>span {
  overflow: visible !important
}

.calendar-iframe {
  min-width: 70vw;
  height: 500px;
  border: solid
}

.calendar-gif {
  margin-top: 15px !important;
  border: solid !important;
  background-size: cover;
  min-height: 105% !important;
  min-width: 120% !important;
  left: -75px !important;
  opacity: .7 !important
}

.calendar-gif-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 15px auto auto;
  font-family: ibarra;
  background-color: rgba(255, 255, 0, .729)
}

@import url("https://fonts.googleapis.com/css?family=Poppins|Lato|Roboto+Mono&display=swap");

#carousel-wrapper {
  width: auto;
  height: auto
}

#carousel-wrapper,
#carousel-wrapper #menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

#carousel-wrapper #menu {
  height: 371px;
  width: 70vw;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  transition: all 2s ease-in-out;
  border: solid
}

#carousel-wrapper #menu #current-option {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate(6%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: transparent;
  background-color: initial
}

#carousel-wrapper #menu #current-option #current-option-text1 {
  font-size: 1.6rem;
  line-height: 3.4rem;
  width: 100%;
  height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: transparent;
  background-color: initial;
  font-family: ibarra;
  margin-left: 54px
}

#carousel-wrapper #menu #current-option #current-option-text1:before {
  content: attr(data-next-text);
  position: absolute;
  transform: translate(-35%, 380px);
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start
}

#carousel-wrapper #menu #current-option #current-option-text1:after {
  content: attr(data-previous-text);
  position: absolute;
  transform: translate(-35%, -380px);
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start
}

#carousel-wrapper #menu #current-option #current-option-text2 {
  font-size: 1.1rem;
  width: 50%;
  height: 40px;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  background-color: initial;
  font-family: edusa;
  margin-left: 25px
}

#carousel-wrapper #menu #current-option #current-option-text2:before {
  content: attr(data-next-text);
  position: absolute;
  transform: translateY(380px);
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0
}

#carousel-wrapper #menu #current-option #current-option-text2:after {
  content: attr(data-previous-text);
  position: absolute;
  transform: translateY(-380px);
  width: 100%;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0
}

#carousel-wrapper #menu #previous-option {
  transform: translate(310px, 50px)
}

#carousel-wrapper #menu #next-option,
#carousel-wrapper #menu #previous-option {
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  display: block;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 256 256'%3E%3Cpolygon points='225.813,48.907 128,146.72 30.187,48.907 0,79.093 128,207.093 256,79.093' fill='%23333'%3E%3C/polygon%3E%3C/svg%3E");
  background-size: cover;
  position: absolute
}

#carousel-wrapper #menu #next-option {
  transform: translate(310px, -50px) rotate(180deg)
}

#carousel-wrapper #image {
  height: 240px;
  width: 240px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 101;
  position: absolute;
  transform: translate(140px)
}

#carousel-wrapper.anim-next {
  pointer-events: none
}

#carousel-wrapper.anim-next #current-option-text1,
#carousel-wrapper.anim-next #current-option-text2 {
  -webkit-animation: next-text .65s 85ms;
  animation: next-text .65s 85ms
}

#carousel-wrapper.anim-next #previous-option {
  -webkit-animation: next-top-arrow .65s 85ms;
  animation: next-top-arrow .65s 85ms
}

#carousel-wrapper.anim-next #next-option {
  -webkit-animation: next-bottom-arrow .65s 85ms;
  animation: next-bottom-arrow .65s 85ms
}

#carousel-wrapper.anim-next #image {
  -webkit-animation: next-image .65s 85ms;
  animation: next-image .65s 85ms
}

#carousel-wrapper.anim-previous {
  pointer-events: none
}

#carousel-wrapper.anim-previous #current-option-text1,
#carousel-wrapper.anim-previous #current-option-text2 {
  -webkit-animation: previous-text .65s 85ms;
  animation: previous-text .65s 85ms
}

#carousel-wrapper.anim-previous #previous-option {
  -webkit-animation: previous-top-arrow .65s 85ms;
  animation: previous-top-arrow .65s 85ms
}

#carousel-wrapper.anim-previous #next-option {
  -webkit-animation: previous-bottom-arrow .65s 85ms;
  animation: previous-bottom-arrow .65s 85ms
}

#carousel-wrapper.anim-previous #image {
  -webkit-animation: previous-image .65s 85ms;
  animation: previous-image .65s 85ms
}

@-webkit-keyframes previous-text {

  50%,
  55% {
    transform: translateY(390px);
    opacity: 1
  }

  to {
    transform: translateY(380px);
    opacity: 0
  }
}

@keyframes previous-text {

  50%,
  55% {
    transform: translateY(390px);
    opacity: 1
  }

  to {
    transform: translateY(380px);
    opacity: 0
  }
}

@-webkit-keyframes previous-top-arrow {
  50% {
    transform: translate(310px, 53px)
  }
}

@keyframes previous-top-arrow {
  50% {
    transform: translate(310px, 53px)
  }
}

@-webkit-keyframes previous-bottom-arrow {
  50% {
    transform: translate(310px, -47px) rotate(180deg)
  }
}

@keyframes previous-bottom-arrow {
  50% {
    transform: translate(310px, -47px) rotate(180deg)
  }
}

@-webkit-keyframes previous-image {
  0% {
    transform: translate(140px) scale(1);
    opacity: 1
  }

  70% {
    transform: translate(140px) scale(1.1);
    opacity: 0
  }

  to {
    transform: translate(140px) scale(1);
    opacity: 1
  }
}

@keyframes previous-image {
  0% {
    transform: translate(140px) scale(1);
    opacity: 1
  }

  70% {
    transform: translate(140px) scale(1.1);
    opacity: 0
  }

  to {
    transform: translate(140px) scale(1);
    opacity: 1
  }
}

@-webkit-keyframes next-text {

  50%,
  55% {
    transform: translateY(-390px);
    opacity: 1
  }

  to {
    transform: translateY(-380px);
    opacity: 0
  }
}

@keyframes next-text {

  50%,
  55% {
    transform: translateY(-390px);
    opacity: 1
  }

  to {
    transform: translateY(-380px);
    opacity: 0
  }
}

@-webkit-keyframes next-top-arrow {
  50% {
    transform: translate(310px, 47px)
  }
}

@keyframes next-top-arrow {
  50% {
    transform: translate(310px, 47px)
  }
}

@-webkit-keyframes next-bottom-arrow {
  50% {
    transform: translate(310px, -53px) rotate(180deg)
  }
}

@keyframes next-bottom-arrow {
  50% {
    transform: translate(310px, -53px) rotate(180deg)
  }
}

@-webkit-keyframes next-image {
  0% {
    transform: translate(140px) scale(1);
    opacity: 1
  }

  70% {
    transform: translate(140px) scale(1.1);
    opacity: 0
  }

  to {
    transform: translate(140px) scale(1);
    opacity: 1
  }
}

@keyframes next-image {
  0% {
    transform: translate(140px) scale(1);
    opacity: 1
  }

  70% {
    transform: translate(140px) scale(1.1);
    opacity: 0
  }

  to {
    transform: translate(140px) scale(1);
    opacity: 1
  }
}

@media screen and (max-width:870px) {
  .calendar-gif {
    min-width: 100% !important;
    left: 0 !important
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    font-size: 4vw
  }
}

@media screen and (max-width:670px) {

  .contact-grid-item1,
  .contact-grid-item2 {
    width: 100%
  }

  .contact-iframe {
    height: 172.8px;
    width: 100%
  }

  .credit-p {
    font-size: smaller
  }

  .calendar-iframe {
    margin: 0 5px;
    min-width: -webkit-fill-available
  }

  .calendar-gif {
    min-height: 90% !important
  }

  .dropdown .dropbtn {
    font-size: 21px
  }

  .navbar-container>span {
    height: 57px !important
  }

  .navbar-container {
    /* grid-template-columns: 1fr 1fr 1fr; */
    grid-auto-rows: 57px;
    font-size: 2.7vw;
    padding: 0
  }

  .navbar-right-side {
    grid-column: span 2;
    justify-content: space-evenly;
    font-size: 16px
  }

  header img {
    height: 69px !important
  }

  .home-banner-img {
    height: 36px !important;
    min-height: 19px !important;
    max-height: 53px !important;
    min-width: 100% !important;
    margin-top: 16px !important
  }

  .home-message {
    top: 556px;
    font-size: 5vw;
    width: 170%
  }

  .services-container {
    grid-template-columns: 1fr;
    grid-auto-rows: 63vw
  }

  .services-img {
    --img-height: 63vw;
    min-height: var(--img-height) !important;
    max-height: var(--img-height) !important;
    height: var(--img-height) !important
  }

  .service-desc {
    grid-template-columns: 100% 100% 100%;
    grid-auto-rows: 47vw;
    font-size: 4vw
  }

  .service-desc-long {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    background-image: url(https://linstantbeauthe.fr/images/slide.jpg);
    background-position-x: 4vw;
    background-position-y: 157vw;
    background-size: 86vw
  }

  .service-title {
    font-size: 5.5vw
  }

  .service-desc-item2,
  .services-container-item-left,
  .services-container-item-right {
    grid-column: span 1
  }

  .services-container-item1 {
    grid-row: 1/2
  }

  .services-container-item2 {
    grid-row: 2/3
  }

  .services-container-item3 {
    grid-row: 4/5
  }

  .services-container-item4 {
    grid-row: 3/4
  }

  .services-container-item5 {
    grid-row: 5/6
  }

  .services-container-item6 {
    grid-row: 6/7
  }

  .services-container-item7 {
    grid-row: 8/9
  }

  .services-container-item8 {
    grid-row: 7/8
  }

  .services-container-item9 {
    grid-row: 9/10
  }

  .services-container-item10 {
    grid-row: 10/11
  }

  .services-container-item11 {
    grid-row: 12/13
  }

  .services-container-item12 {
    grid-row: 11/12
  }

  .services-container-item13 {
    grid-row: 13/14
  }

  .services-container-item14 {
    grid-row: 14/15
  }

  .services-container-item15 {
    grid-row: 16/17
  }

  .services-container-item16 {
    grid-row: 15/16
  }

  .services-container-item17 {
    grid-row: 17/18
  }

  .services-container-item18 {
    grid-row: 18/19
  }

  .services-container-item19 {
    grid-row: 20/21
  }

  .services-container-item20 {
    grid-row: 19/20
  }

  .services-container-item21 {
    grid-row: 21/22
  }

  .services-container-item22 {
    grid-row: 22/23
  }

  .contact-title {
    font-size: 6vw
  }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    font-size: 4vw
  }

  #contact-section {
    width: 94vw;
    margin: 0 0 25px
  }

  #carousel-wrapper,
  #carousel-wrapper #menu {
    width: 94vw;
    display: block
  }

  #carousel-wrapper #menu {
    margin-bottom: 15px;
    min-height: 294px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    color: #fff;
    background-blend-mode: multiply
  }

  #carousel-wrapper #image {
    position: static;
    width: 94vw;
    height: 448px;
    transform: translate(0)
  }

  #carousel-wrapper #menu #current-option {
    transform: translate(0);
    min-height: 357px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    align-items: center
  }

  #carousel-wrapper #menu #previous-option {
    transform: translate(82vw, -37px) rotate(-90deg);
    background-color: #fff
  }

  #carousel-wrapper #menu #next-option {
    transform: translate(72vw, -37px) rotate(90deg);
    background-color: #fff
  }

  #carousel-wrapper #menu #current-option #current-option-text1 {
    text-align: center;
    margin-left: 0
  }

  #carousel-wrapper #menu #current-option #current-option-text1:before {
    transform: translateY(380px)
  }

  #carousel-wrapper #menu #current-option #current-option-text1:after {
    transform: translateY(-380px)
  }

  #carousel-wrapper #menu #current-option #current-option-text2 {
    width: 94vw;
    font-size: 1.1rem;
    margin-left: 14vw
  }

  @-webkit-keyframes previous-image {
    0% {
      transform: translate(0) scale(1);
      opacity: 1
    }

    70% {
      transform: translate(0) scale(1.1);
      opacity: 0
    }

    to {
      transform: translate(0) scale(1);
      opacity: 1
    }
  }

  @keyframes previous-image {
    0% {
      transform: translate(0) scale(1);
      opacity: 1
    }

    70% {
      transform: translate(0) scale(1.1);
      opacity: 0
    }

    to {
      transform: translate(0) scale(1);
      opacity: 1
    }
  }

  @-webkit-keyframes next-image {
    0% {
      transform: translate(0) scale(1);
      opacity: 1
    }

    70% {
      transform: translate(0) scale(1.1);
      opacity: 0
    }

    to {
      transform: translate(0) scale(1);
      opacity: 1
    }
  }

  @keyframes next-image {
    0% {
      transform: translate(0) scale(1);
      opacity: 1
    }

    70% {
      transform: translate(0) scale(1.1);
      opacity: 0
    }

    to {
      transform: translate(0) scale(1);
      opacity: 1
    }
  }
}