#header { -moz-align-items: center; -webkit-align-items: center; -ms-align-items: center; align-items: center; display: -moz-flex; display: -webkit-flex; display: -ms-flex; display: flex; -moz-justify-content: space-between; -webkit-justify-content: space-between; -ms-justify-content: space-between; justify-content: space-between; background: black; color: rgba(255, 255, 255, 0.5); cursor: default; height: 3.25rem; left: 0; line-height: 3.25rem; position: fixed; top: 0; width: 100%; z-index: 10001; } #header > .logo { color: #ffffff; font-size: 1rem; font-weight: 600; height: inherit; line-height: inherit; padding: 0 1.25rem; text-decoration: none; } #header > nav > a { color: inherit; display: inline-block; padding: 0 0.75rem; text-decoration: none; } #header > nav > a:hover { color: #ffffff; } #header > nav > a[href="#menu"] { text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } #header > nav > a[href="#menu"]:before { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-family: FontAwesome; font-style: normal; font-weight: normal; text-transform: none !important; } #header > nav > a[href="#menu"]:before { content: '\f0c9'; margin: 0 0.5rem 0 0; } #header > nav > a + a[href="#menu"]:last-child { border-left: solid 1px rgba(255, 255, 255, 0.25); margin-left: 0.5rem; padding-left: 1.25rem; } #header > nav > a:last-child { padding-right: 1.25rem; } @media screen and (max-width: 736px) { #header > nav > a { padding: 0 0.5rem; } #header > nav > a + a[href="#menu"]:last-child { margin-left: 0.25rem; padding-left: 1rem; } #header > nav > a:last-child { padding-right: 1rem; } } @media screen and (max-width: 980px) { body { padding-top: 44px; } #header { height: 44px; line-height: 44px; } } @media screen and (max-width: 480px) { #header { min-width: 320px; } } #signature { position: absolute; top: 50%; left: 50%; margin-right: -50%; transform: translate(-50%, -50%); height: 80%; width: 200px; margin-left: 10px; } #readBlog { margin: 2em; padding: .5em 3em; font-size: 2em; color: white; border: 3px solid white; cursor: pointer; transition: 0.7s; -webkit-transition: 0.7s; z-index: 2; } #readBlog:hover { background-color: white; color: black; box-shadow: inset 0 0 0 1px #ffffff; } #blog { position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; flex: 1; top: 0; z-index: 3; transition: 1s; -webkit-transition: 1s; color: black; font-family: 'Dosis', sans-serif; } .blogCard { position: relative; display: flex; flex: 1; flex-direction: column; margin: 5em; padding: 1em; background-color: #f7f7f9; max-width: 900px; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); transition: all 0.3s cubic-bezier(.25,.8,.25,1); cursor: pointer; } .blogCard:hover { box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); } .blogCard > .title { font-size: 1.5em; font-weight: 500; } .fa { margin-right: .5em; } .blogCard > .info { display: flex; flex-direction: row; align-items: center; color: grey; font-size: 0.8em; margin-bottom: 1em; } .info > p { margin: 0 2em 0 0; } .blogCard > .pic { flex: 1; height: 100%; width: 100%; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19); } .blogCard > .content { margin: 0.5em 0; color: #7f8082; font-size: 0.9em; } .content > .readMore { text-align: center; border: 1px solid #234da0; padding: .5em 2em; color: #234da0; margin: 0; transition: .5s; -webkit-transition: .5s; cursor: pointer; } .content > .readMore:hover { background-color: #234da0; color: white; } #goToMain { position: fixed; top: 3.25rem; right: 0; padding: .5em; color: red; font-size: 2em; cursor: pointer; z-index: 5; }