/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* END OF RESET */ /*edit variable here*/ :root{ --menu_h: 70px; --base_padding:20px; --hover_color-menu: #fae5d4; --menu-font-size : 3em; } body{ font-family: 'courier_primeregular'; background-size:cover; min-height:100vh; font-size:10px; height:auto; } nav{ position: fixed; width: 100%; z-index: 1000; } #menu #topBtn{ height:var(--menu_h); width:100%; background:#fff; position: relative; border-bottom: solid 3px var(--hover_color-menu) } #menu #topBtn { display: grid; grid-template-columns: 9fr 1fr; grid-template-rows: 1fr; min-height: 100%; /*! align-self: center; */ } #menu #topBtn div{ align-self: center; padding:var(--base_padding); font-size:var(--menu-font-size); } #menu #topBtn div:last-of-type{ text-align: center; } .open{ height:calc(var(--menu_h)) !important; border: solid 3px var(--hover_color-menu)!important; } .active{ height:calc(var(--menu_h)) !important; border: solid 3px var(--hover_color-menu)!important; } #menu ul{ width:100%; background: #fff; line-height: var(--menu_h); transition: all ease 0.3s; height: 0; //overflow: hidden; } #menu ul li{ box-sizing: border-box; padding:calc(var(--base_padding)-6); height:0; border: solid 0px var(--hover_color-menu); background: #fff; font-size:var(--menu-font-size); overflow: hidden; transition: all ease 0.3s; } #menu ul li span{ width: 100px; display:block; padding: 0 20px 0 15px; } #menu ul li span img{ width: 20px; display:inline-block; //padding: 0 20px 0 15px; } #menu ul li h3, #menu ul li span{ display: inline; } #menu ul li:hover{ background:var(--hover_color-menu); } #content{ position: absolute; top:0px; background:url('img/gradient-back.svg') no-repeat center center; background-size: cover; background-attachment: fixed; min-height: 100vh; /*! z-index: -1; */ } .picto{ width: 250px; height: 250px; position: absolute; top:250px; left:450px; z-index: 0; } @keyframes pulse { 0% { fill: #FFF33B; } 50% { fill: #FF4136; } 100% { fill: #FFF33B; } } .picto svg{ animation: pulse 25s infinite; /*! fill:yellow; */ } #logo{ position: absolute; width:150px; height:auto; top:calc(var(--menu_h)*2); left:var(--menu_h); z-index: 500; } .wrapper{ padding-top:150px; width:60%; margin:auto; z-index:100; position: relative; } .wrapper h1{ font-size: 6em; padding-bottom: 0.5em; font-family: 'script12_btroman'; } .wrapper p{ font-size: 2em; } .wrapper .gal{ margin: 3em 0 3em 0; display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap:3em; } .wrapper .gal .gal-img img{ max-width: 100%; height:auto; }