From 1d97110c1a84e91679f24b68bd2805db328ade7e Mon Sep 17 00:00:00 2001 From: Ongkiboy Date: Thu, 6 Feb 2025 17:48:10 +0700 Subject: [PATCH] responsive --- style.css | 2164 +++++++++++++++++++++++++++++------------------------ 1 file changed, 1197 insertions(+), 967 deletions(-) diff --git a/style.css b/style.css index 02a416171..a3482949e 100644 --- a/style.css +++ b/style.css @@ -1,967 +1,1197 @@ -@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;200;300;400;500;600;700&display=swap"); -* { - margin: 0; - padding: 0; - font-family: "Noto Sans", sans-serif; - scroll-behavior: smooth; - box-sizing: border-box; -} - -/* CSS preloader starts */ - -.loading-text{ - letter-spacing: 5px; - color:rgb(180, 180, 180); - font-family: "Noto Sans", sans-serif; - -} -.notLoaded { - height: 100vh; - overflow: hidden; - position: fixed; - margin: 0px; -} - - -:root { - --duration: 1.5s; - --container-size: 250px; - --box-size: 33px; - --box-border-radius: 15%; -} - - - -#load { - width: 100vw; - height: 100vh; - overflow: hidden; - margin: 0; - padding: 0; - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - gap: 30px; -} - -.container { - width: var(--container-size); - display: flex; - justify-content: space-between; - align-items: center; - position: relative; -} - -.box { - width: var(--box-size); - height: var(--box-size); - position: relative; - display: block; - transform-origin: -50% center; - border-radius: var(--box-border-radius); -} -.box:after { - content: ""; - width: 100%; - height: 100%; - position: absolute; - top: 0; - right: 0; - background-color: lightblue; - border-radius: var(--box-border-radius); - box-shadow: 0px 0px 10px 0px rgba(28, 159, 255, 0.4); -} -.box:nth-child(1) { - -webkit-animation: slide var(--duration) ease-in-out infinite alternate; - animation: slide var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(1):after { - -webkit-animation: color-change var(--duration) ease-in-out infinite alternate; - animation: color-change var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(2) { - -webkit-animation: flip-1 var(--duration) ease-in-out infinite alternate; - animation: flip-1 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(2):after { - -webkit-animation: squidge-1 var(--duration) ease-in-out infinite alternate; - animation: squidge-1 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(3) { - -webkit-animation: flip-2 var(--duration) ease-in-out infinite alternate; - animation: flip-2 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(3):after { - -webkit-animation: squidge-2 var(--duration) ease-in-out infinite alternate; - animation: squidge-2 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(4) { - -webkit-animation: flip-3 var(--duration) ease-in-out infinite alternate; - animation: flip-3 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(4):after { - -webkit-animation: squidge-3 var(--duration) ease-in-out infinite alternate; - animation: squidge-3 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(5) { - -webkit-animation: flip-4 var(--duration) ease-in-out infinite alternate; - animation: flip-4 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(5):after { - -webkit-animation: squidge-4 var(--duration) ease-in-out infinite alternate; - animation: squidge-4 var(--duration) ease-in-out infinite alternate; -} -.box:nth-child(2):after { - background-color: #0D4360; -} -.box:nth-child(3):after { - background-color: #146591; -} -.box:nth-child(4):after { - background-color: #1B88C4; -} -.box:nth-child(5):after { - background-color: #34A6E3; -} - -@-webkit-keyframes slide { - 0% { - background-color: #0D4360; - transform: translatex(0vw); - } - 100% { - background-color: #34A6E3; - transform: translatex(calc(var(--container-size) - (var(--box-size) * 1.25))); - } -} - -@keyframes slide { - 0% { - background-color: #0D4360; - transform: translatex(0vw); - } - 100% { - background-color: #34A6E3; - transform: translatex(calc(var(--container-size) - (var(--box-size) * 1.25))); - } -} -@-webkit-keyframes color-change { - 0% { - background-color: #0D4360; - } - 100% { - background-color: #34A6E3; - } -} -@keyframes color-change { - 0% { - background-color: #0D4360; - } - 100% { - background-color: #34A6E3; - } -} -@-webkit-keyframes flip-1 { - 0%, 15% { - transform: rotate(0); - } - 35%, 100% { - transform: rotate(-180deg); - } -} -@keyframes flip-1 { - 0%, 15% { - transform: rotate(0); - } - 35%, 100% { - transform: rotate(-180deg); - } -} -@-webkit-keyframes squidge-1 { - 5% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 15% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 25%, 20% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 55%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 40% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@keyframes squidge-1 { - 5% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 15% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 25%, 20% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 55%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 40% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@-webkit-keyframes flip-2 { - 0%, 30% { - transform: rotate(0); - } - 50%, 100% { - transform: rotate(-180deg); - } -} -@keyframes flip-2 { - 0%, 30% { - transform: rotate(0); - } - 50%, 100% { - transform: rotate(-180deg); - } -} -@-webkit-keyframes squidge-2 { - 20% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 30% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 40%, 35% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 70%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 55% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@keyframes squidge-2 { - 20% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 30% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 40%, 35% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 70%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 55% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@-webkit-keyframes flip-3 { - 0%, 45% { - transform: rotate(0); - } - 65%, 100% { - transform: rotate(-180deg); - } -} -@keyframes flip-3 { - 0%, 45% { - transform: rotate(0); - } - 65%, 100% { - transform: rotate(-180deg); - } -} -@-webkit-keyframes squidge-3 { - 35% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 45% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 55%, 50% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 85%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 70% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@keyframes squidge-3 { - 35% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 45% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 55%, 50% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 85%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 70% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@-webkit-keyframes flip-4 { - 0%, 60% { - transform: rotate(0); - } - 80%, 100% { - transform: rotate(-180deg); - } -} -@keyframes flip-4 { - 0%, 60% { - transform: rotate(0); - } - 80%, 100% { - transform: rotate(-180deg); - } -} -@-webkit-keyframes squidge-4 { - 50% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 60% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 70%, 65% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 100%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 85% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -@keyframes squidge-4 { - 50% { - transform-origin: center bottom; - transform: scalex(1) scaley(1); - } - 60% { - transform-origin: center bottom; - transform: scalex(1.3) scaley(0.7); - } - 70%, 65% { - transform-origin: center bottom; - transform: scalex(0.8) scaley(1.4); - } - 100%, 100% { - transform-origin: center top; - transform: scalex(1) scaley(1); - } - 85% { - transform-origin: center top; - transform: scalex(1.3) scaley(0.7); - } -} -/* preloader ends */ - -a { - text-decoration: none; -} - -body { - background-color: white; -} - -#progress{ - cursor: pointer; - position:fixed; - right:10px; - bottom:20px; - width:60px; - height:60px; - z-index:111111; - display:none; - place-items: center; - border-radius:50%; - box-shadow:0 0 10px rgba(0, 0, 0,0.5); -} -#progress #progress-value{ - display:block; - width:calc(100% - 10px); - height:calc(100% - 10px); - background-color:white; - border-radius:50%; - display:grid; - place-items: center; - font-size:25px; - color:#001a2e; -} - -nav { - display: flex; - justify-content: space-between; - align-items: center; - background-color: #0d4360; - padding: 0 2rem; - margin: 0 auto; - position: sticky; - top: 2px; - z-index: 100; -} -nav:hover{ - box-shadow: 5px 5px 10px 5px rgba(1, 12, 77, 0.2); - transition-duration: .5s; - -} -nav img { - width: 50px; - height: auto; -} - -nav ul { - display: flex; - list-style: none; - gap: 1.5rem; -} - -nav ul li a { - color: white; - font-size: 0.8rem; - transition: all ease-in-out 0.2s; -} - -nav ul li a:hover { - color: #05f2c7; -} - -.github-btn { - background-color: #fff; - color: #3d3d3d; - padding: 0.6rem 1rem; - border-radius: 3rem; -} - -.github-btn:hover { - background-color: #05f2c7; - color: #0d4360; -} - -main { - display: flex; - justify-content: center; - align-items: center; - padding: 2rem; - gap: 4rem; - margin: 0 8rem; - position: sticky; - top:0%; - z-index: -1; - -} - -main .right img { - animation: imgUp 1s linear infinite alternate; - - -} -main .left { - display: flex; - flex-direction: column; - justify-content: center; - gap: 4rem; - - -} - -main .left .headings { - display: flex; - flex-direction: column; - gap: 1.5rem; - - -} - -main .left h1 { - font-size: 4rem; - color: #0d4360; - line-height: 100%; - - -} - -main .left p { - font-size: 0.8rem; - width: 90%; - color: #3d3d3d; - - -} - -.github-btn-cta { - background-color: #0d4360; - color: white; - padding: 0.6rem 1rem; - border-radius: 3rem; - width: 12.6rem; - font-size: 1rem; - transition: all ease-in-out 0.2s; - - -} - -.github-btn-cta:hover { - background-color: #05f2c7; - color: #0d4360; - - -} - -.project-section { - border: 1px rgb(185, 185, 185) solid; - background-color:rgb(255, 255, 255); - /* margin-left : .6rem; - margin-right : .6rem; */ - /* margin: -2.5rem 8rem 6rem 8rem; */ - padding: 6rem; - /* margin-bottom:1rem ; */ - z-index: 10000; -} -.project-section:hover{ - box-shadow: 2px 2px 2px 2px rgb(163, 163, 163); - transition-duration: 0.5s; - -} - -.title { - color: #0d4360; - font-size: 3rem; - margin-top: -6rem; -} - -.bg-title { - font-size: 6rem; - color: rgb(234, 233, 233); - margin-left: -6rem; -} - -@keyframes imgUp { - to { - transform: translateY(-10px); - } -} - -.projects { - display: flex; - flex-wrap: wrap; - justify-content: space-between; - margin-top: 2rem; -} - -.project-header { - display: flex; - flex-direction: row; - justify-content: space-between; -} - -.project-header #searchForm { - height: fit-content; - width: fit-content; - padding: 1rem; - margin: 0.5rem; - text-align: center; - border: 2px solid #0d4360; - border-radius: 1rem; -} -.project-header #searchForm:hover{ - border: 2px solid #0d4360a0; - transition-duration: .5s; -} - -.project-header #search { - font-size: 1rem; - margin: 0; - padding: 0; - border: 0px; -} - -.project-header #search:hover, -.project-header #search:focus { - border: 0px; - outline: none; -} - -.project-header button { - font-size: 1rem; - background-color: white; - margin: 0; - padding: 0; - border: 0px; -} - -.project { - display: flex; - width: 30%; - flex-direction: column; - align-items: center; - margin-top: 4rem; - background-color: #0d4360; - border-radius: 0.2rem; - transition: all 0.5s ease; -} - -.project:hover { - scale: 1.01; - box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2); -} - -.project img { - width: 100%; - height: auto; - transition: all ease-in-out 0.2s; - border-top-left-radius: 0.2rem; - border-top-right-radius: 0.2rem; -} - -.project-info { - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - gap: 1rem; - color: white; - width: 100%; - padding: 1rem; -} - -.project-info h2 { - font-size: 1.4rem; - width: 90%; -} - -.project-info p { - font-size: 0.9rem; - text-align: justify; - width: 90%; -} - -.project-info .row { - display: flex; - justify-content: space-between; - padding: 0 1rem; - gap: 1.3rem; -} - -.row { - display: flex; - width: 100%; - justify-content: space-between; - padding: 0 1rem; - gap: 1.3rem; -} - -.tech span { - border: 1px solid #05f2c7; - color: #05f2c7; - padding: 0.4rem 0.7rem; - border-radius: 0.2rem; - font-size: 0.8rem; - margin-right: 0.2rem; -} - -.links { - display: flex; - gap: 0.5rem; - font-size: 1rem; -} - -.links a { - color: white; -} - -.links a:hover { - color: #05f2c7; -} - -.contributors { - /* margin: -2.5rem 8rem 4rem 8rem; */ - margin:8rem; - border: 1px solid white; - background-color: white; - -} - -.contributors .list-section { - margin-top: 4rem; - padding: 2rem; - background-color: #0d4360; - border-radius: 0.5rem; -} - -#contributors-list { - display: flex; - flex-wrap: wrap; - justify-content: center; - gap: 1rem; - margin: 0 auto; - list-style: none; -} - -#contributors-list img { - width: 60px; - border-radius: 50%; - border: 2px solid #05f2c7; -} - - -#contributors-list img:hover -{ - transform: scale(1.14); - cursor: pointer; -} - - -footer { - background-color: #0d4360; - padding: 2rem 8rem; - display: flex; - justify-content: space-between; - align-items: center; - color: #fff; -} - -footer a { - color: #05f2c7; -} - -@media screen and (max-width: 1200px) { - main { - flex-direction: column-reverse; - margin: 0 4rem; - } - main .left { - margin-top: 4rem; - } - main .left h1 { - font-size: 3rem; - } - main .left p { - font-size: 0.7rem; - } - .github-btn-cta { - width: 11rem; - } - .project-section { - margin: -2.5rem 4rem 4rem 4rem; - } - .title { - font-size: 2.5rem; - margin-top: -5rem; - } - .bg-title { - font-size: 6rem; - margin-left: -4rem; - } - .projects { - margin-top: 1rem; - } - .project { - width: 45%; - } - .project-info h2 { - font-size: 1rem; - } - .project-info p { - font-size: 0.6rem; - } - .project-info .row { - padding: 0 0.5rem; - } - .tech span { - font-size: 0.6rem; - } - .links { - font-size: 0.8rem; - } - footer { - padding: 2rem 4rem; - } -} - -@media screen and (max-width: 768px) { - nav ul li a { - font-size: 0.7rem; - } - .github-btn { - margin-top: 1rem; - } - main { - flex-direction: column-reverse; - margin: 0 2rem; - gap: 0rem; - } - main .left { - margin-top: 4rem; - } - main .left h1 { - font-size: 3rem; - } - main .left p { - font-size: 1rem; - } - main .right img { - height: 40vh; - } - .github-btn-cta { - width: 11rem; - margin-bottom: 2rem; - } - .project-section { - margin: -2.5rem 2rem 4rem 2rem; - } - .title { - font-size: 2rem; - margin-top: -3rem; - } - .bg-title { - font-size: 4rem; - margin-left: -2rem; - } - .projects { - margin-top: 1rem; - } - .project { - width: 90%; - } - .project-info h2 { - font-size: 1.2rem; - } - .project-info p { - font-size: 1rem; - } - .project-info .row { - padding: 0 0.5rem; - } - .tech span { - font-size: 0.8rem; - } - .links { - font-size: 1rem; - } - footer { - flex-direction: column; - padding: 2rem 2rem; - } - .project-header { - flex-direction: column; - } - .project-header button, - .project-header #search { - font-size: 0.8rem; - } -} - -@media screen and (max-width: 480px) { - nav ul li a { - font-size: 0.7rem; - } - .github-btn { - display: none; - } - main { - flex-direction: column-reverse; - margin: 0 1rem; - gap: 0rem; - } - main .left { - margin-top: 4rem; - } - main .left h1 { - font-size: 2rem; - } - main .left p { - font-size: 0.8rem; - } - main .right img { - height: 30vh; - } - .github-btn-cta { - width: 11rem; - margin-bottom: 2rem; - } - .project-section { - margin: -2.5rem 1rem 4rem 1rem; - } - .title { - font-size: 1.5rem; - margin-top: -2rem; - } - .bg-title { - font-size: 3rem; - margin-left: -1rem; - } - .projects { - margin-top: 1rem; - } - .project { - width: 90%; - } - .project-info h2 { - font-size: 1rem; - } - .project-info p { - font-size: 0.8rem; - } - .project-info .row { - padding: 0 0.5rem; - } - .tech span { - font-size: 0.6rem; - } - .links { - font-size: 0.8rem; - } - footer { - flex-direction: column; - padding: 2rem 1rem; - } -} +@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100;200;300;400;500;600;700&display=swap"); + +* { + margin: 0; + padding: 0; + font-family: "Noto Sans", sans-serif; + scroll-behavior: smooth; + box-sizing: border-box; +} + +/* CSS preloader starts */ +.loading-text { + letter-spacing: 5px; + color: rgb(180, 180, 180); + font-family: "Noto Sans", sans-serif; + +} + +.notLoaded { + height: 100vh; + overflow: hidden; + position: fixed; + margin: 0px; +} + + +:root { + --duration: 1.5s; + --container-size: 250px; + --box-size: 33px; + --box-border-radius: 15%; +} + + + +#load { + width: 100vw; + height: 100vh; + overflow: hidden; + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + gap: 30px; +} + +.container { + width: var(--container-size); + display: flex; + justify-content: space-between; + align-items: center; + position: relative; +} + +.box { + width: var(--box-size); + height: var(--box-size); + position: relative; + display: block; + transform-origin: -50% center; + border-radius: var(--box-border-radius); +} + +.box:after { + content: ""; + width: 100%; + height: 100%; + position: absolute; + top: 0; + right: 0; + background-color: lightblue; + border-radius: var(--box-border-radius); + box-shadow: 0px 0px 10px 0px rgba(28, 159, 255, 0.4); +} + +.box:nth-child(1) { + -webkit-animation: slide var(--duration) ease-in-out infinite alternate; + animation: slide var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(1):after { + -webkit-animation: color-change var(--duration) ease-in-out infinite alternate; + animation: color-change var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(2) { + -webkit-animation: flip-1 var(--duration) ease-in-out infinite alternate; + animation: flip-1 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(2):after { + -webkit-animation: squidge-1 var(--duration) ease-in-out infinite alternate; + animation: squidge-1 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(3) { + -webkit-animation: flip-2 var(--duration) ease-in-out infinite alternate; + animation: flip-2 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(3):after { + -webkit-animation: squidge-2 var(--duration) ease-in-out infinite alternate; + animation: squidge-2 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(4) { + -webkit-animation: flip-3 var(--duration) ease-in-out infinite alternate; + animation: flip-3 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(4):after { + -webkit-animation: squidge-3 var(--duration) ease-in-out infinite alternate; + animation: squidge-3 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(5) { + -webkit-animation: flip-4 var(--duration) ease-in-out infinite alternate; + animation: flip-4 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(5):after { + -webkit-animation: squidge-4 var(--duration) ease-in-out infinite alternate; + animation: squidge-4 var(--duration) ease-in-out infinite alternate; +} + +.box:nth-child(2):after { + background-color: #0D4360; +} + +.box:nth-child(3):after { + background-color: #146591; +} + +.box:nth-child(4):after { + background-color: #1B88C4; +} + +.box:nth-child(5):after { + background-color: #34A6E3; +} + +@-webkit-keyframes slide { + 0% { + background-color: #0D4360; + transform: translatex(0vw); + } + + 100% { + background-color: #34A6E3; + transform: translatex(calc(var(--container-size) - (var(--box-size) * 1.25))); + } +} + +@keyframes slide { + 0% { + background-color: #0D4360; + transform: translatex(0vw); + } + + 100% { + background-color: #34A6E3; + transform: translatex(calc(var(--container-size) - (var(--box-size) * 1.25))); + } +} + +@-webkit-keyframes color-change { + 0% { + background-color: #0D4360; + } + + 100% { + background-color: #34A6E3; + } +} + +@keyframes color-change { + 0% { + background-color: #0D4360; + } + + 100% { + background-color: #34A6E3; + } +} + +@-webkit-keyframes flip-1 { + + 0%, + 15% { + transform: rotate(0); + } + + 35%, + 100% { + transform: rotate(-180deg); + } +} + +@keyframes flip-1 { + + 0%, + 15% { + transform: rotate(0); + } + + 35%, + 100% { + transform: rotate(-180deg); + } +} + +@-webkit-keyframes squidge-1 { + 5% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 15% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 25%, + 20% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 55%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 40% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@keyframes squidge-1 { + 5% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 15% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 25%, + 20% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 55%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 40% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@-webkit-keyframes flip-2 { + + 0%, + 30% { + transform: rotate(0); + } + + 50%, + 100% { + transform: rotate(-180deg); + } +} + +@keyframes flip-2 { + + 0%, + 30% { + transform: rotate(0); + } + + 50%, + 100% { + transform: rotate(-180deg); + } +} + +@-webkit-keyframes squidge-2 { + 20% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 30% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 40%, + 35% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 70%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 55% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@keyframes squidge-2 { + 20% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 30% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 40%, + 35% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 70%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 55% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@-webkit-keyframes flip-3 { + + 0%, + 45% { + transform: rotate(0); + } + + 65%, + 100% { + transform: rotate(-180deg); + } +} + +@keyframes flip-3 { + + 0%, + 45% { + transform: rotate(0); + } + + 65%, + 100% { + transform: rotate(-180deg); + } +} + +@-webkit-keyframes squidge-3 { + 35% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 45% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 55%, + 50% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 85%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 70% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@keyframes squidge-3 { + 35% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 45% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 55%, + 50% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 85%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 70% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@-webkit-keyframes flip-4 { + + 0%, + 60% { + transform: rotate(0); + } + + 80%, + 100% { + transform: rotate(-180deg); + } +} + +@keyframes flip-4 { + + 0%, + 60% { + transform: rotate(0); + } + + 80%, + 100% { + transform: rotate(-180deg); + } +} + +@-webkit-keyframes squidge-4 { + 50% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 60% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 70%, + 65% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 100%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 85% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +@keyframes squidge-4 { + 50% { + transform-origin: center bottom; + transform: scalex(1) scaley(1); + } + + 60% { + transform-origin: center bottom; + transform: scalex(1.3) scaley(0.7); + } + + 70%, + 65% { + transform-origin: center bottom; + transform: scalex(0.8) scaley(1.4); + } + + 100%, + 100% { + transform-origin: center top; + transform: scalex(1) scaley(1); + } + + 85% { + transform-origin: center top; + transform: scalex(1.3) scaley(0.7); + } +} + +/* preloader ends */ + +a { + text-decoration: none; +} + +body { + background-color: white; +} + +#progress { + cursor: pointer; + position: fixed; + right: 10px; + bottom: 20px; + width: 60px; + height: 60px; + z-index: 111111; + display: none; + place-items: center; + border-radius: 50%; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); +} + +#progress #progress-value { + display: block; + width: calc(100% - 10px); + height: calc(100% - 10px); + background-color: white; + border-radius: 50%; + display: grid; + place-items: center; + font-size: 25px; + color: #001a2e; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + background-color: #0d4360; + padding: 0 2rem; + margin: 0 auto; + position: sticky; + top: 2px; + z-index: 100; +} + +nav:hover { + box-shadow: 5px 5px 10px 5px rgba(1, 12, 77, 0.2); + transition-duration: .5s; + +} + +nav img { + width: 50px; + height: auto; +} + +nav ul { + display: flex; + list-style: none; + gap: 1.5rem; +} + +nav ul li a { + color: white; + font-size: 0.8rem; + transition: all ease-in-out 0.2s; +} + +nav ul li a:hover { + color: #05f2c7; +} + +.github-btn { + background-color: #fff; + color: #3d3d3d; + padding: 0.6rem 1rem; + border-radius: 3rem; +} + +.github-btn:hover { + background-color: #05f2c7; + color: #0d4360; +} + +main { + display: flex; + justify-content: center; + align-items: center; + padding: 2rem; + gap: 4rem; + margin: 0 8rem; + position: sticky; + top: 0%; + z-index: -1; + +} + +main .right img { + animation: imgUp 1s linear infinite alternate; + + +} + +main .left { + display: flex; + flex-direction: column; + justify-content: center; + gap: 4rem; + + +} + +main .left .headings { + display: flex; + flex-direction: column; + gap: 1.5rem; + + +} + +main .left h1 { + font-size: 4rem; + color: #0d4360; + line-height: 100%; + + +} + +main .left p { + font-size: 0.8rem; + width: 90%; + color: #3d3d3d; + + +} + +.github-btn-cta { + background-color: #0d4360; + color: white; + padding: 0.6rem 1rem; + border-radius: 3rem; + width: 12.6rem; + font-size: 1rem; + transition: all ease-in-out 0.2s; + + +} + +.github-btn-cta:hover { + background-color: #05f2c7; + color: #0d4360; + + +} + +.project-section { + border: 1px rgb(185, 185, 185) solid; + background-color: rgb(255, 255, 255); + /* margin-left : .6rem; + margin-right : .6rem; */ + /* margin: -2.5rem 8rem 6rem 8rem; */ + padding: 6rem; + /* margin-bottom:1rem ; */ + z-index: 10000; +} + +.project-section:hover { + box-shadow: 2px 2px 2px 2px rgb(163, 163, 163); + transition-duration: 0.5s; + +} + +.title { + color: #0d4360; + font-size: 3rem; + margin-top: -6rem; +} + +.bg-title { + font-size: 6rem; + color: rgb(234, 233, 233); + margin-left: -6rem; +} + +@keyframes imgUp { + to { + transform: translateY(-10px); + } +} + +.projects { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + margin-top: 2rem; +} + +.project-header { + display: flex; + flex-direction: row; + justify-content: space-between; +} + +.project-header #searchForm { + height: fit-content; + width: fit-content; + padding: 1rem; + margin: 0.5rem; + text-align: center; + border: 2px solid #0d4360; + border-radius: 1rem; +} + +.project-header #searchForm:hover { + border: 2px solid #0d4360a0; + transition-duration: .5s; +} + +.project-header #search { + font-size: 1rem; + margin: 0; + padding: 0; + border: 0px; +} + +.project-header #search:hover, +.project-header #search:focus { + border: 0px; + outline: none; +} + +.project-header button { + font-size: 1rem; + background-color: white; + margin: 0; + padding: 0; + border: 0px; +} + +.project { + display: flex; + width: 30%; + flex-direction: column; + align-items: center; + margin-top: 4rem; + background-color: #0d4360; + border-radius: 0.2rem; + transition: all 0.5s ease; +} + +.project:hover { + scale: 1.01; + box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2); +} + +.project img { + width: 100%; + height: auto; + transition: all ease-in-out 0.2s; + border-top-left-radius: 0.2rem; + border-top-right-radius: 0.2rem; +} + +.project-info { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 1rem; + color: white; + width: 100%; + padding: 1rem; +} + +.project-info h2 { + font-size: 1.4rem; + width: 90%; +} + +.project-info p { + font-size: 0.9rem; + text-align: justify; + width: 90%; +} + +.project-info .row { + display: flex; + justify-content: space-between; + padding: 0 1rem; + gap: 1.3rem; +} + +.row { + display: flex; + width: 100%; + justify-content: space-between; + padding: 0 1rem; + gap: 1.3rem; +} + +.tech span { + border: 1px solid #05f2c7; + color: #05f2c7; + padding: 0.4rem 0.7rem; + border-radius: 0.2rem; + font-size: 0.8rem; + margin-right: 0.2rem; +} + +.links { + display: flex; + gap: 0.5rem; + font-size: 1rem; +} + +.links a { + color: white; +} + +.links a:hover { + color: #05f2c7; +} + +.contributors { + /* margin: -2.5rem 8rem 4rem 8rem; */ + margin: 8rem; + border: 1px solid white; + background-color: white; + +} + +.contributors .list-section { + margin-top: 4rem; + padding: 2rem; + background-color: #0d4360; + border-radius: 0.5rem; +} + +#contributors-list { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 1rem; + margin: 0 auto; + list-style: none; +} + +#contributors-list img { + width: 60px; + border-radius: 50%; + border: 2px solid #05f2c7; +} + + +#contributors-list img:hover { + transform: scale(1.14); + cursor: pointer; +} + + +footer { + background-color: #0d4360; + padding: 2rem 8rem; + display: flex; + justify-content: space-between; + align-items: center; + color: #fff; +} + +footer a { + color: #05f2c7; +} + +@media screen and (max-width: 1200px) { + main { + flex-direction: column-reverse; + margin: 0 4rem; + } + + main .left { + margin-top: 4rem; + } + + main .left h1 { + font-size: 3rem; + } + + main .left p { + font-size: 0.7rem; + } + + .github-btn-cta { + width: 11rem; + } + + .project-section { + margin: -2.5rem 4rem 4rem 4rem; + } + + .title { + font-size: 2.5rem; + margin-top: -5rem; + } + + .bg-title { + font-size: 6rem; + margin-left: -4rem; + } + + .projects { + margin-top: 1rem; + } + + .project { + width: 45%; + } + + .project-info h2 { + font-size: 1rem; + } + + .project-info p { + font-size: 0.6rem; + } + + .project-info .row { + padding: 0 0.5rem; + } + + .tech span { + font-size: 0.6rem; + } + + .links { + font-size: 0.8rem; + } + + + .contributors { + margin: 1rem; + } + footer { + padding: 2rem 4rem; + justify-content: center; + + } +} + +/* device tablet */ +@media screen and (max-width: 768px) { + nav ul li a { + font-size: 0.7rem; + } + + .github-btn { + margin-top: 1rem; + } + + main { + flex-direction: column-reverse; + margin: 0 2rem; + gap: 0rem; + } + + main .left { + margin-top: 4rem; + } + + main .left h1 { + font-size: 3rem; + } + + main .left p { + font-size: 1rem; + } + + main .right img { + height: 40vh; + } + + .github-btn-cta { + width: 13rem; + margin-bottom: 2rem; + } + + .project-section { + margin: -2.5rem 2rem 4rem 2rem; + } + + .title { + font-size: 2rem; + margin-top: -3rem; + } + + .bg-title { + font-size: 4rem; + margin-left: -2rem; + } + + .projects { + margin-top: 1rem; + } + + .project { + width: 90%; + } + + .project-info h2 { + font-size: 1.2rem; + } + + .project-info p { + font-size: 1rem; + } + + .project-info .row { + padding: 0 0.5rem; + } + + .tech span { + font-size: 0.8rem; + } + + .links { + font-size: 1rem; + } + + footer { + flex-direction: column; + padding: 2rem 2rem; + } + + .project-header { + flex-direction: column; + } + + .project-header button, + .project-header #search { + font-size: 0.8rem; + + } + + .contributors .head>.bg-title { + margin-top: 3rem; + margin-left: 1rem; + } + .contributors .head>.title { + font-size: 2.6rem; + margin-top: -3.6rem; + margin-left: 4rem; + } + + .contributors { + margin: 1rem; + } +} + +/* device phone */ +@media screen and (max-width: 480px) { + nav ul li a { + font-size: 0.7rem; + + } + + .github-btn { + display: none; + } + + main { + flex-direction: column-reverse; + margin: 0 1rem; + gap: 0rem; + } + + main .left { + margin-top: 4rem; + } + + main .left h1 { + font-size: 2rem; + } + + main .left p { + font-size: 0.8rem; + } + + main .right img { + height: 30vh; + } + + .github-btn-cta { + width: 13rem; + margin-bottom: 4rem; + } + + .project-section { + margin: -2.5rem 1rem 4rem 1rem; + } + + .project-header .head>.title { + font-size: 1.5rem; + margin-top: -2rem; + margin-left: -3rem; + } + + .project-header .head>.bg-title { + font-size: 3rem; + margin-left: -4rem; + } + + .projects { + margin-top: 1rem; + margin-left: -2.5rem; + } + + .project-header button, + .project-header #searchform { + font-size: 1rem; + + } + + .project { + width: 170%; + margin-left: -rem; + } + + .project-info h2 { + font-size: 1rem; + } + + .project-info p { + font-size: 0.8rem; + } + + .project-info .row { + padding: 0 0.5rem; + } + + .tech span { + font-size: 0.4rem; + padding: 0.2rem 0.4rem; + border-radius: 0.2rem; + margin-right: 0.2rem; + } + + .links { + font-size: 0.7rem; + } + + .contributors { + margin: 0; + } + + .contributors .head>.bg-title { + font-size: 2.5rem; + margin-top: 3rem; + margin-left: 1rem; + } + + .contributors .head>.title { + font-size: 1.5rem; + margin-top: -2rem; + margin-left: 2rem; + } + + footer { + font-size: 0.8rem; + flex-direction: column; + padding: 2rem 1rem; + } +}