:root { --blue: #1414FF; } body { background: linear-gradient(74deg, skyblue, pink 65%, salmon); padding: 0 12vw; font-size: 1em; font-family: serif, Cousine; } header { display: flex; justify-content: space-evenly; align-items: center; } h1::before, h1::after { content: " - "; } section h2 { font-style: italic; } a { color: black; text-decoration: none; } nav { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; position: relative; padding: default 3vw; height: 100%; } nav a, nav sep { display: inline-block; } nav sep { margin: auto 0; } .text-link::after { content: '<'; } .text-link::before { content: '>'; } section>span>p { padding-left: 30vw; } @media screen and (max-width: 600px) { body { padding: 10px 5vw; } section>span>p { padding-left: 10vw; } } section:nth-of-type(odd) { text-align: end; } section#presentation { display: flex; flex-direction: row-reverse; justify-content: end; height: 50vh; } #id-pic { height: auto; filter: drop-shadow(#ff7676 0 0 20px); transition: filter 1s ease-in; } #id-pic:hover { filter: drop-shadow(#ff7676 0 0 50px); } h1, h2 { transition-property: text-decoration; transition-duration: 0.7s; transition-timing-function: ease-out; } h1:hover,h2:hover { text-decoration: underline; } #timeline { margin-top: 20px; position: relative; } #timeline::before { position: absolute; content: ''; width: 4px; height: 100%; background: #add8e6; left: 14px; border: 1px solid grey; box-shadow: 1px 1px 1px #696969; border-radius: 3px; } .timestamp { position: relative; padding: 5px 15px 5px 35px; background-color: salmon; display: inline-block; width: auto; border-radius: 40px; border: 1px solid pink; margin-bottom: 30px; } .timestamp::before { position: absolute; content: ''; width: 1em; height: 1em; background: green; border-radius: 100%; border: 1px solid #8db600; left: 7px; } .events { padding-left:35px; display:flex; flex-direction: row; justify-content: start; align-items: start; position: relative; margin-bottom: 30px; } .events::before { content: ''; position: absolute; width: 30px; height: 0; border: 0.8px dashed red; top: 12px; left: 20px; } .events::after { content: ''; position: absolute; width: 10px; height: 10px; background: purple; top: 7px; left: 11px; border: 1px solid black; border-radius: 100%; } .event { position: relative; border-radius: 0 15px 0 15px; border: 1px solid black; transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; overflow: hidden; padding: 0; width: 25vw; margin: 0 10px; background-color: #fff1d060; box-shadow: 1px 1px black; } .event:hover { box-shadow: 2px 2px rgb(20, 20, 255); transform: translate(-2px, -2px); animation: 1s ease-in-out alternate infinite blue-shift; } .event p { margin: 1em; } .event a { color: #fff1d0; } .event h4 { margin: 0; padding: 1em 0.5em; padding-left: 2.5em; color: #fff1d0; background-color: salmon; border-bottom: 1px solid black; } #labels { position: absolute; right: 0; text-align: right; border-radius: 0 15px 0 15px; border: 1px solid black; padding: 1em; width: 10vw; background-color: #fff1d060; color: #fff1d0; } span.degree, .degree h4 { background-color: #960e29; } div.degree::before { content: ""; position: absolute; top: 1em; left: 1em; color: #fff1d0; } span.work, .work h4 { background-color: #960e6d; } div.work::before { content: "󰌢"; position: absolute; top: 1em; left: 1em; color: #fff1d0; } span.studies, .studies h4 { background-color: #93370e; } div.studies::before { content: ""; position: absolute; top: 1em; left: 1em; color: #fff1d0; } @keyframes blue-shift { from { box-shadow: 2px 2px rgb(20, 20, 255); } to { box-shadow: 2px 2px rgb(157, 157, 255); } } footer { font-size: small; text-align: right; } @font-face{ font-family:Cousine; src:url(./fonts/CousineNerdFont-Regular.ttf); }