mirror of
https://github.com/Kugelschieber/schnittfest.git
synced 2026-01-18 10:20:27 +00:00
481 lines
8.1 KiB
SCSS
481 lines
8.1 KiB
SCSS
@import "_reset.scss";
|
|
@import "_grid.scss";
|
|
|
|
html {
|
|
background-color: black;
|
|
font-family: "Manrope", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
|
--beige: #F7EEE0;
|
|
--yellow: #FEBB28;
|
|
--orange: #FE6732;
|
|
--red: #F5303C;
|
|
--pink: #CE2867;
|
|
--purple: #571B47;
|
|
}
|
|
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
h1, h2, h3, p {
|
|
margin-block-start: 0;
|
|
margin-block-end: 0;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-weight: 700;
|
|
line-height: 1.1;
|
|
letter-spacing: -2%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 80px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 64px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 48px;
|
|
}
|
|
|
|
p {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
button {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
padding: 23px 32px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.bg { // background
|
|
&-white {
|
|
background-color: white;
|
|
}
|
|
|
|
&-beige {
|
|
background-color: var(--beige);
|
|
}
|
|
|
|
&-yellow {
|
|
background-color: var(--yellow);
|
|
}
|
|
|
|
&-orange {
|
|
background-color: var(--orange);
|
|
}
|
|
|
|
&-red {
|
|
background-color: var(--red);
|
|
}
|
|
|
|
&-pink {
|
|
background-color: var(--pink);
|
|
}
|
|
|
|
&-purple {
|
|
background-color: var(--purple);
|
|
}
|
|
|
|
&-black {
|
|
background-color: black;
|
|
}
|
|
}
|
|
|
|
.p { // padding
|
|
&-t { // top
|
|
&-l { // large
|
|
padding-top: 192px;
|
|
}
|
|
}
|
|
|
|
&-b { // bottom
|
|
&-l { // large
|
|
padding-bottom: 192px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 96px;
|
|
color: white;
|
|
z-index: 100;
|
|
|
|
.container {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
ul {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: flex-end;
|
|
text-align: right;
|
|
|
|
li {
|
|
margin-left: 64px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: color 0.2s ease-in-out;
|
|
|
|
&:nth-of-type(1):hover {
|
|
color: var(--yellow);
|
|
}
|
|
|
|
&:nth-of-type(2):hover {
|
|
color: var(--orange);
|
|
}
|
|
|
|
&:nth-of-type(3):hover {
|
|
color: var(--red);
|
|
}
|
|
|
|
&:nth-of-type(4):hover {
|
|
color: var(--pink);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-start {
|
|
.hero {
|
|
max-height: 320px;
|
|
padding-right: 64px;
|
|
}
|
|
|
|
h1 {
|
|
height: 192px;
|
|
max-height: 192px;
|
|
margin-bottom: 64px;
|
|
color: white;
|
|
}
|
|
|
|
button.primary {
|
|
color: black;
|
|
background-color: var(--yellow);
|
|
margin-right: 32px;
|
|
|
|
&:hover {
|
|
background-color: var(--orange);
|
|
}
|
|
}
|
|
|
|
button.secondary {
|
|
color: var(--beige);
|
|
background-color: var(--purple);
|
|
|
|
&:hover {
|
|
background-color: var(--pink);
|
|
}
|
|
}
|
|
|
|
.stripe {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
|
|
div {
|
|
height: 64px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-work {
|
|
h2 {
|
|
position: sticky;
|
|
top: 256px;
|
|
color: white;
|
|
writing-mode: vertical-lr;
|
|
-webkit-text-orientation: mixed;
|
|
text-orientation: mixed
|
|
}
|
|
|
|
.videos > div {
|
|
margin-bottom: 64px;
|
|
|
|
&:last-of-type {
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-service {
|
|
.square {
|
|
padding: 64px;
|
|
}
|
|
|
|
h3 {
|
|
color: white;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
button {
|
|
display: inline-flex;
|
|
color: white;
|
|
background-color: var(--purple);
|
|
margin-top: 64px;
|
|
|
|
&:hover {
|
|
background-color: var(--pink);
|
|
}
|
|
}
|
|
}
|
|
|
|
.section-rental {
|
|
overflow: hidden;
|
|
|
|
.parts {
|
|
position: relative;
|
|
max-width: 720px;
|
|
min-height: 256px;
|
|
margin: 0 auto;
|
|
|
|
img:not(#part0) {
|
|
position: absolute;
|
|
filter: contrast(1.3) saturate(0.6) sepia(0.1);
|
|
}
|
|
|
|
#part0 {
|
|
width: 100%;
|
|
}
|
|
|
|
#part1 {
|
|
width: 29%;
|
|
left: 34%;
|
|
}
|
|
|
|
#part2 {
|
|
width: 8.5%;
|
|
left: 24%;
|
|
margin-top: 2%;
|
|
}
|
|
|
|
#part3 {
|
|
width: 19%;
|
|
left: 0;
|
|
margin-top: 2%;
|
|
}
|
|
|
|
#part4 {
|
|
width: 17%;
|
|
left: 2%;
|
|
margin-top: 15%;
|
|
}
|
|
|
|
#part5 {
|
|
width: 5.5%;
|
|
left: 70%;
|
|
margin-top: 9%;
|
|
}
|
|
|
|
#part6 {
|
|
width: 22%;
|
|
left: 64%;
|
|
margin-top: 1%;
|
|
}
|
|
|
|
#part7 {
|
|
width: 12.5%;
|
|
left: 87.5%;
|
|
margin-top: 1%;
|
|
}
|
|
|
|
#part8 {
|
|
width: 37%;
|
|
left: 30%;
|
|
margin-top: 28%;
|
|
}
|
|
|
|
#part9 {
|
|
width: 22.5%;
|
|
left: 0;
|
|
margin-top: 28%;
|
|
}
|
|
|
|
#part10 {
|
|
width: 49%;
|
|
left: 20%;
|
|
margin-top: 40%;
|
|
}
|
|
|
|
#part11 {
|
|
width: 14%;
|
|
left: 2%;
|
|
margin-top: 36%;
|
|
}
|
|
|
|
#part12 {
|
|
width: 27%;
|
|
left: 72%;
|
|
margin-top: 31%;
|
|
}
|
|
|
|
#part13 {
|
|
width: 24%;
|
|
left: 48%;
|
|
margin-top: 48%;
|
|
}
|
|
|
|
#part14 {
|
|
width: 19%;
|
|
left: 24%;
|
|
margin-top: 48%;
|
|
}
|
|
|
|
#part15 {
|
|
width: 4.5%;
|
|
left: 15%;
|
|
margin-top: 47%;
|
|
}
|
|
|
|
#part16 {
|
|
width: 24%;
|
|
left: 75%;
|
|
margin-top: 48%;
|
|
}
|
|
|
|
#part17 {
|
|
width: 7.5%;
|
|
left: 2%;
|
|
margin-top: 44%;
|
|
}
|
|
|
|
#part18-1 {
|
|
width: 14%;
|
|
left: 46%;
|
|
margin-top: 72%;
|
|
}
|
|
|
|
#part18-2 {
|
|
width: 14%;
|
|
left: 46%;
|
|
margin-top: 86%;
|
|
}
|
|
|
|
#part19-1 {
|
|
width: 17%;
|
|
left: 22%;
|
|
margin-top: 70%;
|
|
}
|
|
|
|
#part19-2 {
|
|
width: 17%;
|
|
left: 22%;
|
|
margin-top: 84%;
|
|
}
|
|
|
|
#part20 {
|
|
width: 13.5%;
|
|
left: 66%;
|
|
margin-top: 73%;
|
|
}
|
|
|
|
#part21 {
|
|
width: 11.5%;
|
|
left: 6%;
|
|
margin-top: 73%;
|
|
}
|
|
|
|
#part22 {
|
|
width: 13.5%;
|
|
left: 84%;
|
|
margin-top: 73%;
|
|
}
|
|
|
|
#part23 {
|
|
width: 28%;
|
|
left: 22%;
|
|
margin-top: 102%;
|
|
}
|
|
|
|
#part24 {
|
|
width: 37.5%;
|
|
left: 60%;
|
|
margin-top: 100%;
|
|
}
|
|
|
|
#part25 {
|
|
width: 20%;
|
|
left: 14%;
|
|
margin-top: 105%;
|
|
}
|
|
|
|
#part26 {
|
|
width: 40%;
|
|
left: 43%;
|
|
margin-top: 106%;
|
|
}
|
|
|
|
#part27 {
|
|
width: 22.5%;
|
|
left: 20%;
|
|
margin-top: 115%;
|
|
}
|
|
|
|
#part28 {
|
|
width: 22%;
|
|
left: 47%;
|
|
margin-top: 130%;
|
|
}
|
|
|
|
#part29-1 {
|
|
width: 3%;
|
|
left: 4%;
|
|
margin-top: 106%;
|
|
}
|
|
|
|
#part29-2 {
|
|
width: 3%;
|
|
left: 8%;
|
|
margin-top: 106%;
|
|
}
|
|
|
|
#part30 {
|
|
width: 19%;
|
|
left: 70%;
|
|
margin-top: 116%;
|
|
}
|
|
|
|
#part31-1 {
|
|
width: 2.5%;
|
|
left: 13%;
|
|
margin-top: 125.5%;
|
|
}
|
|
|
|
#part31-2 {
|
|
width: 2.5%;
|
|
left: 16%;
|
|
margin-top: 125.5%;
|
|
}
|
|
|
|
#part32-1 {
|
|
width: 2.75%;
|
|
left: 20%;
|
|
margin-top: 126%;
|
|
}
|
|
|
|
#part32-2 {
|
|
width: 2.75%;
|
|
left: 24%;
|
|
margin-top: 126%;
|
|
}
|
|
}
|
|
}
|