personal-site/main.css

1440 lines
23 KiB
CSS
Raw Normal View History

2021-05-24 13:38:13 +00:00
html {
width: 100%;
overflow-x: hidden;
2021-06-20 07:02:27 +00:00
/* font-display: swap; */
2021-05-24 13:38:13 +00:00
scroll-behavior: smooth;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2021-06-26 09:11:17 +00:00
font-family: "Titillium Web", Helvetica;
2021-06-20 07:02:27 +00:00
/* font-display: swap; */
2021-05-24 13:38:13 +00:00
font-size: 18px;
line-height: 1.5;
color: #222;
2021-06-19 06:59:15 +00:00
position: relative;
/*
animation-timing-function: linear;
transition-timing-function: linear;
*/
}
:root {
--main-color: #747bef;
--base-color: #222;
--sec-color-1: #ed7d71;
--sec-color-2: #faa096;
--sec-color-3: #75F0E6;
--dark-color: #1c3766;
2021-05-24 13:38:13 +00:00
}
/*................................................... Body */
body {
width: 100%;
margin: 0px;
overflow: hidden;
2021-06-19 06:59:15 +00:00
display: flex;
flex-direction: column;
align-items: center;
2021-05-24 13:38:13 +00:00
}
header {
2021-06-19 06:59:15 +00:00
position: fixed;
left: 0;
top: 0;
2021-05-24 13:38:13 +00:00
width: 100%;
2021-06-19 06:59:15 +00:00
z-index: 1000;
padding: 40px;
2021-05-24 13:38:13 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2021-06-19 06:59:15 +00:00
height: 140px;
overflow: hidden;
2021-06-20 07:02:27 +00:00
perspective: 500px;
2021-06-19 06:59:15 +00:00
transition: all .3s ease;
}
header * {
/* transition: all .5s ease;*/
}
2021-06-26 09:11:17 +00:00
header > div:nth-of-type(1) {
position: relative;
transform-style: preserve-3d;
}
2021-06-19 06:59:15 +00:00
header.scrolled {
padding: 20px;
background-color: white;
/* box-shadow: 0px 0px 20px -5px rgba(0,0,0,0.4);*/
height: 80px;
}
#header-controller {
position: absolute;
width: 100%;
height: 15vh;
top: 0;
left: 0;
background: lightgray;
}
2021-06-26 09:11:17 +00:00
header img:not(#linkedin img) {
2021-06-19 06:59:15 +00:00
width: 40px;
margin-right: 10px;
/* transition: all .3s ease;*/
2021-05-25 21:07:56 +00:00
position: relative;
2021-06-19 06:59:15 +00:00
top: 0;
}
header > a {
2021-06-26 09:11:17 +00:00
font-family: "Titillium Web";
2021-06-19 06:59:15 +00:00
border: none;
color: inherit;
display: flex;
align-items: center;
font-weight: 900;
position: relative;
perspective: 500px;
transform-style: preserve-3d;
2021-06-26 09:11:17 +00:00
z-index: 10;
2021-06-19 06:59:15 +00:00
}
header > a > div {
line-height: 16px;
font-size: 24px;
color: var(--dark-color);
/* transition: all .3s ease;*/
}
nav {
display: flex;
align-items: center;
color: inherit;
2021-06-20 07:02:27 +00:00
height: 100%;
2021-06-19 06:59:15 +00:00
}
2021-06-20 07:02:27 +00:00
.nav-link {
2021-06-26 09:11:17 +00:00
font-size: 17px;
font-weight: 600;
2021-06-19 06:59:15 +00:00
padding: 10px 15px;
background-size: 100%;
background-repeat: no-repeat;
2021-06-26 09:11:17 +00:00
background-position: -200px 43px;
2021-06-19 06:59:15 +00:00
background-image: linear-gradient(90deg, var(--main-color), var(--sec-color-1));
color: inherit;
transition: background .3s ease;
}
2021-06-20 07:02:27 +00:00
.nav-link:hover {
color: var(--sec-color-2);
2021-06-26 09:11:17 +00:00
background-position: 0px 43px;
2021-06-20 07:02:27 +00:00
}
.active-anchor {
2021-06-26 09:11:17 +00:00
color: var(--sec-color-1);
background-position: 0px 43px;
}
.hamburger-button {
width: 40px;
height: 40px;
padding: 10px 0;
display: none;
flex-direction: column;
align-items: center;
justify-content: space-around;
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
.hamburger-button div {
width: 25px;
height: 3px;
background-color: white;
}
2021-05-24 13:38:13 +00:00
section {
2021-06-19 06:59:15 +00:00
display: flex;
position: relative;
width: 100%;
perspective: 500px;
padding: 0;
margin: 0;
height: 100vh;
overflow: hidden;
align-items: stretch;
}
section > div {
width: 50%;
2021-05-24 13:38:13 +00:00
display: flex;
2021-05-26 06:34:47 +00:00
flex-direction: column;
2021-06-19 06:59:15 +00:00
align-items: flex-start;
2021-05-24 13:38:13 +00:00
justify-content: center;
2021-06-19 06:59:15 +00:00
perspective: 500px;
transform-style: preserve-3d;
padding: 15%;
2021-05-25 20:30:40 +00:00
position: relative;
2021-05-24 13:38:13 +00:00
}
2021-06-19 06:59:15 +00:00
section > div p{
width: 350px;
color: inherit;
}
2021-05-24 13:38:13 +00:00
2021-06-19 06:59:15 +00:00
/*############################################# -- Text */
2021-05-24 13:38:13 +00:00
a {
text-decoration: none;
2021-06-19 06:59:15 +00:00
color: var(--dark-color);
border: none;
2021-05-24 13:38:13 +00:00
cursor: pointer;
font-size: inherit;
2021-06-19 06:59:15 +00:00
/* transition: all .3s ease-out;*/
2021-05-24 13:38:13 +00:00
}
a:hover {
2021-06-19 06:59:15 +00:00
border: none;
2021-05-24 13:38:13 +00:00
}
2021-06-19 06:59:15 +00:00
h1, h2, h3, h4 {
2021-06-26 09:11:17 +00:00
font-family: "Titillium Web";
2021-05-24 13:38:13 +00:00
margin-top: 0px;
2021-06-19 06:59:15 +00:00
margin-bottom: 15px;
width: 100%;
line-height: 1.2;
2021-05-24 13:38:13 +00:00
color: inherit;
2021-06-19 06:59:15 +00:00
font-weight: 700;
}
h1 {
2021-06-26 09:11:17 +00:00
font-size: 46px;
2021-05-24 13:38:13 +00:00
}
h2 {
2021-06-26 09:11:17 +00:00
font-size: 50px;
2021-06-19 06:59:15 +00:00
width: auto;
2021-06-26 09:11:17 +00:00
line-height: 1;
2021-05-24 13:38:13 +00:00
}
h3 {
2021-06-19 06:59:15 +00:00
2021-05-24 13:38:13 +00:00
}
h4 {
2021-06-19 06:59:15 +00:00
2021-05-24 13:38:13 +00:00
}
p {
2021-06-19 06:59:15 +00:00
font-size: 20px;
2021-05-24 13:38:13 +00:00
line-height: 1.5;
margin-top: 0px;
margin-bottom: 20px;
width: 100%;
font-weight: 400;
2021-06-26 09:11:17 +00:00
letter-spacing: .5px;
2021-05-24 13:38:13 +00:00
}
span {
font-size: inherit;
2021-06-19 06:59:15 +00:00
font-weight: inherit;
font-family: inherit;
color: inherit;
letter-spacing: inherit;
line-height: inherit;
}
span > a {
font-size: inherit;
font-weight: inherit;
font-family: inherit;
color: inherit;
letter-spacing: inherit;
line-height: inherit;
border: inherit;
border-color: inherit;
2021-05-24 13:38:13 +00:00
}
2021-06-19 06:59:15 +00:00
span > a:hover {
border: inherit;
border-color: inherit;
}
2021-05-24 13:38:13 +00:00
2021-06-19 06:59:15 +00:00
/*###################################################### -- Interactives */
2021-05-24 13:38:13 +00:00
button {
border: none;
2021-06-19 06:59:15 +00:00
background-color: var(--dark-color);
2021-05-24 13:38:13 +00:00
padding: 10px 20px;
color: white;
2021-06-19 06:59:15 +00:00
cursor: pointer;
background-image: linear-gradient(var(--main-color),var(--main-color));
background-repeat: no-repeat;
background-position: 0px 67px;
2021-06-20 07:02:27 +00:00
transition: background .3s ease;
2021-05-24 13:38:13 +00:00
}
button:hover {
2021-06-19 06:59:15 +00:00
background-position: 0px 0px;
2021-05-24 13:38:13 +00:00
}
input, textarea {
padding: 15px;
border-radius: 5px;
border: 1px solid rgba(0,0,0,0.2);
margin-bottom: 15px;
width: 100%;
font-size: 14px;
}
input:focus {
border: 1px solid blue;
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
}
2021-06-19 06:59:15 +00:00
/*############################################################# -- General classes and IDs -- */
2021-05-24 13:38:13 +00:00
2021-05-25 10:23:13 +00:00
2021-06-19 06:59:15 +00:00
.social-media-links {
width: 40px;
height: 40px;
border-radius: 50%;
margin: 5px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 18px;
background-color: var(--sec-color-1);
2021-06-26 09:11:17 +00:00
padding: 0;
overflow: hidden;
}
2021-06-26 09:11:17 +00:00
#linkedin img {
width: 20px;
height: 20px;
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
/* #mail {
background-color: var(--sec-color-2);
} */
#mail {
2021-06-19 06:59:15 +00:00
background-color: var(--main-color);
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
#linkedin {
2021-06-19 06:59:15 +00:00
background-color: var(--dark-color);
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
#linkedin:hover {
background-color: var(--main-color);
}
2021-06-19 06:59:15 +00:00
.scroll-into-view {
padding: 0;
width: 0;
transition: all .7s cubic-bezier(0.93, 0, 0.09, 1);
2021-05-24 13:38:13 +00:00
}
2021-06-19 06:59:15 +00:00
.scrolled-into-view {
width: 50%;
padding: 40px;
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
.scroll-into-view-content, .scroll-into-view-content-2 {
transform: translateY(80px) rotateX(5deg) translateZ(20px);
/* transition: all 1s cubic-bezier(0.1, 0.63, 0.355, 1); */
2021-06-19 06:59:15 +00:00
opacity: 0;
2021-06-26 09:11:17 +00:00
transform-style: preserve-3d;
2021-05-24 13:38:13 +00:00
}
2021-06-26 09:11:17 +00:00
/* .scrolled-into-view-content {
2021-06-19 06:59:15 +00:00
transform: none;
opacity: 1;
2021-06-26 09:11:17 +00:00
} */
2021-05-25 10:23:13 +00:00
2021-05-25 19:14:25 +00:00
2021-06-19 06:59:15 +00:00
/*############################################################# -- Hero -- */
.hero-section {
background-color: #1b239b;
justify-content: space-between;
2021-05-26 13:16:53 +00:00
}
2021-06-19 06:59:15 +00:00
.hero-section > div:nth-child(1) {
2021-05-26 13:16:53 +00:00
}
2021-06-19 06:59:15 +00:00
.hero-section > div:nth-child(2) {
background-color: white;
2021-06-26 09:11:17 +00:00
padding: 25vh 40px 40px 6.1vw;
font-size: 2.8vw;
2021-06-19 06:59:15 +00:00
display: inline;
z-index: 100;
2021-06-26 09:11:17 +00:00
transform-style: preserve-3d;
perspective: 600px;
z-index: 100;
2021-06-19 06:59:15 +00:00
/* opacity: 0;*/
2021-05-26 13:16:53 +00:00
}
2021-06-19 06:59:15 +00:00
.main-text-block {
font-size: inherit;
max-width: 80%;
2021-06-26 09:11:17 +00:00
transform-style: preserve-3d;
z-index: 100;
transform: translateZ(10px);
font-weight: 500;
2021-05-26 13:16:53 +00:00
}
2021-06-26 09:11:17 +00:00
.main-text-block h1 a {
2021-06-19 06:59:15 +00:00
color: var(--main-color);
background-image: linear-gradient(var(--main-color),var(--main-color));
2021-06-26 09:11:17 +00:00
background-position: 0px 5vw;
2021-06-19 06:59:15 +00:00
background-repeat: no-repeat;
2021-06-26 09:11:17 +00:00
transition: all .3s ease;
/* font-weight: 600; */
2021-06-19 06:59:15 +00:00
}
2021-06-26 09:11:17 +00:00
.main-text-block h1 a:hover {
color: var(--dark-color);
background-position: 0px 4.8vw;
2021-06-19 06:59:15 +00:00
background-image: linear-gradient(var(--dark-color),var(--dark-color));
padding: 5px 10px;
2021-05-26 13:16:53 +00:00
}
2021-06-26 09:11:17 +00:00
.hero-text-section-graphic {
position: absolute;
top: 0;
right: 5vw;
width: 15vw;
height: 90%;
background-color: rgba(28,55,102,0.05);
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
perspective: 600px;
padding-bottom: 30px;
}
.hero-text-section-graphic img, .hero-text-section-graphic a {
position: relative;
transform-style: preserve-3d;
}
.hero-text-section-graphic a {
width: 20px;
height: 20px;
}
.hero-text-section-graphic img {
width: 100%;
}
/* Hero Left Hand Section */
2021-06-19 06:59:15 +00:00
.main-hero-text {
font-size: inherit;
font-weight: 500;
width: auto;
display: inline;
2021-05-25 19:14:25 +00:00
}
2021-06-19 06:59:15 +00:00
.hero-section img {
position: absolute;
z-index: -1;
2021-05-25 20:30:40 +00:00
}
2021-06-19 06:59:15 +00:00
#clouds {
2021-06-26 09:11:17 +00:00
min-width: 110%;
min-height: 110vh;
left: -5%;
top: -5%;
2021-06-19 06:59:15 +00:00
opacity: 0.2;
}
#mountains {
width: 100%;
min-height: 100vh;
bottom: -20vh;
2021-06-26 09:11:17 +00:00
/* transition: all .5s ease-out; */
2021-06-19 06:59:15 +00:00
}
2021-06-26 09:11:17 +00:00
.benjamin-image-block-wrapper {
2021-06-19 06:59:15 +00:00
width: 15vw;
height: 80vh;
position: absolute;
bottom: -10px;
2021-06-26 09:11:17 +00:00
background-color: transparent;
2021-06-19 06:59:15 +00:00
left: 15vw;
background-size: cover;
2021-06-26 09:11:17 +00:00
opacity: 1;
2021-06-19 06:59:15 +00:00
padding: 0;
2021-06-26 09:11:17 +00:00
transform-style: preserve-3d;
}
.benjamin-image-block {
width: 100%;
height: 100%;
background-color: var(--sec-color-2);
background-image: url("images/hero-image-ben.jpg");
background-size: cover;
opacity: .8;
transform-style: preserve-3d;
transition: all 1s cubic-bezier(0.1, 0.63, 0.355, 1);
}
.benjamin-image-block-overlay {
width: 100%;
height: 100%;
opacity: 1;
transform-style: preserve-3d;
z-index: 10;
transition: all 1.5s cubic-bezier(0.1, 0.63, 0.355, 1);
2021-05-26 06:50:09 +00:00
}
2021-06-19 06:59:15 +00:00
.benjamin-big-text-block {
position: absolute;
2021-06-26 09:11:17 +00:00
font-size: 10.5vw;
bottom: 0px;
2021-06-19 06:59:15 +00:00
left: 5%;
font-weight: 900;
2021-06-26 09:11:17 +00:00
line-height: .8;
2021-05-26 06:50:09 +00:00
color: white;
2021-06-19 06:59:15 +00:00
mix-blend-mode: overlay;
filter: drop-shadow(0 0 20px rgba(0,0,0,0.4));
padding: 40px;
2021-06-26 09:11:17 +00:00
transform-style: preserve-3d;
/* transition: all .5s ease; */
2021-05-26 06:50:09 +00:00
}
2021-05-25 20:30:40 +00:00
.main-cta-button {
2021-06-19 06:59:15 +00:00
font-size: 24px;
2021-06-26 09:11:17 +00:00
padding: 0;
2021-06-19 06:59:15 +00:00
margin-top: 20px;
background-color: var(--sec-color-1);
transition: all .3s ease-out;
background-image: linear-gradient(var(--dark-color),var(--dark-color));
2021-06-26 09:11:17 +00:00
padding: 15px 0px;
transform: translateZ(10px);
}
.main-cta-button a {
/* font-size: 24px; */
padding: 15px 40px;
color: white;
2021-05-25 20:30:40 +00:00
}
.main-cta-button:hover {
2021-06-19 06:59:15 +00:00
background-image: linear-gradient(var(--dark-color),var(--dark-color));
background-position: 0px 0px;
background-repeat: no-repeat;
2021-05-25 20:30:40 +00:00
}
2021-06-26 09:11:17 +00:00
.main-cta-button a:hover {
/* font-size: 24px; */
padding: 15px 40px;
}
2021-06-20 07:02:27 +00:00
.hero-scroll-down-block {
position: absolute;
2021-06-26 09:11:17 +00:00
right: 7vw;
bottom: 10vh;
2021-06-20 07:02:27 +00:00
height: auto;
}
.hero-scroll-down-block > a {
display: flex;
flex-direction: column;
height: auto;
align-items: center;
}
.hero-scroll-down-block div {
transform: rotate(-90deg);
font-size: 70px;
}
2021-06-26 09:11:17 +00:00
.rotating-text-image {
position: absolute;
width: 120px;
height: 120px;
opacity: .3;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-display-block {
width: 300px;
height: 200px;
position: absolute;
background-color: white;
border-radius: 20px;
z-index: 200;
top: -20px;
right: -200px;
box-shadow: 0px 0px 30px -5px rgba(0,0,0,0.2);
transition: all .8s cubic-bezier(0.075, 0.82, 0.165, 1);
opacity: 0;
transform-style: preserve-3d;
}
2021-05-25 20:30:40 +00:00
2021-05-26 13:16:53 +00:00
2021-05-24 13:38:13 +00:00
2021-05-26 13:16:53 +00:00
2021-06-19 06:59:15 +00:00
/*############################################################# -- My Work -- */
2021-06-19 06:59:15 +00:00
.my-work-section {
}
2021-06-19 06:59:15 +00:00
.my-work-section > div:nth-child(1) {
color: rgba(0,0,0,0.6);
align-items: flex-end;
}
2021-06-19 06:59:15 +00:00
.my-work-section > div:nth-child(2) {
background-color: var(--sec-color-2);
2021-06-26 09:11:17 +00:00
display: flex;
align-items: center;
justify-content: center;
perspective: 600px;
transform-style: preserve-3d;
2021-06-19 06:59:15 +00:00
/* width: 20%;*/
}
2021-06-19 06:59:15 +00:00
.my-work-section h2 {
text-align: right;
color: rgba(0,0,0,.8);
2021-05-25 10:23:13 +00:00
}
2021-06-19 06:59:15 +00:00
.my-work-section p {
text-align: right;
2021-05-25 20:49:37 +00:00
}
2021-06-26 09:11:17 +00:00
.portfolio-items-container {
width: 70%;
height: 70%;
background-color: white;
box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.2);
transform-style: preserve-3d;
}
2021-05-26 06:34:47 +00:00
2021-05-26 13:16:53 +00:00
2021-06-03 21:35:02 +00:00
2021-06-19 06:59:15 +00:00
/*############################################################# -- About Me -- */
2021-06-03 21:35:02 +00:00
2021-06-19 06:59:15 +00:00
.about-me-section {
justify-content: flex-end;
}
2021-06-03 21:35:02 +00:00
2021-06-19 06:59:15 +00:00
.about-me-section > div:nth-child(1) {
background-color: var(--sec-color-3);
/* width: 20%;*/
}
2021-06-03 21:35:02 +00:00
2021-06-26 09:11:17 +00:00
.about-me-section > div:nth-child(2) p {
color: rgba(0,0,0,.7);
}
2021-06-03 21:35:02 +00:00
2021-05-26 13:16:53 +00:00
2021-06-19 10:03:18 +00:00
/*############################################################# -- My Specialties -- */
2021-05-26 13:16:53 +00:00
2021-06-19 06:59:15 +00:00
.my-specialties-section {
justify-content: flex-start;
align-items: center;
flex-direction: column;
background-color: var(--dark-color);
color: white;
text-align: center;
2021-06-26 09:11:17 +00:00
padding: 150px 80px 120px 80px;
height: auto;
2021-06-19 06:59:15 +00:00
}
2021-05-26 13:16:53 +00:00
2021-06-19 06:59:15 +00:00
.my-specialties-section h2 {
2021-05-26 06:34:47 +00:00
}
2021-06-19 06:59:15 +00:00
.my-specialties-section p {
color: rgba(255,255,255,0.70);
max-width: 800px;
2021-05-26 06:34:47 +00:00
}
2021-06-19 06:59:15 +00:00
.my-specialties-section > div {
2021-06-26 09:11:17 +00:00
max-width: 960px;
2021-06-19 06:59:15 +00:00
width: 100%;
display: flex;
flex-wrap: wrap;
flex-direction: row;
2021-06-26 09:11:17 +00:00
padding: 0;
margin-bottom: 30px;
2021-05-26 06:34:47 +00:00
}
2021-06-19 06:59:15 +00:00
.my-specialties-section > div > div {
2021-06-26 09:11:17 +00:00
width: 80px;
height: 80px;
2021-06-19 06:59:15 +00:00
background-color: var(--main-color);
margin: 10px;
border-radius: 50%;
transform-style: preserve-3d;
2021-06-26 09:11:17 +00:00
padding: 20px;
/* cursor: pointer; */
transition: all .8s cubic-bezier(0.075, 0.82, 0.165, 1);
position: relative;
}
.my-specialties-section > div > div:hover {
background-color: rgba(99,105,176,0.6);
}
.my-specialties-section > div > div:nth-of-type(4) {
/* padding: 10px; */
}
.my-specialties-section > div img {
width: 100%;
height: 100%;
}
.my-specialties-section > div > div > div {
padding: 20px;
border-radius: 10px;
background-color: var(--sec-color-1);
color: white;
position: absolute;
top: -70px;
left: 50%;
box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.3);
white-space: nowrap;
transition: all .4s cubic-bezier(0.075, 0.82, 0.165, 1);
opacity: 0;
pointer-events: none;
transform: translateX(-50%);
}
.my-specialties-section > div > div:hover > div {
opacity: 1;
top: -80px;
}
.my-specialties-section > button {
background: transparent;
border: 2px solid rgba(255,255,255,0.4);
}
.my-specialties-section > button:hover {
background: var(--sec-color-1);
border: 2px solid transparent;
2021-05-26 06:34:47 +00:00
}
2021-06-26 09:11:17 +00:00
/* .my-specialties-section > button::before {
content: "";
width: 200px;
height: 50px;
background-color: salmon;
position: absolute;
top: -200px;
} */
2021-05-25 10:23:13 +00:00
2021-06-20 07:02:27 +00:00
/*############################################################# -- Contact Me/footer -- */
2021-06-19 10:03:18 +00:00
.contact-section {
position: relative;
2021-06-20 07:02:27 +00:00
justify-content: flex-start;
}
.contact-section > div:nth-of-type(1) {
align-items: flex-end;
text-align: right;
}
.contact-section > div:nth-of-type(1) a {
color: var(--main-color);
border-bottom: 1px solid var(--main-color);
display: flex;
align-items: center;
}
.contact-section > div:nth-of-type(1) > div {
display: flex;
align-items: center;
height: 50px;
border: 1px solid #efefef;
padding: 10px;
color: #777;
margin-top: 20px;
}
.contact-section > div:nth-of-type(1) > div > div {
font-size: 14px;
color: inherit;
2021-06-19 10:03:18 +00:00
}
.contact-section > div:nth-of-type(2) {
background-color: var(--sec-color-1);
2021-06-20 07:02:27 +00:00
height: 100%;
display: flex;
justify-content: center;
align-items: center;
transform-style: preserve-3d;
}
.contact-section > div:nth-of-type(2) > div {
transform-style: preserve-3d;
perspective: 600px;
2021-06-19 10:03:18 +00:00
}
.contact-section-controller {
width: 100%;
2021-06-20 07:02:27 +00:00
height: 80px;
2021-06-19 10:03:18 +00:00
position: absolute;
bottom: 0;
left: 0;
padding: 0;
}
2021-06-20 07:02:27 +00:00
.footer-bar {
position: absolute;
display: flex;
flex-direction: row;
align-items: flex-end;
width: 960px;
height: 240px;
padding: 0px;
bottom: 40px;
pointer-events: none;
left: 50%;
transform: translateX(-50%);
}
.main-cta-form {
max-width: 500px;
/* mix-blend-mode: darken;*/
transform-style: preserve-3d;
}
/* .main-cta-form * {
transform-style: preserve-3d;
transition: all .3s ease;
} */
.main-cta-form input {
background-color: transparent;
border: none;
border-bottom: 2px solid white;
height: 50px;
color: white;
border-radius: 0px;
margin-bottom: 0px;
font-size: 20px;
}
.main-cta-form input:focus {
outline: 2px solid white;
box-shadow: none;
}
.main-cta-form textarea {
background-color: transparent;
border: none;
border-bottom: 2px solid white;
color: white;
border-radius: 0px;
margin-bottom: 20px;
font-size: 20px;
}
.main-cta-form textarea::placeholder,
.main-cta-form input::placeholder {
color: rgba(255,255,255,0.70);
}
.main-cta-form textarea:focus {
outline: 2px solid white;
}
.main-cta-form button {
width: 100%;
}
2021-06-19 10:03:18 +00:00
2021-05-25 10:23:13 +00:00
2021-06-19 06:59:15 +00:00
/* ################################################### Animations*/
2021-05-25 10:23:13 +00:00
2021-06-19 06:59:15 +00:00
/*##################################################################################################### -- Mobile Styles */
@media (max-width: 1200px) {
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
section {
height: auto;
}
section > div {
padding: 100px 60px;
}
.hero-section > div:nth-child(2) {
padding: 140px 30px 60px 60px;
font-size: 36px;
}
.hero-section {
height: 600px;
}
.hero-text-section-graphic {
height: 100%;
width: 40%;
}
.main-text-block h1 a {
background-position: 0px 60px;
}
.main-text-block h1 a:hover {
background-position: 0px 50px;
}
.benjamin-image-block-wrapper {
height: 80%;
width: 200px;
}
.contact-section {
height: 100vh;
}
section > div p {
width: 100%;
}
2021-05-25 20:30:40 +00:00
}
@media (max-width: 800px) {
2021-06-26 09:11:17 +00:00
.hamburger-button {
display: flex;
}
section > div p {
width: 100%;
text-align: center;
}
section {
flex-direction: column;
}
section > div {
width: 100%;
align-items: center;
}
h1,h2,h3,h4,h4 {
text-align: center;
width: 100%;
}
2021-05-25 20:30:40 +00:00
2021-06-26 09:11:17 +00:00
section {
height: auto;
}
section > div {
padding: 60px 40px;
}
2021-05-26 16:14:31 +00:00
2021-06-26 09:11:17 +00:00
.scrolled-into-view {
width: 100%;
}
header {
overflow: visible;
}
nav {
/* opacity: .4; */
flex-direction: column;
width: 100%;
position: relative;
}
header > div:nth-of-type(1) {
position: fixed;
top: 0px;
opacity: 0;
left: 0;
width: 100%;
pointer-events: none;
overflow: hidden;
height: 0px;
background-color: white;
border-bottom: 2px solid #ddd;
z-index: 0;
padding-top: 120px;
box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}
/* Hero section */
.hero-section {
flex-direction: row;
transition: all .5s ease;
height: 500px;
}
.hero-section > div:nth-child(2) {
}
.hero-text-section-graphic {
height: 100%;
width: 50%;
}
.benjamin-image-block-wrapper {
}
#clouds {
height: 100%;
min-height: auto;
top: auto;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
height: auto;
min-height: auto;
width: 1200px;
}
.hero-section > div:nth-child(1) {
width: 20%;
}
.hero-section > div:nth-child(2) {
padding: 120px 40px 120px 60px;
font-size: 30px;
}
2021-05-26 13:16:53 +00:00
2021-06-26 09:11:17 +00:00
.main-text-block {
padding: 0;
max-width: 100%;
}
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
.benjamin-big-text-block {
position: absolute;
font-size: 8.5vw;
bottom: 0px;
left: -25%;
}
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
.benjamin-image-block-wrapper {
height: 70%;
}
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
/* My work section */
.my-work-section {
height: auto;
padding: 60px 0;
}
.my-work-section > div:nth-child(2) {
width: 100%;
height: auto;
padding: 80px;
}
.my-work-section h2 {
text-align: center;
}
.my-work-section p {
text-align: center;
}
.portfolio-items-container {
height: 400px;
}
/* About Me section */
.about-me-section {
justify-content: flex-start;
flex-direction: column-reverse;
}
.about-me-section > div:nth-child(1) {
height: 500px;
}
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
/* Contact Me section */
.contact-section {
height: auto;
}
.contact-section > div:nth-of-type(1) {
align-items: center;
}
.contact-section-controller {
height: 0px;
display: none;
}
2021-05-25 10:23:13 +00:00
2021-06-26 09:11:17 +00:00
}
@media (max-width: 600px) {
h1 {
font-size: 36px;
}
h2 {
font-size: 36px;
}
section > div {
padding: 60px 20px;
}
header {
padding: 20px;
}
/* Hero section */
.hero-section {
flex-direction: column;
align-items: center;
overflow: visible;
z-index: 100;
height: auto;
}
.hero-section > div:nth-child(2) {
padding: 40px;
width: 100%;
}
.hero-section > div:nth-child(1) {
width: 100%;
height: 400px;
}
.hero-text-section-graphic {
height: 120%;
width: 40%;
}
.benjamin-image-block-wrapper {
top: 0px;
bottom: auto;
left: auto;
right: auto;
margin-left: 80px;
}
#clouds {
height: 100%;
min-height: auto;
top: -100px;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
top: -200px;
bottom: auto;
}
2021-05-25 10:38:58 +00:00
2021-06-26 09:11:17 +00:00
.main-text-block {
padding: 0;
}
.benjamin-big-text-block {
top: 190px;
font-size: 100px;
bottom: auto;
left: 0;
}
.benjamin-image-block-wrapper {
height: 70%;
}
/* My work section */
.my-work-section > div:nth-child(2) {
padding: 40px;
}
.portfolio-items-container {
height: 300px;
width: 300px;
}
/* Contact Me section */
.contact-section {
height: auto;
}
.contact-section > div:nth-of-type(1) {
align-items: center;
}
.contact-section-controller {
height: 0px;
display: none;
}
/* My Specialties Section */
.my-specialties-section {
padding: 100px 20px;
}
2021-05-25 20:30:40 +00:00
}
2021-06-19 06:59:15 +00:00
@media (max-width: 430px) {
2021-06-26 09:11:17 +00:00
p {
font-size: 16px;
}
2021-05-26 14:01:24 +00:00
2021-06-26 09:11:17 +00:00
/* Hero section */
.hero-section > div:nth-child(2) {
padding: 60px 40PX;
font-size: 24PX;
}
.hero-section > div:nth-child(1) {
width: 100%;
height: 400px;
}
.benjamin-image-block-wrapper {
width: 50%;
top: 0px;
bottom: auto;
left: auto;
right: 0;
margin-left: 0px;
}
#clouds {
height: 100%;
min-height: auto;
top: -100px;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
top: -200px;
bottom: auto;
left: -500px;
}
.benjamin-big-text-block {
top: 235px;
font-size: 75px;
bottom: auto;
left: 0;
}
.benjamin-image-block-wrapper {
height: 70%;
}
2021-05-26 13:16:53 +00:00
2021-06-19 06:59:15 +00:00
2021-05-26 13:16:53 +00:00
}
@media (max-width: 350px) {
2021-05-25 10:23:13 +00:00
2021-05-26 13:16:53 +00:00
2021-05-25 10:23:13 +00:00
}
2021-05-24 13:38:13 +00:00