/* $breakpoint-value-map-example: ( "default": 32px, "mobile": 16px, "desktop": 26px, )!default; */ :root { --text: light-dark(#000, #FFF); --emphased-text: light-dark(#FFF, #000); --background: light-dark(hsl(40, 10%, 100%), hsl(40, 10%, 3%)); --background-accent: light-dark(hsl(168, 10%, 100%), hsl(168, 10%, 3%)); --farther: light-dark(hsl(40, 20%, 94%), hsl(40, 20%, 6%)); --farther-accent: light-dark(hsl(168, 20%, 94%), hsl(168, 20%, 6%)); --far: light-dark(hsl(40, 30%, 88%), hsl(40, 30%, 12%)); --far-accent: light-dark(hsl(168, 30%, 88%), hsl(168, 30%, 12%)); --middle-dark: light-dark(hsl(40, 40%, 65%), hsl(40, 40%, 35%)); --middle-dark-accent: light-dark(hsl(168, 40%, 65%), hsl(168, 40%, 35%)); --middle-neutral: light-dark(hsl(40, 50%, 50%), hsl(40, 50%, 50%)); --middle-neutral-accent: light-dark(hsl(168, 50%, 50%), hsl(168, 50%, 50%)); --middle-colorful: light-dark(hsl(40, 60%, 35%), hsl(40, 60%, 65%)); --middle-colorful-accent: light-dark(hsl(168, 60%, 35%), hsl(168, 60%, 65%)); --close: light-dark(hsl(40, 70%, 12%), hsl(40, 70%, 88%)); --close-accent: light-dark(hsl(168, 70%, 12%), hsl(168, 70%, 88%)); --closer: light-dark(hsl(40, 80%, 6%), hsl(40, 80%, 94%)); --closer-accent: light-dark(hsl(168, 80%, 6%), hsl(168, 80%, 94%)); --foreground: light-dark(hsl(40, 90%, 3%), hsl(40, 90%, 100%)); --foreground-accent: light-dark(hsl(168, 90%, 3%), hsl(168, 90%, 100%)); } *, *::before, *::after { box-sizing: border-box; margin: 0px; padding: 0px; } .c-circle, .c-square { padding-bottom: 100%; } .c-circle { border-radius: 100%; } .c-forms-art { position: relative; padding-bottom: 100%; } .c-forms-art .c-square, .c-forms-art .c-circle { position: absolute; width: 100%; } .c-forms-art .c-circle { backdrop-filter: invert(1); } .c-forms-art .c-circle:nth-of-type(1) { left: 25%; top: 25%; } .c-forms-art .c-circle:nth-of-type(2) { left: -25%; top: -25%; } body { width: 100%; height: 100vh; font-family: "Comfortaa", cursive; background-color: var(--background); color: var(--text); } h1, h2, h3, h4, h5 { margin-top: 2rem; } .u-width-half-screen { width: min(50vw, 50vh); } .u-width-three-fourth { width: min(75vw, 75vh); } .u-bubbled { padding: 50px; } .u-bubbled-v { padding: 50px 0px; } .u-bubbled-h { padding: 0px 50px; } .u-framed { margin: 50px; } .u-framed-v { margin: 50px 0px; } .u-framed-h { margin: 0px 50px; } .lobby { display: flex; flex-direction: column; align-items: center; justify-content: center; color: black; border: 3px solid hsl(0, 0%, 100%); outline: 3px solid black; max-width: calc(100% - 48px); max-height: calc(100% - 48px); width: 100%; z-index: 2; text-shadow: 2px 2px 5px white, -2px -2px 5px white; resize: both; overflow: auto; position: relative; } .lobby > * { width: 100%; height: 100%; overflow: auto; } .lobby > * > * > * { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 12px; height: 100%; } .lobby > * > * > *::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; filter: blur(5px); background-color: rgba(207, 225, 230, 0.7); backdrop-filter: invert(1) blur(1px); z-index: -1; } h1 { margin: 0px; padding: 0px; margin-bottom: 24px; } .c-button-holder { display: flex; flex-wrap: wrap; justify-content: center; } .c-button-holder a { display: flex; justify-content: center; align-items: center; min-height: 48px; border: 2px solid black; padding: 12px 24px; margin: 12px; color: black; text-align: center; text-transform: uppercase; font-weight: bold; transition: all 0.3s ease-in-out; box-shadow: 2px 2px 5px white, -2px -2px 5px white; background-color: rgba(255, 255, 255, 0.5); text-decoration: none; } @media screen and (max-width: 475px) { .c-button-holder a { justify-content: flex-start; width: 100%; } } @container nested (max-width: 475px) { .c-button-holder a { justify-content: flex-start; width: 100%; } } .c-button-holder a:hover { background-color: white; } button, .button { padding: 0px 12px; height: 48px; font-family: "Comfortaa", cursive; font-weight: bold; background-color: hsl(0, 0%, 100%); color: hsl(0, 0%, 0%); border: 2px solid hsl(0, 0%, 0%); } button:hover, button:focus-within, .button:hover, .button:focus-within { background-color: hsl(0, 0%, 0%); color: hsl(0, 0%, 100%); border: 2px solid hsl(0, 0%, 100%); } .l-horizontal { display: flex; flex-direction: row; } .l-horizontal.u-center-content--vertical { align-items: center; } .l-horizontal.u-center-content--horizontal { justify-content: center; } .l-vertical { display: flex; flex-direction: column; } .l-vertical.u-center-content--vertical { justify-content: center; } .l-vertical.u-center-content--horizontal { align-items: center; } .u-center-content { justify-content: center; align-items: center; } .u-wrap { flex-wrap: wrap; } .u-space-between { justify-content: space-between; } .u-force-centered { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); } @media screen and (max-width: 600px) { .u-justify-end--mobile { justify-content: flex-end; } } @container container (max-width: 600px) { .u-justify-end--mobile { justify-content: flex-end; } } .u-no-overflow { max-height: 100%; max-width: 100%; overflow: hidden; } .c-nested-frame { position: relative; contain: layout inline-size style; container-type: inline-size; container-name: nested; } .seize-neuvieme { position: relative; width: 100%; height: 0px; padding-bottom: 56.25%; } .seize-neuvieme > :first-child:last-child { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; } .fit--parent { width: 100%; height: 100%; } .fit--screen { width: 100%; height: 100vh; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Light.ttf") format("truetype"); font-weight: 200; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Regular.ttf") format("truetype"); font-weight: normal; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; } @font-face { font-family: "Comfortaa"; src: url("/api/medias/fonts/Comfortaa/Comfortaa-Bold.ttf") format("truetype"); font-weight: bold; font-style: normal; } h1 img { height: 50px; } .icon { margin-right: 6px; }