Current directory: /home/klas4s23/domains/585455.klas4s23.mid-ica.nl/public_html/Gastenboek/uploads
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap');
// Variables
$purple: #8800ff;
$dark-purple: #4e0092;
$white: #ffffff;
$black: #000000;
$transparent-black: #0000004a;
$text-shadow: 2px 2px $transparent-black;
$text-outline: -0.5px 0.5px 0 $purple,
0.5px 0.5px 0 $purple,
0.5px -0.5px 0 $purple,
-0.5px -0.5px 0 $purple;
$title-text-outline: -1px 2px 0 $purple,
1px 2px 0 $purple,
1px -1px 0 $purple,
-1px -1px 0 $purple;
$box-shadow: 2px 2px 4px #000000ad;
html {
font-family: Tektur;
overflow-x: hidden;
scrollbar-color: $purple $black;
}
* {
cursor: url(http://www.rw-designer.com/cursor-extern.php?id=48830), default !important;
}
a:any-link,
.project-container_project:hover,
.project-container_project img:hover,
.project-container_project-name:hover {
cursor: url(https://cur.cursors-4u.net/cursors/cur-11/cur1049.cur), default !important;
}
a {
text-decoration: none;
}
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto repeat(2, 1fr) auto;
background: linear-gradient(-45deg, $black, $purple, $dark-purple, $black);
background-size: 400% 400%;
animation: background-gradient 10s ease infinite;
margin: 0;
gap: 0px 0px;
}
.nav-bar {
grid-area: 1 / 1 / 2 / 4;
list-style-type: none;
background-color: $black;
padding: 20px;
margin: 0;
border-bottom: ridge $purple;
&_title {
color: $black;
margin-right: auto;
font-size: 250%;
text: {
align: left;
shadow: $title-text-outline;
}
}
&_item {
padding-top: 15px;
float: right;
position: sticky;
}
&_item a {
display: block;
color: $black;
padding: 14px 16px;
border: 4px outset $purple;
border-radius: 1px;
background-color: $purple;
font: {
family: Prompt;
weight: 600;
size: 20px;
}
text: {
align: center;
decoration: none;
shadow: 1px 1px #00000033;
}
&:hover {
border-color: #7a00e6;
text-shadow: -1px -1px #00000033;
background-color: #7a00e6;
}
&:active {
border: {
style: inset;
color: #5f00b3;
}
text-shadow: -1px -1px #00000033;
background-color: #5f00b3;
}
}
}
.sections {
display: flex;
align-items: center;
}
.main-content {
grid-area: 2 / 1 / 4 / 4;
margin: auto auto;
&_title {
font-family: Prompt;
font-weight: 500;
font-size: 35px;
color: $white;
border-bottom: 2px ridge $white;
text-shadow: $text-shadow;
height: 45px;
}
&_button {
color: $white;
font-family: Prompt;
border-style: outset;
border-color: $white;
text-decoration: none;
text-shadow: $text-shadow;
padding: 5px;
}
&_button:hover {
color: $purple;
border-style: inset;
border-color: $purple;
}
&_text {
font-size: 20px;
color: $white;
padding-top: 15px;
padding-bottom: 15px;
text-shadow: $text-shadow;
a {
color: $white;
text-decoration: underline;
}
a:hover {
color: $black;
}
&-languages-info {
list-style-type: square;
li::marker {
color: $black;
}
}
}
&_img {
width: 35px;
height: 35px;
padding: 5px;
}
&_right {
img {
border: 5px ridge $black;
border-radius: 2px;
}
img:not(.slideshow-container_slide_img) {
max-width: 200px;
}
}
}
.project-page .main-content,
.about-page .main-content {
padding: {
top: 100px;
bottom: 100px;
}
}
.contact-page .main-content {
padding: {
top: 117px;
bottom: 118px;
}
}
.contact-page .main-content_text {
display: flex;
align-items: center;
}
.slideshow-container {
position: relative;
margin: auto;
float: left;
max-width: 300px;
&_slide {
display: none;
text-align: center;
animation-name: fade;
animation-duration: 1s;
&_text {
color: $white;
text-shadow: -1px 1px 0 #0000006f,
1px 1px 0 #0000006f,
1px -1px 0 #0000006f,
-1px -1px 0 #0000006f;
font-size: 15px;
position: absolute;
bottom: 12px;
width: 90%;
text-align: center;
}
&_number {
color: $white;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
img {
width: 200px;
height: 250px;
object-fit: cover;
border-radius: 5px;
box-shadow: $box-shadow;
}
}
.prev,
.next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: $white;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
-webkit-user-select: none;
user-select: none;
background-color: $transparent-black;
font: {
weight: bold;
size: 18px;
}
}
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
background-color: $black;
}
}
footer {
grid-area: 4 / 1 / 5 / 4;
border-top: 2px solid $purple;
color: $black;
text-shadow: $text-outline;
background-color: $black;
padding: {
left: 65px;
top: 2px;
}
}
@keyframes fade {
from {
opacity: .4;
}
to {
opacity: 1;
}
}
@keyframes background-gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes gradient {
0% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.project-container {
display: flex;
&_project {
background-color: $black;
border: outset 4px #535353;
padding: 10px;
border-radius: 1px;
width: 25%;
box-shadow: 3px 3px 4px #0000009c;
cursor: pointer;
transition: all 0.3s ease-in-out;
img {
height: 82px;
}
&-name {
font-size: 20px;
color: $white;
margin: 0;
text-transform: uppercase;
text-align: center;
text-overflow: ellipsis;
max-width: 90%;
white-space: nowrap;
overflow: hidden;
}
}
}
.popup-container {
position: fixed;
display: none;
top: 0;
left: 0;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
backdrop-filter: grayscale(100%) blur(5px);
&.active {
display: flex;
}
.project-container_project {
padding: 20px;
border: {
style: groove;
color: $purple;
}
&-name {
text-overflow: none;
max-width: unset;
white-space: unset;
overflow: unset;
}
&,
&-name:hover,
img:hover {
cursor: url(http://www.rw-designer.com/cursor-extern.php?id=48830), default !important;
}
}
&_project {
&-description {
font: {
family: Prompt;
weight: 300;
size: 15px;
}
margin: 0;
text-align: start;
}
&-link {
color: $purple;
font-size: 15px;
text-decoration: underline;
&:hover {
font-style: oblique;
}
}
&-button {
color: $purple;
padding: 7px 10px;
border: 2px outset $purple;
border-radius: 1px;
background-color: $black;
transition: all .3s ease-in-out;
letter-spacing: 1px;
font: {
weight: 900;
size: 17px;
}
text: {
align: center;
decoration: none;
}
&:hover {
box-shadow: 0px 0px 5px 4px $dark-purple;
}
&:active {
border: {
style: inset;
color: darken($purple, 0.5);
}
}
@supports (-webkit-text-stroke: 1px $purple) {
-webkit-text-fill-color: $black;
-webkit-text-stroke: 1px $purple;
}
}
&-right {
color: $white;
&_footer {
display: flex;
justify-content: space-between;
em {
font-size: 12px;
align-self: end;
}
}
}
&-left,
&-right {
gap: 10px;
cursor: pointer;
}
&-right {
gap: 15px;
}
}
}
@media screen and (min-width:770px) {
.home-page {
height: 100vh;
}
.nav-bar {
display: flex;
align-items: center;
&_item {
margin-right: 5px;
width: 150px;
}
&_title {
margin-left: 50px;
}
}
.reveal {
display: none;
}
.main-content {
width: 800px;
height: fit-content;
&_text:last-child:not(.contact) {
font-size: 20px;
color: $white;
width: 600px;
padding-top: 35px;
padding-bottom: 35px;
text-shadow: $text-shadow;
}
}
.sections {
justify-content: space-between;
width: 900px !important;
}
.home-page .main-content,
.about-page .main-content,
.contact-page .main-content {
&_text,
&_title {
width: 605px;
}
}
.project-container {
flex-flow: row wrap;
gap: 10% 5%;
align: {
content: space-between;
items: center;
}
&_project {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 10px;
height: 100%;
gap: 10px;
}
}
.popup-container {
.project-container_project {
flex-direction: row;
align-items: flex-start;
height: auto;
width: 400px;
}
&.active &_project {
width: 50%;
&-left {
display: flex;
flex-direction: column;
align-items: center;
width: 40%;
}
&-right {
display: flex;
flex-direction: column;
justify-content: space-between;
height: -webkit-fill-available;
width: 60%;
}
}
}
footer {
height: 50px;
align-self: end;
}
}
@media screen and (max-width:770px) and (min-width:600px) {
.home-page {
height: 100vh;
}
.nav-bar {
display: flex;
flex-wrap: wrap;
padding: 0px 0px 10px 55px;
&_item {
margin-right: 60px;
}
&_title {
margin-right: 50px;
height: min-content;
margin-top: auto;
}
}
.home-page .sections {
margin: 0 !important;
justify-content: space-evenly;
}
.main-content_left {
width: 400px;
}
.main-content_right {
margin-left: 50px;
}
.project-container {
flex-wrap: wrap;
width: 600px;
&_project {
display: flex;
flex-direction: column;
align-items: center;
margin: 5px 5px 0px 3px;
}
&-name {
margin: auto;
}
}
.popup-container {
.project-container_project {
width: 50%;
gap: 10px;
}
&.active &_project {
&-left {
display: flex;
flex-direction: column;
align-items: center;
}
&-right {
display: flex;
flex-direction: column;
justify-content: space-between;
height: -webkit-fill-available;
}
}
}
.reveal {
display: none;
}
footer {
padding-left: 55px;
padding-top: 20px;
}
}
@media screen and (max-width:600px) {
.home-page {
height: 140vh;
}
.nav-bar {
padding-bottom: 78px;
&_title {
font-size: 190%;
}
&_item {
display: none;
}
}
.reveal {
position: relative;
top: 145px;
display: inline-block;
grid-area: 1 / 1 / 2 / 4;
&_button {
background-color: $purple;
border: 2px outset $dark-purple;
width: 65px;
height: 55px;
margin-left: 20px;
display: flex;
align-items: center;
}
&_button:active {
border: $dark-purple inset;
background-color: #7900e3;
}
&_content {
display: none;
position: absolute;
background-color: $black;
min-width: 160px;
box-shadow: 10px 5px 10px 0px #000000b3;
z-index: 1;
margin-left: 20px;
a {
text-shadow: 1px 1px #00000033;
font-family: Prompt;
font-weight: 500;
display: block;
padding: 12px 16px;
border: $purple 1px ridge;
color: $white;
}
}
}
.show {
display: block;
}
.main-content {
width: 300px;
&_title {
font-size: 27px;
border-bottom: 3px ridge $white;
}
&_text {
font-size: 15px;
}
}
.home-page .sections {
flex-direction: column-reverse !important;
}
.sections {
flex-direction: column;
justify-content: center;
}
.project-container {
flex-direction: column;
&_project {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 20px;
margin-top: 20px;
width: auto;
&-name {
margin: auto;
}
}
}
.popup-container {
.project-container_project {
width: 50%;
gap: 10px;
}
&.active &_project {
&-left {
display: flex;
flex-direction: column;
align-items: center;
}
&-right {
display: flex;
flex-direction: column;
justify-content: space-between;
height: -webkit-fill-available;
}
}
}
.slideshow-container {
margin: 0px 80px 40px 80px;
}
footer {
padding-left: 20px;
height: 50px;
}
}