@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

/* This is all you. */

@layer base {
  @font-face {
    font-family: "Gilroy regular";
    src: url("/resources/fonts/Gilroy-Regular.woff2") format("woff2"),
      url("/resources/fonts/Gilroy-Regular.woff") format("woff"),
      url("/resources/fonts/Gilroy-Regular.ttf") format("opentype");
    font-weight: normal;
    font-style: normal;

  }

  @font-face {
    font-family: "Gilroy semibold";
    src:
      url("/resources/fonts/Gilroy-Semibold.woff2") format("woff2"),
      url("/resources/fonts/Gilroy-Semibold.woff") format("woff"),
      url("/resources/fonts/Gilroy-Semibold.ttf") format("opentype");
    font-style: normal;
    font-weight: normal;
  }

  @font-face {
    font-family: "Gilroy bold";
    src:
      url("/resources/fonts/Gilroy-Bold.woff2") format("woff2"),
      url("/resources/fonts/Gilroy-Bold.woff") format("woff"),
      url("/resources/fonts/Gilroy-Bold.ttf") format("opentype");
    font-style: normal;
    font-weight: normal;
  }
}

html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
* {
  font-family: 'Gilroy regular', sans-serif;
}

:root {
  --bold: 'Gilroy bold', sans-serif;
  --semibold: 'Gilroy semibold', sans-serif;
  --regular: 'Gilroy regular', sans-serif;
  --font-xl: clamp(2.125rem, 1.5694rem + 2.7778vw, 4rem); /*64px; */
  --font-l: clamp(1rem, 0.8519rem + 0.7407vw, 1.5rem); /*24px; */
  --font-m: clamp(0.875rem, 0.8009rem + 0.3704vw, 1.125rem); /*18px;*/
  --font-s: clamp(0.8125rem, 0.7569rem + 0.2778vw, 1rem); /*16px; */
  --white: #fff;
  --darkBlue: #102545;
  --blue: #23406D;
  --yellow: #EACD78;
  --padding-l: 10vw;
}

main {
  overflow: hidden;
}

h2, h3, h2 div, h3 div{
  font-size: var(--font-xl);
  font-family: var(--bold);
  color: var(--darkBlue);
  line-height: 120%;
}
p {
  font-size: var(--font-l);
  font-family: var(--regular);
  color: var(--blue);
  line-height: 150%;
}
.hero {
  height: 100vh;
  background: #101A2A;
  overflow: hidden;
  position: relative;
  margin: 15px;
  border-radius: 10px;
}

.padding-l {
  padding: var(--padding-l);
}

a {
  color: var(--blue);
  font-size: var(--font-m);
  font-family: var(--semibold);
}

.hero * {
  color: var(--white);
}

.cut-hero {
  position: absolute;
  bottom: -9%;
  width: 100%;
}

.circle {
  border-radius: 100%;
  position: absolute;
}

.circle__l {
  border-radius: 78rem;
  background: rgba(0, 104, 255, 0.30);
  filter: blur(444px);
  width: 78rem;
  height: 78rem;
  transform: translate(-10%, -20%);
  bottom: -50%;
  right: -50%;
  z-index: 0;
}

.circle__m {
  width: 56rem;
  height: 56rem;
  border-radius: 56rem;
  background: #23406D;
  filter: blur(444.4444580078125px);
  transform: translate(-20%, -40%);
  bottom: -50%;
  z-index: 0;
}

.circle__s {
  width: 50rem;
  height: 50rem;
  border-radius: 50rem;
  background: rgba(0, 104, 255, 0.50);
  filter: blur(266px);
  bottom: -50%;
  right: -50%;
  transform: translate(-20%, -50%);
  z-index: 0;
}

.hero, .hero-content {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;

}

.hero-content {
  max-width: 950px;
  gap: 2vw;
}
.hero-content img {
  margin-bottom: 40px;
}

.hero-content h1, .hero-content h1 div {
  font-size: var(--font-xl);
  font-family: var(--bold);
  line-height: 120%;
}

.hero-content p {
  font-size: var(--font-l);
  font-family: var(--regular);
  line-height: 150%;
  opacity: .7;
}

.orthodontie3d {
  display: flex;
  overflow: hidden;
}

.orthodontie3d-content {
  display: flex;
  justify-content: center;
  max-width: 60%;
  flex-direction: column;
  gap: 20px;
}

.hr{
  position: relative;

  height: 100px;
  overflow-y: hidden;
}

hr {
  filter: drop-shadow(0px 1px 10px rgba(35, 64, 109, 0.20));
  height: 10px;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  top: -10px; left: 0; right: 0;  bottom: 0;
  margin: 0 var(--padding-l);
}

.orthodontie-traditonnelle__images {
  display: flex;
}
.orthodontie-traditonnelle-content {
  display: flex;
  justify-content: space-between;
  gap: 10vw;
}
.orthodontie-traditonnelle-content > div {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 100px;
}
.form-newsletter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 800px;
  margin: auto;
  text-align: center;
}


form {
  display: flex;
  margin: 40px 0;
  width: 70%;
  gap: 10px;
}
form  > div {
  flex-grow: 1;
}
form input {
  padding: 5px 15px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  margin-right: 10px;
  width: 100%;
  background-color: transparent;
}

input::placeholder  {
  color: var(--blue);
  font-size: 15px;
}

button[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
}

form label {
  display: none;
}

footer .links, .legals {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

footer {
  position: relative;
}

footer .top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 5vw;
}

footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.link a {
  font-family: var(--semibold);
  font-size: var(--font-s);
}

footer a, footer .legals p {
  font-family: var(--regular) !important;
  font-size: var(--font-s);
}



footer h3 {
  max-width: 60vw;
}

.link {
  display: flex;
  gap: 5px;
  align-items: center;
}

.link span {
  transition: transform .3s;
}

.link:hover span {
  transform: rotate(45deg);
}

.arrow-left {
  transform: rotate(45deg);
}

span.arrow-left {
  transition: translate .3s;
}

.link:hover span.arrow-left {
  translate: 5px;
}

.blur-circle {
  position: absolute;
  border-radius: 100%;
  z-index: -1;
}

.footer-circle {
  background: rgb(0, 104, 255, .4);
  width: 80vw;
  height: 80vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
  filter: blur(500px);
}

.tradi-circle-1 {
  background: rgb(0, 104, 255, .3);
  width: 50vw;
  height: 50vw;
  right: -50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: blur(300px);
}
.tradi-circle-2 {
  background: rgb(0, 104, 255, .2);
  width: 90vw;
  height: 90vw;
  right: -50%;
  top: 50%;
  transform: translate(-30%, -50%);
  filter: blur(1000px);
}
.tradi-circle-3 {
  background: rgb(35, 64, 109, .2);
  width: 80vw;
  height: 80vw;
  left: -50%;
  top: 50%;
  transform: translate(30%, -50%);
  filter: blur(1000px);
}

.relative {
  position: relative;
}

.mask {
  -webkit-mask-image: url(/public/assets/mask.svg);
  mask-image: url(/public/assets/mask.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-size: cover;
}

.lines {
  overflow: hidden;
}



#canvas-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  z-index: 1000000;
  right: 0;
  /* top: 80%; */
  top: 0;
}

canvas {
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: block;

}

.p-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  flex-direction: column;
  background: #101A2A;
  position: relative;
}

.p-404 h1 {
  font-size: 100px;
  font-family: var(--bold);
  line-height: 120%;
}

.p-404 * {
  color: #fff;
}

.circle-404 {
  border-radius: 78rem;
  background: rgba(0, 104, 255, 0.30);
  filter: blur(444px);
  width: 78rem;
  height: 78rem;
  bottom: -60%;
  left: 50%;
  z-index: 0;
  position: absolute;
  transform: translate(-50%,0);
}

.p-404__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.p-404__content .link {
  margin-top: 10px;
}

.orthodontie3d {
  height: 100vh;
  max-height: none;
}

/* .orthodontie3d-infos-scroll {
  position: absolute;
  bottom: 8%;
  left: 0;
  right: 0;
text-align: center;
opacity: 0;
} */


.orthodontie3d-infos-scroll {
  position: absolute;
  right: 8%;
  text-align: right;
  opacity: 0;
  max-width: 40%;
}