:root { --lm-color: #309d66; --card-height: 550px; --cool-looking-gradient: linear-gradient(to right, #3ad559 0%, #606dc2 100%); } html, body { font-size: 13.5pt; font-family: 'Roboto', sans-serif; margin: 0; height: 100%; background-color: #dfdfdf; } nav { display: flex; flex-direction: row; justify-content: start; height: 100px; width: 100%; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 22px; user-select: none; z-index: 1; background: rgba(0,0,0,.6); box-shadow: inset 0 -2px 5px rgba(0,0,0,.5); } nav .logo { height: 100%; width: 300px; margin-left: 40px; } nav .links { margin-left: auto; margin-right: 60px; display: flex; flex-direction: row; justify-content: space-between; width: 400px; } nav .links a { font-size: 18px; font-weight: 700; letter-spacing: normal; line-height: 100px; text-align: center; color: #ffffff; text-decoration: none; transition: color 100ms; position: relative; } nav .links a:before, a:after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 2px; background-color: #7df372; } nav .links a:before { opacity: 0; transform: translateY(-8px); transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s; } nav .links a:after { opacity: 0; transform: translateY(4px); transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s; } nav .links a:hover:before, a:hover:after, a:focus:before, a:focus:after { opacity: 1; transform: translateY(0); } nav .links a:hover:before, a:focus:before { transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s; } nav .links a:hover:after, a:focus:after { transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s; } #wrapper{ height: 100%; width: 100%; display: flex; overflow: auto; flex-direction: column; } #banner { flex-shrink: 0; display: flex; flex-direction: column; height: 550px; width: 100%; background-image: url('../imgs/22.JPG'); background-repeat: no-repeat; background-position: 0 -295px; background-size: 100% auto; } .banner-container{ display: flex; height: 240px; margin: auto 0 auto 0; flex-direction: column; justify-content: center; margin-left: 200px; width: 650px; color: rgb(255, 255, 255); font-family: 'Source Sans Pro', sans-serif; border-style: solid; border-color: #ffffff; border-left-width: 0; border-right-width: 0; border-top-width: 1px; border-bottom-width: 1px; padding: 20px; background: rgba(0,0,0,.6); box-shadow: inset 0 -2px 5px rgba(0,0,0,.33); } .banner-container .header{ font-size: 15px; } .banner-container .title{ font-size: 40px; font-weight: 500; } .banner-container .buttons{ display: flex; flex-direction: row; font-size: 40px; font-weight: 500; align-self: flex-end; } .banner-container button { font-family: inherit; border: none; margin: 0 0 0 5px; text-decoration: none; background: none; color: #ffffff; font-size: 25px; cursor: pointer; text-align: center; line-height: 1.1; transition: 220ms all ease-in-out; border-style: solid; border-color: #717171; border-width: 1px; padding: 0.25em 0.75em; min-width: 10ch; min-height: 44px; } .banner-container button.highlight{ background: #309d6691; } .banner-container button:hover, .banner-container button:focus { background: var(--lm-color); } .banner-container button:focus { outline: 1px solid #fff; outline-offset: -4px; } .banner-container button:active { transform: scale(0.99); } .container{ flex-shrink: 0; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; } .info-cards{ max-width: 1280px; min-height: 500px; background: #f9f9f9; margin-top: -50px; display: flex; flex-direction: row; border-radius: 5px; } .card{ flex-shrink: 0; flex-grow: 1; display: flex; flex-direction: column; width: 318px; align-items: center; } .card.boarder{ border-right-style: solid; border-color: #d9d9d9; border-width: 1px; } .card .icon { flex-shrink: 0; color: var(--lm-color); color: rgb(255, 118, 7); margin-top: 50px; width: 70px; height: 70px; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; fill: none; } .card .title{ flex-shrink: 0; font-family: "Rubik", sans-serif; font-size: 21px; font-weight: 500; color: rgb(27, 26, 26); } .card p { font-family: "Roboto", sans-serif; font-weight: 400; color: rgb(81, 80, 80); margin: 20px; font-size: 14px; word-wrap: normal; line-height: 24px; text-align: center; } .coolLookingBox { background-color: #f5f5f5; background-image: linear-gradient(to bottom,#ffffff,#e6e6e6); background-repeat: repeat-x; border: 1px solid #cccccc; border-color: #e6e6e6 #e6e6e6 #bfbfbf; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border-bottom-color: #b3b3b3; border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); color: #333; display: block; font-size: 125%; font-style: normal; line-height: 20px; margin: 20px 0 0; padding: 10px 20px; text-align: center; text-decoration: none; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); } .coolLookingBox.mobile:before { content: 'Mobile: '; font-weight: bold; } .coolLookingBox.landline:before { content: 'Landline: '; font-weight: bold; } .coolLookingBox.email:before { content: 'E-Mail: '; font-weight: bold; } #map { height: 450px; width: 100%; margin: auto; } @media screen and (max-width: 1200px) { nav .blank { display: none; } } @media screen and (max-width: 1000px) { #content #banner #quickInfo{ display: none; } } @media screen and (max-width: 730px) { nav { height: auto; flex-direction: column; position: relative; } nav .logo { margin: auto; background-position: center; height: 65px; } nav .blank { display: none; } } @media screen and (max-width: 320px) { nav .links { flex-direction: column; } }