commit f150898554e34843052648a8e3717612c93623be Author: sairaj mote Date: Wed Jul 26 02:42:42 2023 +0530 Initial commit diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/README.md b/README.md new file mode 100644 index 0000000..58fdfad --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# capitalassetmanagement + diff --git a/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg b/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg new file mode 100644 index 0000000..10275dc Binary files /dev/null and b/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg differ diff --git a/assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg b/assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg new file mode 100644 index 0000000..770db2e Binary files /dev/null and b/assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg differ diff --git a/assets/hex-trim.svg b/assets/hex-trim.svg new file mode 100644 index 0000000..6671d4d --- /dev/null +++ b/assets/hex-trim.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/hex.svg b/assets/hex.svg new file mode 100644 index 0000000..7ccabc1 --- /dev/null +++ b/assets/hex.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/icon.svg b/assets/icon.svg new file mode 100644 index 0000000..0575ecf --- /dev/null +++ b/assets/icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..9d5f431 --- /dev/null +++ b/css/main.css @@ -0,0 +1,446 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; + font-family: "Poppins", sans-serif; +} + +:root { + font-size: clamp(1rem, 1.2vmax, 1.2rem); +} + +html, +body { + height: 100%; +} + +body { + --accent-color: #f8474d; + --secondary-color: #ffac2e; + --text-color: 20, 20, 20; + --foreground-color: 252, 253, 255; + --background-color: 241, 243, 248; + --danger-color: rgb(255, 75, 75); + --green: #1cad59; + --yellow: rgb(220, 165, 0); + color: rgba(var(--text-color), 1); + background-color: rgba(var(--foreground-color), 1); +} +body > * { + padding: 0 max(1rem, 6vw); +} + +body[data-theme=dark] { + --accent-color: #ff696e; + --secondary-color: #d60739; + --text-color: 220, 220, 220; + --foreground-color: 27, 28, 29; + --background-color: 21, 22, 22; + --danger-color: rgb(255, 106, 106); + --green: #00e676; + --yellow: rgb(255, 213, 5); +} + +h1 { + font-size: max(2rem, 4vw); +} + +h2 { + font-size: max(1.8rem, 3vw); +} + +h3 { + font-size: max(1.5rem, 2vw); +} + +h4 { + font-size: max(1.2rem, 1.3vw); +} + +a { + text-decoration: none; + color: var(--accent-color); +} +a:focus-visible { + box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset; +} + +p { + color: rgba(var(--text-color), 0.8); + max-width: 70ch; + line-height: 1.5; +} + +button, +.button { + display: inline-flex; + cursor: pointer; + border: none; + outline: none; + background: none; + font-size: 0.8rem; + font-weight: 700; + text-decoration: none; + text-transform: uppercase; + color: rgba(var(--text-color), 1); + background-color: rgba(var(--text-color), 0.1); + border-radius: 3rem; + letter-spacing: 0.05em; + padding: 0.5rem 1rem; +} + +.icon { + width: 1.2rem; + height: 1.2rem; + fill: rgba(var(--text-color), 0.9); +} + +.reveal { + display: flex; + overflow: hidden; +} +.reveal span { + opacity: 0; + transform-origin: left bottom; +} + +.move-in { + opacity: 0; +} + +header { + display: flex; + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + padding: 1rem; + -webkit-backdrop-filter: blur(0.5rem); + backdrop-filter: blur(0.5rem); +} + +#company_title { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 1rem; + padding-left: max(1rem, 6vw); +} + +section { + min-height: 80vh; + padding-top: 8vh; + padding-bottom: 8vh; +} + +.section-title { + display: flex; + flex-direction: column; + text-transform: uppercase; + letter-spacing: 0.02em; + margin-bottom: 3rem; + line-height: 1.1; +} +.section-title::after { + content: ""; + display: block; + width: 3rem; + height: 0.2rem; + background-color: var(--accent-color); + margin-top: 0.5rem; +} +.section-title h3 { + font-size: 2em; +} + +.colored-section { + background-color: var(--accent-color); + color: rgba(var(--foreground-color), 1); +} + +.fancy-border { + position: relative; +} +.fancy-border::before, .fancy-border::after { + position: absolute; + content: ""; + width: 100%; + height: 2rem; + left: 0; +} +.fancy-border--top::before { + background: url("../assets/triangle-up.svg"); + bottom: calc(100% - 0.04rem); + background-repeat: repeat-x; + background-size: 1.8rem; +} +.fancy-border--bottom::after { + top: calc(100% - 0.04rem); + background: url("../assets/triangle-down.svg"); + background-repeat: repeat-x; + background-size: 1.8rem; +} + +#hero_section { + position: relative; + display: flex; + flex-direction: column; + gap: 2rem; + justify-items: center; + justify-content: center; + height: calc(100vh - 5rem); + background: linear-gradient(rgba(var(--foreground-color), 0), rgba(var(--foreground-color), 0.8)), url("../assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg") no-repeat center/cover fixed; +} +#hero_section h1 { + margin-top: auto; +} +#hero_section p { + max-width: none; +} + +#team_members { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); + gap: 3rem 1.5rem; +} + +.team-member { + display: flex; + flex-direction: column; + text-align: center; + cursor: pointer; +} +.team-member__image-container { + display: grid; + margin-bottom: 1.2rem; + place-items: center; +} +.team-member__image-container > * { + grid-area: 1/1; +} +.team-member img { + -o-object-fit: cover; + object-fit: cover; + width: 100%; + -o-object-position: center; + object-position: center; + aspect-ratio: 1/1; + -webkit-mask: url("../assets/hex.svg") no-repeat center/contain; + mask: url("../assets/hex.svg") no-repeat center/contain; +} +.team-member__name { + font-weight: 700; + font-size: 1rem; + line-height: 1.2; +} +.team-member__title { + line-height: normal; + font-weight: 500; + font-size: 0.9rem; + margin-bottom: 1rem; +} +.team-member__button { + margin-top: auto; + padding: 0.5rem 1rem; + align-self: center; + background-color: rgba(var(--text-color), 0.1); + border-radius: 5rem; + text-transform: uppercase; + font-weight: 700; + font-size: 0.8rem; + letter-spacing: 0.05em; +} + +.fancy-list { + display: grid; + align-items: flex-start; +} +.fancy-list__item { + display: grid; + max-width: 42rem; + width: auto; + gap: 1rem 2rem; + grid-template-areas: "label title" "label description"; + padding-right: 0; + --stamp-size: 3.5rem; +} +.fancy-list__item:not(:last-of-type) .fancy-list__item__label-wrapper::after { + content: ""; + position: absolute; + width: 0.1rem; + height: calc(100% - var(--stamp-size) - 1rem); + top: calc(var(--stamp-size) + 0.5rem); + background-color: var(--accent-color); + z-index: -1; +} +.fancy-list__item__label-wrapper { + grid-area: label; + position: relative; + display: flex; + align-items: flex-start; + justify-content: center; + height: 100%; +} +.fancy-list__item__label { + display: flex; + align-items: center; + justify-content: center; + height: var(--stamp-size); + width: var(--stamp-size); + font-size: 1.5rem; + font-weight: 700; + color: var(--accent-color); + line-height: 1; + z-index: 2; + text-align: center; + background: url("../assets/hex.svg") no-repeat center/contain; +} +.fancy-list__item__title { + grid-area: title; + line-height: 1.4; +} +.fancy-list__item__title:last-child { + padding-bottom: 3rem; +} +.fancy-list__item__description { + grid-area: description; +} +.fancy-list__item__description:last-child { + padding-bottom: 3rem; +} + +#person_bio { + margin: auto; + border: none; + border-radius: 0.5rem; + padding: max(1rem, 2vw); + box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); + -webkit-animation: popup 0.3s forwards; + animation: popup 0.3s forwards; + width: min(100%, 48rem); + background-color: rgba(var(--foreground-color), 1); +} +#person_bio button { + padding: 0.5rem; + background-color: rgba(var(--text-color), 0.2); + border-radius: 5rem; + margin-bottom: 1.5rem; + position: -webkit-sticky; + position: sticky; + top: 0; + z-index: 1; + -webkit-backdrop-filter: blur(0.5rem); + backdrop-filter: blur(0.5rem); +} + +#person_bio_wrapper { + display: grid; + gap: 0.5rem 1.5rem; + grid-template-columns: min(16rem, 100%) 1fr; + grid-template-areas: "image name" "image title" "image bio"; + grid-template-rows: auto auto 1fr; +} + +#person__image { + grid-area: image; + width: 100%; + height: auto; + border-radius: 0.5rem; + -o-object-fit: cover; + object-fit: cover; + aspect-ratio: 3/4; +} + +#person__name { + grid-area: name; + font-size: 1.5rem; + font-weight: 500; + color: rgba(var(--text-color), 1); +} + +#person__title { + grid-area: title; + font-size: 1rem; + font-weight: 500; +} + +#person__bio { + grid-area: bio; + font-size: 1rem; + font-weight: 400; + color: rgba(var(--text-color), 0.8); + line-height: 1.5; + margin-top: 1rem; +} + +@-webkit-keyframes popup { + from { + opacity: 0; + transform: scale(1.1); + } + to { + opacity: 1; + transform: scale(1); + } +} + +@keyframes popup { + from { + opacity: 0; + transform: scale(1.1); + } + to { + opacity: 1; + transform: scale(1); + } +} +@media screen and (max-width: 40rem) { + #poc_images .poc-wrapper:nth-of-type(5) { + grid-area: 3/2/4/3; + } + #person_bio_wrapper { + grid-template-columns: 1fr; + grid-template-areas: "image" "name" "title" "bio"; + } + #person__image { + aspect-ratio: 1/1; + margin-bottom: 1.5rem; + } + .hide-on-small { + display: none !important; + } +} +@media screen and (min-width: 40rem) { + section { + padding: 8vw 12vw; + } + #team_members { + gap: 4vw; + grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); + } +} +@media (hover: hover) { + ::-webkit-scrollbar { + width: 0.5rem; + height: 0.5rem; + } + ::-webkit-scrollbar-thumb { + background: rgba(var(--text-color), 0.3); + border-radius: 1rem; + } + ::-webkit-scrollbar-thumb:hover { + background: rgba(var(--text-color), 0.5); + } + .interactive:hover { + background-color: rgba(var(--text-color), 0.06); + } +} +@supports (overflow: overlay) { + body { + overflow: overlay; + } +} +.hidden { + display: none !important; +} \ No newline at end of file diff --git a/css/main.min.css b/css/main.min.css new file mode 100644 index 0000000..6d54a78 --- /dev/null +++ b/css/main.min.css @@ -0,0 +1 @@ +*{padding:0;margin:0;box-sizing:border-box;font-family:"Poppins",sans-serif}:root{font-size:clamp(1rem,1.2vmax,1.2rem)}html,body{height:100%}body{--accent-color: #f8474d;--secondary-color: #ffac2e;--text-color: 20, 20, 20;--foreground-color: 252, 253, 255;--background-color: 241, 243, 248;--danger-color: rgb(255, 75, 75);--green: #1cad59;--yellow: rgb(220, 165, 0);color:rgba(var(--text-color), 1);background-color:rgba(var(--foreground-color), 1)}body>*{padding:0 max(1rem,6vw)}body[data-theme=dark]{--accent-color: #ff696e;--secondary-color: #d60739;--text-color: 220, 220, 220;--foreground-color: 27, 28, 29;--background-color: 21, 22, 22;--danger-color: rgb(255, 106, 106);--green: #00e676;--yellow: rgb(255, 213, 5)}h1{font-size:max(2rem,4vw)}h2{font-size:max(1.8rem,3vw)}h3{font-size:max(1.5rem,2vw)}h4{font-size:max(1.2rem,1.3vw)}a{text-decoration:none;color:var(--accent-color)}a:focus-visible{box-shadow:0 0 0 .1rem rgba(var(--text-color), 1) inset}p{color:rgba(var(--text-color), 0.8);max-width:70ch;line-height:1.5}button,.button{display:inline-flex;cursor:pointer;border:none;outline:none;background:none;font-size:.8rem;font-weight:700;text-decoration:none;text-transform:uppercase;color:rgba(var(--text-color), 1);background-color:rgba(var(--text-color), 0.1);border-radius:3rem;letter-spacing:.05em;padding:.5rem 1rem}.icon{width:1.2rem;height:1.2rem;fill:rgba(var(--text-color), 0.9)}.reveal{display:flex;overflow:hidden}.reveal span{opacity:0;transform-origin:left bottom}.move-in{opacity:0}header{display:flex;position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem;-webkit-backdrop-filter:blur(0.5rem);backdrop-filter:blur(0.5rem)}#company_title{display:flex;align-items:center;gap:.5rem;font-size:1rem;padding-left:max(1rem,6vw)}section{min-height:80vh;padding-top:8vh;padding-bottom:8vh}.section-title{display:flex;flex-direction:column;text-transform:uppercase;letter-spacing:.02em;margin-bottom:3rem;line-height:1.1}.section-title::after{content:"";display:block;width:3rem;height:.2rem;background-color:var(--accent-color);margin-top:.5rem}.section-title h3{font-size:2em}.colored-section{background-color:var(--accent-color);color:rgba(var(--foreground-color), 1)}.fancy-border{position:relative}.fancy-border::before,.fancy-border::after{position:absolute;content:"";width:100%;height:2rem;left:0}.fancy-border--top::before{background:url("../assets/triangle-up.svg");bottom:calc(100% - .04rem);background-repeat:repeat-x;background-size:1.8rem}.fancy-border--bottom::after{top:calc(100% - .04rem);background:url("../assets/triangle-down.svg");background-repeat:repeat-x;background-size:1.8rem}#hero_section{position:relative;display:flex;flex-direction:column;gap:2rem;justify-items:center;justify-content:center;height:calc(100vh - 5rem);background:linear-gradient(rgba(var(--foreground-color), 0), rgba(var(--foreground-color), 0.8)),url("../assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg") no-repeat center/cover fixed}#hero_section h1{margin-top:auto}#hero_section p{max-width:none}#team_members{display:grid;grid-template-columns:repeat(auto-fill, minmax(8rem, 1fr));gap:3rem 1.5rem}.team-member{display:flex;flex-direction:column;text-align:center;cursor:pointer}.team-member__image-container{display:grid;margin-bottom:1.2rem;place-items:center}.team-member__image-container>*{grid-area:1/1}.team-member img{-o-object-fit:cover;object-fit:cover;width:100%;-o-object-position:center;object-position:center;aspect-ratio:1/1;-webkit-mask:url("../assets/hex.svg") no-repeat center/contain;mask:url("../assets/hex.svg") no-repeat center/contain}.team-member__name{font-weight:700;font-size:1rem;line-height:1.2}.team-member__title{line-height:normal;font-weight:500;font-size:.9rem;margin-bottom:1rem}.team-member__button{margin-top:auto;padding:.5rem 1rem;align-self:center;background-color:rgba(var(--text-color), 0.1);border-radius:5rem;text-transform:uppercase;font-weight:700;font-size:.8rem;letter-spacing:.05em}.fancy-list{display:grid;align-items:flex-start}.fancy-list__item{display:grid;max-width:42rem;width:auto;gap:1rem 2rem;grid-template-areas:"label title" "label description";padding-right:0;--stamp-size: 3.5rem}.fancy-list__item:not(:last-of-type) .fancy-list__item__label-wrapper::after{content:"";position:absolute;width:.1rem;height:calc(100% - var(--stamp-size) - 1rem);top:calc(var(--stamp-size) + .5rem);background-color:var(--accent-color);z-index:-1}.fancy-list__item__label-wrapper{grid-area:label;position:relative;display:flex;align-items:flex-start;justify-content:center;height:100%}.fancy-list__item__label{display:flex;align-items:center;justify-content:center;height:var(--stamp-size);width:var(--stamp-size);font-size:1.5rem;font-weight:700;color:var(--accent-color);line-height:1;z-index:2;text-align:center;background:url("../assets/hex.svg") no-repeat center/contain}.fancy-list__item__title{grid-area:title;line-height:1.4}.fancy-list__item__title:last-child{padding-bottom:3rem}.fancy-list__item__description{grid-area:description}.fancy-list__item__description:last-child{padding-bottom:3rem}#person_bio{margin:auto;border:none;border-radius:.5rem;padding:max(1rem,2vw);box-shadow:0 1rem 2rem rgba(0,0,0,.2);-webkit-animation:popup .3s forwards;animation:popup .3s forwards;width:min(100%,48rem);background-color:rgba(var(--foreground-color), 1)}#person_bio button{padding:.5rem;background-color:rgba(var(--text-color), 0.2);border-radius:5rem;margin-bottom:1.5rem;position:-webkit-sticky;position:sticky;top:0;z-index:1;-webkit-backdrop-filter:blur(0.5rem);backdrop-filter:blur(0.5rem)}#person_bio_wrapper{display:grid;gap:.5rem 1.5rem;grid-template-columns:min(16rem,100%) 1fr;grid-template-areas:"image name" "image title" "image bio";grid-template-rows:auto auto 1fr}#person__image{grid-area:image;width:100%;height:auto;border-radius:.5rem;-o-object-fit:cover;object-fit:cover;aspect-ratio:3/4}#person__name{grid-area:name;font-size:1.5rem;font-weight:500;color:rgba(var(--text-color), 1)}#person__title{grid-area:title;font-size:1rem;font-weight:500}#person__bio{grid-area:bio;font-size:1rem;font-weight:400;color:rgba(var(--text-color), 0.8);line-height:1.5;margin-top:1rem}@-webkit-keyframes popup{from{opacity:0;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@keyframes popup{from{opacity:0;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}@media screen and (max-width: 40rem){#poc_images .poc-wrapper:nth-of-type(5){grid-area:3/2/4/3}#person_bio_wrapper{grid-template-columns:1fr;grid-template-areas:"image" "name" "title" "bio"}#person__image{aspect-ratio:1/1;margin-bottom:1.5rem}.hide-on-small{display:none !important}}@media screen and (min-width: 40rem){section{padding:8vw 12vw}#team_members{gap:4vw;grid-template-columns:repeat(auto-fill, minmax(11rem, 1fr))}}@media(hover: hover){::-webkit-scrollbar{width:.5rem;height:.5rem}::-webkit-scrollbar-thumb{background:rgba(var(--text-color), 0.3);border-radius:1rem}::-webkit-scrollbar-thumb:hover{background:rgba(var(--text-color), 0.5)}.interactive:hover{background-color:rgba(var(--text-color), 0.06)}}@supports(overflow: overlay){body{overflow:overlay}}.hidden{display:none !important} \ No newline at end of file diff --git a/css/main.scss b/css/main.scss new file mode 100644 index 0000000..a1efe54 --- /dev/null +++ b/css/main.scss @@ -0,0 +1,428 @@ +* { + padding: 0; + margin: 0; + box-sizing: border-box; + font-family: "Poppins", sans-serif; +} + +:root { + font-size: clamp(1rem, 1.2vmax, 1.2rem); +} + +html, +body { + height: 100%; +} + +body { + --accent-color: #f8474d; + --secondary-color: #ffac2e; + --text-color: 20, 20, 20; + --foreground-color: 252, 253, 255; + --background-color: 241, 243, 248; + --danger-color: rgb(255, 75, 75); + --green: #1cad59; + --yellow: rgb(220, 165, 0); + color: rgba(var(--text-color), 1); + background-color: rgba(var(--foreground-color), 1); + & > * { + padding: 0 max(1rem, 6vw); + } +} + +body[data-theme="dark"] { + --accent-color: #ff696e; + --secondary-color: #d60739; + --text-color: 220, 220, 220; + --foreground-color: 27, 28, 29; + --background-color: 21, 22, 22; + --danger-color: rgb(255, 106, 106); + --green: #00e676; + --yellow: rgb(255, 213, 5); +} + +h1 { + font-size: max(2rem, 4vw); +} +h2 { + font-size: max(1.8rem, 3vw); +} +h3 { + font-size: max(1.5rem, 2vw); +} +h4 { + font-size: max(1.2rem, 1.3vw); +} + +a { + text-decoration: none; + color: var(--accent-color); + + &:focus-visible { + box-shadow: 0 0 0 0.1rem rgba(var(--text-color), 1) inset; + } +} +p { + color: rgba(var(--text-color), 0.8); + max-width: 70ch; + line-height: 1.5; +} +button, +.button { + display: inline-flex; + cursor: pointer; + border: none; + outline: none; + background: none; + font-size: 0.8rem; + font-weight: 700; + text-decoration: none; + text-transform: uppercase; + color: rgba(var(--text-color), 1); + background-color: rgba(var(--text-color), 0.1); + border-radius: 3rem; + letter-spacing: 0.05em; + padding: 0.5rem 1rem; +} +.icon { + width: 1.2rem; + height: 1.2rem; + fill: rgba(var(--text-color), 0.9); +} +.reveal { + display: flex; + overflow: hidden; + span { + opacity: 0; + transform-origin: left bottom; + } +} +.move-in { + opacity: 0; +} +header { + display: flex; + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + padding: 1rem; + backdrop-filter: blur(0.5rem); +} +#company_title { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 1rem; + padding-left: max(1rem, 6vw); +} +section { + min-height: 80vh; + padding-top: 8vh; + padding-bottom: 8vh; +} +.section-title { + display: flex; + flex-direction: column; + text-transform: uppercase; + letter-spacing: 0.02em; + margin-bottom: 3rem; + line-height: 1.1; + &::after { + content: ""; + display: block; + width: 3rem; + height: 0.2rem; + background-color: var(--accent-color); + margin-top: 0.5rem; + } + h3 { + font-size: 2em; + } +} +.colored-section { + background-color: var(--accent-color); + color: rgba(var(--foreground-color), 1); +} +.fancy-border { + position: relative; + &::before, + &::after { + position: absolute; + content: ""; + width: 100%; + height: 2rem; + left: 0; + } + &--top { + &::before { + background: url("../assets/triangle-up.svg"); + bottom: calc(100% - 0.04rem); + background-repeat: repeat-x; + background-size: 1.8rem; + } + } + &--bottom { + &::after { + top: calc(100% - 0.04rem); + background: url("../assets/triangle-down.svg"); + background-repeat: repeat-x; + background-size: 1.8rem; + } + } +} +#hero_section { + position: relative; + display: flex; + flex-direction: column; + gap: 2rem; + justify-items: center; + justify-content: center; + height: calc(100vh - 5rem); + background: linear-gradient( + rgba(var(--foreground-color), 0), + rgba(var(--foreground-color), 0.8) + ), + url("../assets/dmitry-demidko-z4VuRg-ZOEg-unsplash.jpg") no-repeat center / + cover fixed; + h1 { + margin-top: auto; + } + p { + max-width: none; + } +} +#team_members { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); + gap: 3rem 1.5rem; +} +.team-member { + display: flex; + flex-direction: column; + text-align: center; + cursor: pointer; + &__image-container { + display: grid; + margin-bottom: 1.2rem; + place-items: center; + & > * { + grid-area: 1/1; + } + } + img { + object-fit: cover; + width: 100%; + object-position: center; + aspect-ratio: 1/1; + mask: url("../assets/hex.svg") no-repeat center / contain; + } + &__name { + font-weight: 700; + font-size: 1rem; + line-height: 1.2; + } + &__title { + line-height: normal; + font-weight: 500; + font-size: 0.9rem; + margin-bottom: 1rem; + } + &__button { + margin-top: auto; + padding: 0.5rem 1rem; + align-self: center; + background-color: rgba(var(--text-color), 0.1); + border-radius: 5rem; + text-transform: uppercase; + font-weight: 700; + font-size: 0.8rem; + letter-spacing: 0.05em; + } +} + +.fancy-list { + display: grid; + align-items: flex-start; + &__item { + display: grid; + max-width: 42rem; + width: auto; + gap: 1rem 2rem; + grid-template-areas: "label title" "label description"; + padding-right: 0; + --stamp-size: 3.5rem; + &:not(:last-of-type) { + .fancy-list__item__label-wrapper { + &::after { + content: ""; + position: absolute; + width: 0.1rem; + height: calc(100% - var(--stamp-size) - 1rem); + top: calc(var(--stamp-size) + 0.5rem); + background-color: var(--accent-color); + z-index: -1; + } + } + } + &__label-wrapper { + grid-area: label; + position: relative; + display: flex; + align-items: flex-start; + justify-content: center; + height: 100%; + } + &__label { + display: flex; + align-items: center; + justify-content: center; + height: var(--stamp-size); + width: var(--stamp-size); + font-size: 1.5rem; + font-weight: 700; + color: var(--accent-color); + line-height: 1; + z-index: 2; + text-align: center; + background: url("../assets/hex.svg") no-repeat center / contain; + } + &__title { + grid-area: title; + line-height: 1.4; + &:last-child { + padding-bottom: 3rem; + } + } + &__description { + grid-area: description; + &:last-child { + padding-bottom: 3rem; + } + } + } +} + +#person_bio { + margin: auto; + border: none; + border-radius: 0.5rem; + padding: max(1rem, 2vw); + box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); + animation: popup 0.3s forwards; + width: min(100%, 48rem); + background-color: rgba(var(--foreground-color), 1); + button { + padding: 0.5rem; + background-color: rgba(var(--text-color), 0.2); + border-radius: 5rem; + margin-bottom: 1.5rem; + position: sticky; + top: 0; + z-index: 1; + backdrop-filter: blur(0.5rem); + } +} +#person_bio_wrapper { + display: grid; + gap: 0.5rem 1.5rem; + grid-template-columns: min(16rem, 100%) 1fr; + grid-template-areas: "image name" "image title" "image bio"; + grid-template-rows: auto auto 1fr; +} +#person__image { + grid-area: image; + width: 100%; + height: auto; + border-radius: 0.5rem; + object-fit: cover; + aspect-ratio: 3/4; +} +#person__name { + grid-area: name; + font-size: 1.5rem; + font-weight: 500; + color: rgba(var(--text-color), 1); +} +#person__title { + grid-area: title; + font-size: 1rem; + font-weight: 500; +} +#person__bio { + grid-area: bio; + font-size: 1rem; + font-weight: 400; + color: rgba(var(--text-color), 0.8); + line-height: 1.5; + margin-top: 1rem; +} +@keyframes popup { + from { + opacity: 0; + transform: scale(1.1); + } + to { + opacity: 1; + transform: scale(1); + } +} +@media screen and (max-width: 40rem) { + #poc_images { + .poc-wrapper { + &:nth-of-type(5) { + grid-area: 3/2/4/3; + } + } + } + #person_bio_wrapper { + grid-template-columns: 1fr; + grid-template-areas: "image" "name" "title" "bio"; + } + #person__image { + aspect-ratio: 1/1; + margin-bottom: 1.5rem; + } + .hide-on-small { + display: none !important; + } +} +@media screen and (min-width: 40rem) { + section { + padding: 8vw 12vw; + } + #team_members { + gap: 4vw; + grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); + } +} +@media (hover: hover) { + ::-webkit-scrollbar { + width: 0.5rem; + height: 0.5rem; + } + + ::-webkit-scrollbar-thumb { + background: rgba(var(--text-color), 0.3); + border-radius: 1rem; + + &:hover { + background: rgba(var(--text-color), 0.5); + } + } + + .interactive:hover { + background-color: rgba(var(--text-color), 0.06); + } +} + +@supports (overflow: overlay) { + body { + overflow: overlay; + } +} + +.hidden { + display: none !important; +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..e6a6c4d --- /dev/null +++ b/index.html @@ -0,0 +1,302 @@ + + + + + + + + Technology Certifier Company + + + + + + + +
+

+ + Capital Asset Management +

+
+
+

Company main objective or + something important

+
+
+
+

+ + Token + +

+

+ + Structuring + +

+
+
+
+
+

+ + Periodic + +

+

+ + legal services + +

+
+
+
+

+ + Methodology + +

+ +
+
+

+ + Team + +

+ +
+ + +
+ +

+

+

+
+
+ + + + \ No newline at end of file