@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;700&display=swap'); @import url('style.dark.css'); :root { --info-height: 40px; --size: 100px; --columns: 3; } html, body { width: 100%; height: 100%; } body { font-family: 'Geologica', sans-serif; text-align: center; font-weight: 700; margin: 0; } #top-bar { background-color: #a4aaff; text-align: center; position: fixed; color: #fff; z-index: 1; width: 100%; margin: 0; line-height: var(--info-height); height: var(--info-height); } #content { display: flex; align-items: stretch; flex-direction: row; height: 100%; width: 100%; } #content>* { overflow-y: auto; display: flex; align-items: center; flex-direction: column; color: #000; transition: ease-in-out 0.3s; } #content>div { margin-top: var(--info-height); } #content>*[data-closed="true"] { width: 20%; cursor: pointer; background-color: #ffd9a4; } #content>*[data-closed="true"] * { filter: grayscale(); } #content>*[data-closed="false"] { width: calc(100% - calc((var(--columns) - 1) * 20%)) } a { color: #000; text-decoration-color: #000; display: inline-block; transition: ease-in 0.2s; } #box { z-index: 1; opacity: 0; border-radius: 50%; width: var(--size); height: var(--size); display: block; cursor: pointer; position: absolute; background-color: #000; background-size: contain; background-repeat: no-repeat; transition: ease-in 0.2s; animation: toRight linear 6.8s infinite alternate, bounce linear 17s infinite alternate; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5); } #box p { color: #fff; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } #age { color: #3b3b3b; } button { border: none; padding: 10px; border-radius: 10px; background-color: rgb(96, 77, 199); font-family: 'Geologica', sans-serif; font-weight: 400; transition: ease-in 0.2s; color: #fff; } button:hover { background-color: rgba(96, 77, 199, 0.6); } button a { color: #fff; text-decoration: none; } .social { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; color: #fff; font-weight: 400; border-radius: 10px; padding: 0 10px 0 10px; background-color: #a4aaff; transition: ease-in 0.2s; font-family: 'Geologica', sans-serif; } .social:hover { background-color: #b5baff; } .social p { color: #000; margin: 10px 0 10px 0; } .social img { width: auto; height: 20px; margin-right: 10px; } .social, button { margin-bottom: 5px; } #points span { color: #6c3877; font-size: 125%; } #projects { display: flex; flex-flow: row wrap; justify-content: center; text-decoration: none; align-items: center; margin-top: 20px; } .project-card { display: flex; align-items: center; flex-direction: column; justify-content: center; text-decoration: none; border: 1px solid #000; background-color: rgb(185, 175, 255); border-radius: 10px; transition: ease-in 0.2s; position: relative; cursor: pointer; margin: 10px; } .project-card img { border-radius: 10px; height: 200px; margin: 0; } .project-card img[data-abandoned] { filter: grayscale(); } .project-card .description { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } .project-card .description * { transition: ease-in 0.2s; } .project-card .description * { background-color: #fff; border-radius: 5px; padding: 5px; margin: 10px; color: #000; } .project-card:hover>.description *:not(a) { opacity: 0; } .accordion { width: 100%; background-color: #ffd9a4; padding: 10px 0 10px 0; cursor: pointer; transition: ease-in 0.2s; } .accordion.active, .accordion:hover { background-color: #ffb752; } .accordion p { margin: 0; } .accordion>p::after { content: '▼'; margin-left: 5px; } .accordion.active>p::after { content: '▲'; } .accordion-content { display: none; padding: 10px 0 10px 0; border-radius: 10px; max-height: 0; overflow: hidden; transition: max-height .2s ease-in-out; } .accordion-content > *:is(ol, ul) { list-style-type: none; } .accordion-content > *:is(ol, ul) li::before { content: '•'; margin: 0 5px 0 5px; } .accordion.active>.accordion-content { display: block; } /* ANIMATIONS */ @keyframes bounce { 0% { top: 0; } 50% { top: calc(100% - var(--size)); } 100% { top: 0; } } @keyframes toRight { 0% { left: 0; } 100% { left: calc(100% - var(--size)); } } @media screen and (max-width: 798px) { #projects { flex-direction: column; } #content { flex-direction: column; height: unset; } #content>* { padding: 0; } #socials { display: flex; flex-direction: column; justify-content: center; } #box { display: none !important; } #content>*[data-closed="true"] { width: auto; cursor: auto; background-color: unset; } #content>*[data-closed="true"] * { filter: none; } #content>*[data-closed="false"] { width: 100%; } #top-bar { line-height: normal; } body.dark #content>* { color: #fff; } body.dark #content>*[data-closed="true"] #age { color: unset; } }