/* Custom mario font definition : */ @font-face{ font-family: "Mario Extended"; src: url("../fonts/MarioFontExtended.otf") format("opentype"); } *, *::before, *::after { box-sizing: border-box; } html { font-size: 20px; } body { font-family: 'Mario Extended', sans-serif; background-color: #33A8FF; font-size: 1rem; padding: 0; margin: 0; } main { text-align: center; height: 100%; } a.link { text-decoration: none; color: #FFDC00; -webkit-text-stroke: 1px black; } a.link:hover { color: white; -webkit-text-stroke: 1px white; } a.linkmail { font-family: arial, sans-serif; font-weight: bold; text-decoration: none; color: #FFDC00; } a.linkmail:hover { color: white; -webkit-text-stroke: 1px white; } /** START BOX JAUNE **/ .box-jaune { display: inline-block; position: relative; padding: 10px; margin: 40px 10vw 0; font-size: 2.5px; background-color: #efd21f; border-top: solid 2em #fbf322; border-left: solid 2em #a29013; border-right: solid 2em #f7e31c; border-bottom: solid 2em #73590b; clip-path: polygon( 0 2.00em,1em 1em,2.00em 0, calc(100% - 2.00em) 0,calc(100% - 1em) 1em,100% 2.00em, 100% calc(100% - 2.00em),calc(100% - 1em) calc(100% - 1em),calc(100% - 2.00em) 100%, 2.00em 100%,1em calc(100% - 1em),0 calc(100% - 2.00em) ); } .corners-top::before { top: -2em; left: -2em; background-color: #bfa018; } .corners-top::after { top: -2em; right: -2em; background-color: #fbfa87; } .corners-bottom::before { bottom: -1.9em; left: -2em; background-color: #44350d; } .corners-bottom::after { bottom: -1.9em; right: -2em; background-color: #967912; } .corners::before, .corners:after { content:""; position: absolute; display:block; width: 2em; height: 2em; z-index: 2; } .box-jaune .title { padding: 3vw 4.5vw; color: black; font-size: 1.5rem; } .circles-top { top: 3em; } .circles-bottom { bottom: 3em; } .circles::after, .circles::before { content: ""; position: absolute; display: block; width: 2em; height: 2em; top: inherit; bottom: inherit; border-radius: 100%; background: black; opacity: .9; } .circles::before { left: 3em; } .circles::after { right: 3em; } /** END BOX JAUNE **/ .menu_space_bottom { position: sticky; width: 100%; opacity: 0; left: 0; bottom: 0; padding: 0; margin: 0; } footer { display: block; background-color: rgba(255,255,255,0.3); width: 80%; max-width: 800px; margin-top: 30px; margin-left: auto; margin-right: auto; padding: 50px; font-size: 1rem; color: black; } /* general purpose css */ ul { padding: 0; } li { list-style: none; } h1, h2, h3, h4, h5, h6 { font-weight: unset; } section { overflow: hidden; max-width: 1000px; } #main_content { padding-top: 20px; }