/*****************************************************************************/ /* site title */ @font-face { font-family: Montserrat-Light; font-weight: 100; src: url(../font/Montserrat/Montserrat-Thin.ttf); } #site-title { --color-blue: #0E26B1; display: flex; font-family: Montserrat-Light, sans-serif; font-size: 14vw; font-weight: 100; width: 100%; margin: 0px auto; text-align: center; text-transform: uppercase; background-color: var(--color-blue); padding: 40px 10px; } @media screen and (min-width: 1100px) { #site-title { font-size: 9.0rem; } } #site-title div:nth-child(odd) { transform: translateY(15%); } #site-title div:nth-child(even) { transform: translateY(-15%); } #site-title:hover div { transform: translateY(0); } /* after hover to avoid transition on page load */ #site-title div { transition: transform .3s ease-in-out; } /* #site-title::before { */ /* content: ''; */ /* height: 5px; */ /* width: 100%; */ /* background-color: var(--color-white); */ /* } */ /*****************************************************************************/ /* solgan */ .slogan { margin: 0 auto 50px auto; padding: 50px 20px; background: black; color: red; text-transform: uppercase; font-family: Montserrat, sans-serif; font-weight: bold; font-style: italic; font-size: 2rem; letter-spacing: 10px; } @media screen and (min-width: 600px) { .slogan { font-size: 2.3rem; padding: 50px 70px; } } .slogan-row { display: flex; justify-content: space-between; } .slogan-row:first-child { margin-bottom: 20px; } .slogan:hover .slogan-row { transition: 0.5s; justify-content: center; } /*****************************************************************************/ /* links */ .links { display: flex; justify-content: space-between; max-width: 350px; margin: 10px auto 40px auto; } .links a.links-item { display: block; background-color: var(--color-dark); padding: 5px 15px; border-radius: 10px; } .links a.links-item img { height: 30px; width: 30px; filter: grayscale(1) invert(1) brightness(200%); } .links-item:hover { filter: invert(1); }