442 lines
7.7 KiB
CSS
442 lines
7.7 KiB
CSS
|
@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro&display=swap");
|
||
|
|
||
|
html {
|
||
|
width: 100%;
|
||
|
/* overflow-x: hidden; */
|
||
|
scroll-behavior: smooth;
|
||
|
font-family: "Source Code Pro", Helvetica;
|
||
|
font-size: 16px;
|
||
|
line-height: 1.5;
|
||
|
color: #222;
|
||
|
letter-spacing: -0.8px;
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
-webkit-box-sizing: border-box;
|
||
|
-moz-box-sizing: border-box;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
:root {
|
||
|
--main-color: #1668e4;
|
||
|
--main-color-lighter: #5698fc;
|
||
|
--dark-color: #201e1e;
|
||
|
--sec-color-3: #688e26;
|
||
|
--sec-color-4: #adb2d3;
|
||
|
--sec-color-5: #c2a878;
|
||
|
--light-color-1: rgb(64, 37, 216);
|
||
|
--test-color: rgb(113, 116, 255);
|
||
|
--transparent-white: rgba(255, 255, 255, 0.2);
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
width: 100%;
|
||
|
margin: 0px;
|
||
|
padding: 0px;
|
||
|
top: 0;
|
||
|
justify-content: center;
|
||
|
background-color: var(--dark-color);
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
text-decoration: none;
|
||
|
color: white;
|
||
|
border: 1px solid transparent;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
color: var(--sec-color-2);
|
||
|
}
|
||
|
|
||
|
button {
|
||
|
padding: 10px 25px;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
font-size: inherit;
|
||
|
border: 1px solid transparent;
|
||
|
}
|
||
|
|
||
|
hr {
|
||
|
opacity: 0.3;
|
||
|
}
|
||
|
|
||
|
button:hover {
|
||
|
background-color: var(--dark-color);
|
||
|
/* background-color: #c52532; */
|
||
|
color: white;
|
||
|
border-color: var(--transparent-white);
|
||
|
}
|
||
|
|
||
|
form * {
|
||
|
font-family: inherit;
|
||
|
font-size: inherit;
|
||
|
}
|
||
|
|
||
|
header {
|
||
|
z-index: 1000000;
|
||
|
margin-bottom: 40px;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 52px;
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
|
||
|
p a,
|
||
|
span a {
|
||
|
color: var(--main-color-lighter);
|
||
|
/* border-bottom: 1px solid var(--main-color-lighter); */
|
||
|
}
|
||
|
|
||
|
p a:hover,
|
||
|
span a:hover {
|
||
|
color: var(--main-color);
|
||
|
}
|
||
|
|
||
|
/* ################################################# -- Sliders */
|
||
|
aside,
|
||
|
.side-nav-block {
|
||
|
scrollbar-width: none;
|
||
|
}
|
||
|
/* width */
|
||
|
aside::-webkit-scrollbar,
|
||
|
.side-nav-block::-webkit-scrollbar {
|
||
|
width: 5px;
|
||
|
}
|
||
|
|
||
|
/* Track */
|
||
|
aside::-webkit-scrollbar-track,
|
||
|
.side-nav-block::-webkit-scrollbar-track {
|
||
|
background: #f1f1f1;
|
||
|
}
|
||
|
|
||
|
/* Handle */
|
||
|
aside::-webkit-scrollbar-thumb,
|
||
|
.side-nav-block::-webkit-scrollbar-thumb {
|
||
|
background: #dbe1eb;
|
||
|
border-radius: 10px;
|
||
|
}
|
||
|
|
||
|
/* Handle on hover */
|
||
|
aside::-webkit-scrollbar-thumb:hover,
|
||
|
.side-nav-block::-webkit-scrollbar-thumb:hover {
|
||
|
background: #555;
|
||
|
}
|
||
|
|
||
|
/*############################################# -- Common Actions */
|
||
|
|
||
|
.visible {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.fixed {
|
||
|
position: fixed;
|
||
|
}
|
||
|
|
||
|
.absolute {
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
.relative {
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.no-pointer-events {
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.pointer-events {
|
||
|
pointer-events: visible;
|
||
|
}
|
||
|
|
||
|
.spacer {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
height: 80px;
|
||
|
}
|
||
|
|
||
|
/*############################################# -- Header */
|
||
|
|
||
|
header {
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.logo-link-block h1 {
|
||
|
font-size: 28px;
|
||
|
margin: 0;
|
||
|
margin-bottom: 5px;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
nav a {
|
||
|
opacity: 0.5;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
nav a:hover {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.active-page {
|
||
|
opacity: 1;
|
||
|
border-bottom: 2px solid white;
|
||
|
}
|
||
|
|
||
|
/*############################################# -- Shuffled Text */
|
||
|
|
||
|
#__next {
|
||
|
max-width: 1200px;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
opacity: 0;
|
||
|
animation-name: shuffle;
|
||
|
animation-timing-function: ease-out;
|
||
|
animation-duration: 1s;
|
||
|
animation-fill-mode: forwards;
|
||
|
}
|
||
|
|
||
|
/* .shuffled-text-span span {
|
||
|
animation-name: shuffle;
|
||
|
animation-timing-function: ease-out;
|
||
|
animation-delay: 0.5s;
|
||
|
} */
|
||
|
|
||
|
@keyframes shuffle {
|
||
|
0% {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
100% {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/*############################################# -- Hero Section */
|
||
|
.hero-sub-text {
|
||
|
font-size: 24px;
|
||
|
color: rgba(255, 255, 255, 0.7);
|
||
|
}
|
||
|
|
||
|
.hero-ctas-section {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
margin-top: 40px;
|
||
|
gap: 20px;
|
||
|
}
|
||
|
|
||
|
.hero-ctas-section a {
|
||
|
padding: 10px 25px;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
font-size: inherit;
|
||
|
color: var(--dark-color);
|
||
|
background-color: white;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
|
||
|
.hero-ctas-section a:hover {
|
||
|
background-color: var(--dark-color);
|
||
|
color: white;
|
||
|
border-color: var(--transparent-white);
|
||
|
}
|
||
|
|
||
|
/*############################################# -- 404 page */
|
||
|
.not-found-page-wrapper {
|
||
|
display: flex;
|
||
|
align-items: flex-start;
|
||
|
justify-content: center;
|
||
|
flex-direction: column;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
/*############################################# -- Portfolio page */
|
||
|
.portfolio-entries-block {
|
||
|
display: grid;
|
||
|
gap: 40px;
|
||
|
grid-template-columns: 1fr 1fr;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.portfolio-entry-block {
|
||
|
max-width: 700px;
|
||
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
||
|
padding: 20px;
|
||
|
}
|
||
|
/*############################################# -- Contact Forms */
|
||
|
form {
|
||
|
margin-top: 40px;
|
||
|
max-width: 1000px;
|
||
|
width: 100%;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
gap: 20px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
input,
|
||
|
textarea {
|
||
|
padding: 15px 20px;
|
||
|
background-color: transparent;
|
||
|
color: white;
|
||
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
||
|
width: 100%;
|
||
|
resize: none;
|
||
|
}
|
||
|
|
||
|
.message-response {
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
background-color: var(--dark-color);
|
||
|
border: 2px solid #688e26;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
font-size: 24px;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.message-response.failed {
|
||
|
border: 2px solid #d42222;
|
||
|
}
|
||
|
|
||
|
#homepage-animation-wrapper {
|
||
|
width: 150%;
|
||
|
height: 100%;
|
||
|
background-color: var(--dark-color);
|
||
|
}
|
||
|
|
||
|
.tech-stack-header {
|
||
|
color: rgb(113, 116, 255);
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
|
.portfolio-image-wrapper {
|
||
|
width: 100%;
|
||
|
height: 300px;
|
||
|
margin-bottom: 15px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.portfolio-image {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
object-fit: cover;
|
||
|
width: 100%;
|
||
|
height: 300px;
|
||
|
object-position: left top;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
|
||
|
span img {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
object-fit: contain;
|
||
|
}
|
||
|
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
/* * */
|
||
|
|
||
|
/* .transition-fade {
|
||
|
transition: 0.4s;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
html.is-animating .transition-fade {
|
||
|
opacity: 0;
|
||
|
} */
|
||
|
|
||
|
/* ###############################################################################################
|
||
|
##################################################################################################
|
||
|
##################################################################################################
|
||
|
##################################################################################################
|
||
|
##################################### -- Mobile Styles -- ########################################
|
||
|
##################################################################################################
|
||
|
##################################################################################################
|
||
|
##################################################################################################
|
||
|
############################################################################################### */
|
||
|
|
||
|
@media (max-width: 1200px) {
|
||
|
}
|
||
|
|
||
|
@media (max-width: 990px) {
|
||
|
.portfolio-entries-block {
|
||
|
grid-template-columns: 1fr;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 800px) {
|
||
|
h1 {
|
||
|
font-size: 28px;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
flex-wrap: wrap;
|
||
|
gap: 15px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
padding: 20px;
|
||
|
padding-bottom: 80px;
|
||
|
}
|
||
|
|
||
|
.hero-ctas-section {
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 600px) {
|
||
|
.portfolio-image-wrapper {
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
.portfolio-image {
|
||
|
object-fit: contain;
|
||
|
height: auto;
|
||
|
margin: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 450px) {
|
||
|
}
|
||
|
|
||
|
@media (max-width: 350px) {
|
||
|
}
|