diff --git a/assets/Puneet Sondh.jpg b/assets/Puneet Sondh.jpg index 5ef7a2c..04618c0 100644 Binary files a/assets/Puneet Sondh.jpg and b/assets/Puneet Sondh.jpg differ diff --git a/assets/Rohit Tripathy.jpg b/assets/Rohit Tripathy.jpg index ef757d1..02647ef 100644 Binary files a/assets/Rohit Tripathy.jpg and b/assets/Rohit Tripathy.jpg differ diff --git a/assets/Ruchir Gupta.jpg b/assets/Ruchir Gupta.jpg index 01b0bd6..276f8ba 100644 Binary files a/assets/Ruchir Gupta.jpg and b/assets/Ruchir Gupta.jpg differ diff --git a/assets/bg-art-1.svg b/assets/bg-art-1.svg deleted file mode 100644 index d2a90e0..0000000 --- a/assets/bg-art-1.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/assets/bg-art-2.svg b/assets/bg-art-2.svg deleted file mode 100644 index 9d9e6d8..0000000 --- a/assets/bg-art-2.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg b/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg index 64a2c87..10275dc 100644 Binary files a/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg and b/assets/craig-mckay-jmURdhtm7Ng-unsplash.jpg differ diff --git a/assets/stamp-full.svg b/assets/stamp-full.svg new file mode 100644 index 0000000..fc295e1 --- /dev/null +++ b/assets/stamp-full.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/triangle-up.svg b/assets/triangle-up.svg new file mode 100644 index 0000000..6f95659 --- /dev/null +++ b/assets/triangle-up.svg @@ -0,0 +1,3 @@ + + + diff --git a/css/main.css b/css/main.css index 935d785..b1f2d0c 100644 --- a/css/main.css +++ b/css/main.css @@ -42,15 +42,19 @@ body[data-theme=dark] { } h1 { - font-size: max(1.8rem, 4vw); + font-size: max(2rem, 4vw); } h2 { - font-size: 3vw; + font-size: max(1.8rem, 3vw); } h3 { - font-size: max(1.2rem, 2vw); + font-size: max(1.5rem, 2vw); +} + +h4 { + font-size: max(1.2rem, 1.3vw); } a { @@ -67,6 +71,43 @@ p { 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; @@ -87,11 +128,49 @@ header { } section { - height: 100vh; + min-height: 80vh; padding-top: 8vh; padding-bottom: 8vh; } +.section-title { + text-transform: uppercase; + letter-spacing: 0.02em; + margin-bottom: 3rem; + line-height: 1.1; +} +.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; @@ -99,36 +178,19 @@ section { gap: 2rem; justify-items: center; justify-content: center; - height: calc(100vh - 6rem); + height: calc(100vh - 5rem); background-color: var(--accent-color); color: rgba(var(--foreground-color), 1); text-align: center; -} -#hero_section::after { - position: absolute; - content: ""; - background: url("../assets/triangle-down.svg"); - background-repeat: repeat-x; - background-size: 1.8rem; - width: 100%; - height: 2rem; - top: calc(100% - 0.03rem); - left: 0; + margin-top: 3rem; } #hero_section p { max-width: none; } -.section-title { - text-transform: uppercase; - letter-spacing: 0.05em; - font-size: 1.2rem; -} - #team_members { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); - margin-top: 2rem; gap: 3rem 1.5rem; } @@ -136,6 +198,7 @@ section { display: flex; flex-direction: column; text-align: center; + cursor: pointer; } .team-member__image-container { display: grid; @@ -167,11 +230,181 @@ section { 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: rgba(var(--foreground-color), 1); + line-height: 1; + z-index: 2; + text-align: center; + background: url("../assets/stamp-full.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(var(--text-color), 0.1); + -webkit-animation: popup 0.3s forwards; + animation: popup 0.3s forwards; + width: min(100%, 48rem); +} +#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; +} + +#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) { #team_members { - grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); + gap: 4vw; + grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } } @media (hover: hover) { diff --git a/css/main.min.css b/css/main.min.css index 8ed32fb..df1554d 100644 --- a/css/main.min.css +++ b/css/main.min.css @@ -1 +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: #4a72ff;--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: #6d83ff;--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(1.8rem,4vw)}h2{font-size:3vw}h3{font-size:max(1.2rem,2vw)}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}header{display:flex;position:fixed;top:0;left:0;right:0;z-index:100;padding:1rem;align-items:center;justify-content:space-between;background-color:var(--accent-color)}#company_title{position:relative;margin:auto;color:rgba(var(--foreground-color), 1)}section{height:100vh;padding-top:8vh;padding-bottom:8vh}#hero_section{position:relative;display:flex;flex-direction:column;gap:2rem;justify-items:center;justify-content:center;height:calc(100vh - 6rem);background-color:var(--accent-color);color:rgba(var(--foreground-color), 1);text-align:center}#hero_section::after{position:absolute;content:"";background:url("../assets/triangle-down.svg");background-repeat:repeat-x;background-size:1.8rem;width:100%;height:2rem;top:calc(100% - .03rem);left:0}#hero_section p{max-width:none}.section-title{text-transform:uppercase;letter-spacing:.05em;font-size:1.2rem}#team_members{display:grid;grid-template-columns:repeat(auto-fill, minmax(8rem, 1fr));margin-top:2rem;gap:3rem 1.5rem}.team-member{display:flex;flex-direction:column;text-align:center}.team-member__image-container{display:grid;margin-bottom:1.2rem;place-items:center}.team-member__image-container>*{grid-area:1/1}.team-member__image-container img:first-of-type{width:calc(100% - 1.5rem)}.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/stamp.svg") no-repeat center/contain;mask:url("../assets/stamp.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}@media screen and (min-width: 40rem){#team_members{grid-template-columns:repeat(auto-fill, minmax(12rem, 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 +*{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: #4a72ff;--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: #6d83ff;--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;align-items:center;justify-content:space-between;background-color:var(--accent-color)}#company_title{position:relative;margin:auto;color:rgba(var(--foreground-color), 1)}section{min-height:80vh;padding-top:8vh;padding-bottom:8vh}.section-title{text-transform:uppercase;letter-spacing:.02em;margin-bottom:3rem;line-height:1.1}.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-color:var(--accent-color);color:rgba(var(--foreground-color), 1);text-align:center;margin-top:3rem}#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__image-container img:first-of-type{width:calc(100% - 1.5rem)}.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/stamp.svg") no-repeat center/contain;mask:url("../assets/stamp.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:rgba(var(--foreground-color), 1);line-height:1;z-index:2;text-align:center;background:url("../assets/stamp-full.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(var(--text-color), 0.1);-webkit-animation:popup .3s forwards;animation:popup .3s forwards;width:min(100%,48rem)}#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}#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){#team_members{gap:4vw;grid-template-columns:repeat(auto-fit, 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 index 41c3231..cf19072 100644 --- a/css/main.scss +++ b/css/main.scss @@ -42,13 +42,16 @@ body[data-theme="dark"] { } h1 { - font-size: max(1.8rem, 4vw); + font-size: max(2rem, 4vw); } h2 { - font-size: 3vw; + font-size: max(1.8rem, 3vw); } h3 { - font-size: max(1.2rem, 2vw); + font-size: max(1.5rem, 2vw); +} +h4 { + font-size: max(1.2rem, 1.3vw); } a { @@ -64,6 +67,39 @@ p { 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; @@ -82,10 +118,50 @@ header { color: rgba(var(--foreground-color), 1); } section { - height: 100vh; + min-height: 80vh; padding-top: 8vh; padding-bottom: 8vh; } +.section-title { + text-transform: uppercase; + letter-spacing: 0.02em; + margin-bottom: 3rem; + line-height: 1.1; + 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; @@ -93,40 +169,25 @@ section { gap: 2rem; justify-items: center; justify-content: center; - height: calc(100vh - 6rem); + height: calc(100vh - 5rem); background-color: var(--accent-color); color: rgba(var(--foreground-color), 1); text-align: center; - &::after { - position: absolute; - content: ""; - background: url("../assets/triangle-down.svg"); - background-repeat: repeat-x; - background-size: 1.8rem; - width: 100%; - height: 2rem; - top: calc(100% - 0.03rem); - left: 0; - } + margin-top: 3rem; p { max-width: none; } } -.section-title { - text-transform: uppercase; - letter-spacing: 0.05em; - font-size: 1.2rem; -} #team_members { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); - margin-top: 2rem; gap: 3rem 1.5rem; } .team-member { display: flex; flex-direction: column; text-align: center; + cursor: pointer; &__image-container { display: grid; margin-bottom: 1.2rem; @@ -154,11 +215,169 @@ section { 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: rgba(var(--foreground-color), 1); + line-height: 1; + z-index: 2; + text-align: center; + background: url("../assets/stamp-full.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(var(--text-color), 0.1); + animation: popup 0.3s forwards; + width: min(100%, 48rem); + 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; +} +#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) { #team_members { - grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); + gap: 4vw; + grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } } @media (hover: hover) { diff --git a/index.html b/index.html index 050722c..6530691 100644 --- a/index.html +++ b/index.html @@ -20,45 +20,107 @@ TC2 -
+

Company Mission here
in huge font

-
-

Team

- +
+
+

+ + What can be + +

+

+ + Certified? + +

+
+
+

+ + Methodology + +

+
+
+
+

+ + Team + +

+
    +
    + + +
    + +

    +

    +

    +
    +