/*--------------------------------------------------------*/ /* FONTS /*--------------------------------------------------------*/ /* roboto-300 - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300; src: local('Roboto Light'), local('Roboto-Light'), url('../fonts/roboto-v18-latin-300.woff2') format('woff2'), url('../fonts/roboto-v18-latin-300.woff') format('woff'); } /* roboto-regular - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto-v18-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v18-latin-regular.woff') format('woff'); } /* roboto-italic - latin */ @font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; src: local('Roboto Italic'), local('Roboto-Italic'), url('../fonts/roboto-v18-latin-italic.woff2') format('woff2'), url('../fonts/roboto-v18-latin-italic.woff') format('woff'); } /* roboto-700 - latin */ @font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto-v18-latin-700.woff2') format('woff2'), url('../fonts/roboto-v18-latin-700.woff') format('woff'); } /* oleo-script-regular - latin */ @font-face { font-family: 'Oleo Script'; font-style: normal; font-weight: 400; src: local('Oleo Script'), local('OleoScript-Regular'), url('../fonts/oleo-script-v7-latin-regular.woff2') format('woff2'), url('../fonts/oleo-script-v7-latin-regular.woff') format('woff'); } /* oleo-script-700 - latin */ @font-face { font-family: 'Oleo Script'; font-style: normal; font-weight: 700; src: local('Oleo Script Bold'), local('OleoScript-Bold'), url('../fonts/oleo-script-v7-latin-700.woff2') format('woff2'), url('../fonts/oleo-script-v7-latin-700.woff') format('woff'); } /*--------------------------------------------------------*/ /* GENERAL RULES /*--------------------------------------------------------*/ * { box-sizing: border-box; padding: 0; margin: 0; } html, body { font-family: "Roboto", serif; font-weight: 300; line-height: 180%; color: #000000; font-size: 18px; } body { background-color: #FFFFFF; } a, a:hover, a:active, a:visited { color: #FFAAAA; text-decoration: none; } /*--------------------------------------------------------*/ @media only screen and (max-width: 480px) { html { font-size: 16px; } } /*--------------------------------------------------------*/ /* HEADER /*--------------------------------------------------------*/ #main-header { height: 460px; position: relative; background: #FFFFFF; } #main-header-background { height: 100%; width: 100%; background-image: url("../img/header/background.jpg"); background-size: cover; background-repeat: no-repeat; z-index: 500; } #main-header-title { height: 80%; width: 80%; position: absolute; top: 30px; left: 10%; z-index: 1000; } /*--------------------------------------------------------*/ /* @media only screen and (max-width: 1200px) { #main-header { height: 650px; } } @media only screen and (max-width: 880px) { #main-header { height: 500px; } #main-header-title { height: 60%; width: 60%; left: 20%; top: 20px; } } @media only screen and (max-width: 480px) { #main-header { height: 350px; } #main-header-title { height: 75%; width: 75%; } } @media only screen and (max-width: 360px) { #main-header { height: 300px; } #main-header-title { height: 70%; width: 70%; left: 15%; top: 5%; } } */ /*--------------------------------------------------------*/ /* CONTENT /*--------------------------------------------------------*/ section { max-width: 960px; margin: 0 0 100px calc(50% - 480px); padding: 0 60px; text-align: justify; } section h2 { margin: 0 0 25px 0; padding: 15px 0; color: #FFFFFF; font-family: "Oleo script", "Roboto", sans-serif; font-size: 4rem; font-weight: 300; text-align: center; word-wrap: break-word; hyphens: none; } /*section.red { color: #803339; }*/ section.red h2 { color: #FF6673; } /* section.orange { color: #805333; } */ section.orange h2 { color: #FFA666; } /* section.green { color: #5A8039; } */ section.green h2 { color: #A2E667; } /* section.blue { color: #396680; } */ section.blue h2 { color: #73CCFF; } /* section.purple { color: #80396E; } */ section.purple h2 { color: #FF73DC; }, section p { padding: 0 0 20px 0; font-size: 1rem; } section p.stand-out { font-style: italic; text-align: center; } /*--------------------------------------------------------*/ @media only screen and (max-width: 880px) { section { width: 100%; margin: 0 auto 100px auto; padding: 0 60px; } section h2 { font-size: 3rem; } } @media only screen and (max-width: 480px) { section { padding: 0 30px; } } @media only screen and (max-width: 360px) { section h2 { font-size: 2.2rem; } } /*--------------------------------------------------------*/ /* BUTTONS /*--------------------------------------------------------*/ .button { display: block; width: 80%; margin: 20px auto 0 auto; padding: 15px 20px; background-color: rgba(255, 102, 115, 0.1); border: 2px solid #FF6673; color: #FF6673; font-size: 1.4rem; font-weight: 400; text-transform: uppercase; text-align: center; line-height: 32px; } .button:hover { background-color: rgba(255, 102, 115, 0.2); } .button img { height: 32px; width: 32px; margin: 0 5px; } .button > * { vertical-align: middle; } /*--------------------------------------------------------*/ @media only screen and (max-width: 480px) { .button { width: 100%; padding: 10px 15px; font-size: 1.1rem; line-height: 24px; } .button img { height: 24px; width: 24px; } } /*--------------------------------------------------------*/ /* LOCATION /*--------------------------------------------------------*/ #mailing-address { font-size: 1.5rem; text-align: center; } #mailing-address img { width: 32px; height: 32px; vertical-align: bottom; } #interactive-map { width: 100%; margin: 0 0 20px 0; border: none; border-radius: 10px; } #public-transport-info { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; margin: 0 0 0 -100px; font-size: 1.5rem; font-weight: 300; line-height: 48px; vertical-align: middle; white-space: nowrap; } #public-transport-info > * { margin: 5px; justify-self: left; } #public-transport-info img { width: 48px; height: 48px; margin: 0 5px 0 0; vertical-align: bottom; } #transport-metro-icon, #transport-metro-stop, #transport-bus-icon, #transport-bus-stop { grid-row: 1; } #transport-rer-icon, #transport-rer-stop, #transport-noctilien-icon, #transport-noctilien-stop { grid-row: 2; } #transport-metro-icon, #transport-rer-icon { grid-column: 1; justify-self: end; } #transport-metro-stop, #transport-rer-stop { grid-column: 2; } #transport-bus-icon, #transport-noctilien-icon { grid-column: 3; justify-self: end; } #transport-bus-stop, #transport-noctilien-stop { grid-column: 4; } /*--------------------------------------------------------*/ @media only screen and (max-width: 880px) { #public-transport-info { display: grid; grid-template-columns: 4fr 6fr; grid-template-rows: 1fr 1fr 1fr 1fr; align-items: center; margin: 0; line-height: 48px; } #transport-metro-icon, #transport-metro-stop { grid-row: 1; } #transport-bus-icon, #transport-bus-stop { grid-row: 2; } #transport-rer-icon, #transport-rer-stop { grid-row: 3; } #transport-noctilien-icon, #transport-noctilien-stop { grid-row: 4; } #transport-metro-icon, #transport-rer-icon, #transport-bus-icon, #transport-noctilien-icon { grid-column: 1; justify-self: end; } #transport-metro-stop, #transport-rer-stop, #transport-bus-stop, #transport-noctilien-stop { grid-column: 2; } } @media only screen and (max-width: 580px) { #public-transport-info { line-height: 32px; } } @media only screen and (max-width: 480px) { #mailing-address { font-size: 1.1rem; } #public-transport-info { font-size: 1.1rem; } #public-transport-info img { width: 32px; height: 32px; } } @media only screen and (max-width: 320px) { #public-transport-info img { display: block; } } /*--------------------------------------------------------*/ /* SPONSORS /*--------------------------------------------------------*/ #sponsors { text-align: center; } #sponsors img { height: 100px; object-fit: cover; margin: 20px; } #sponsors img.sponsor-disc { height: 155px; } /*--------------------------------------------------------*/ @media only screen and (max-width: 480px) { #sponsors img { height: 40px; margin: 5px; } #sponsors img.sponsor-disc { height: 60px; } } /*--------------------------------------------------------*/ /* CONTACT /*--------------------------------------------------------*/ #contact-email { font-family: monospace; font-size: 1.5rem; text-align: center; word-wrap: break-word; } #contact-email img { width: 32px; height: 32px; vertical-align: bottom; } /*--------------------------------------------------------*/ @media only screen and (max-width: 480px) { #contact-email { font-size: 0.9rem; } #contact-email img { display: none; } }