// @font-face {
//     font-family: 'SuisseWorks';
//     src: url('/css/SuisseWorks-BoldItalic.otf') format('otf'),
//          url('/css/SuisseWorks-Regular.otf') format('otf'),
//          url('SuisseWorks-Medium.otf') format('otf'),
//          url('SuisseWorks-Bold.otf') format('otf'),
//          url('SuisseWorks-Italic.otf') format('otf');
// }

@font-face {
	font-family: "diatype";
	src: url('../stuff/ABCDiatype-Regular.woff') format("woff");
	font-weight: normal; 
	font-style: normal; /* Optional: Specify font style */
  }

h1, h2, h3, h4 {
	display: inline;
	font-family: 'diatype';

}

h1 {
	font-size: 25pt;
	letter-spacing: 1px;
	font-family: 'diatype';
	font-style: bold;

}
h2 {
	font-family: 'diatype';
	font-size: 18pt;

}
h3 {
	font-size: 18pt;
	font-family: 'diatype';
	color: green; /*green win*/

}

h4 {
	font-style: normal;
	font-size: 18pt;
	color: #c90226; /*red fail*/
}



.logo {
	position: relative;
	font-size: 20px;
	z-index: 3;
	color: #000000;

}

.logo2 {
	position: relative;
	top: -10;
	left: 5;
	color: #c90226;
	font-size: 25px;
	z-index: 4;
	text-align: center;
}

.name-overlay {
	position: absolute; 
	top: 10px; 
	left: 20px; 
	z-index: -1; 
	font-family: 'diatype'; 
	font-size: 55px; 
	color: rgba(0, 0, 0,); 
	pointer-events: none; 
  }

.b1 {
 	width: 100%;
 	position: relative;
  	padding-top: 50px;
 }

 .b2 {
	display: grid; 
	grid-template-columns: repeat(3, 1fr);
	gap: 20px; 
	padding: 20px;
  
 }

#backgroundDiv {
  width: 100%;
  height: 100%;
  background: white;
  position: fixed;
  z-index: -100;
  top: 0;
  -webkit-transform: translateX();
  transition: all 0.5s ease-in;
}

#backgroundDiv.active {
  width: 200px;
  height: 200px;
  background: #f00;
   -webkit-transition: all 3s ease;
         -moz-transition: all 1s ease;
         -o-transition: all 1s ease;
         -ms-transition: all 1s ease;
         transition: all 1s ease;
}

.thumbnails {
	width: 200px;
	height: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;

		-webkit-transition: all 1s ease;
         -moz-transition: all 1s ease;
         -o-transition: all 1s ease;
         -ms-transition: all 1s ease;
         transition: all 1s ease;
    box-shadow: 1px 1px 0px red;
	pointer-events: auto;
}

.thumbnails img {
	position: relative;	
	display: block;
    max-width: 100%;
	height: auto;
	// z-index: 10;
	transition: all 0.3s ease; 
}


.thumbnails img.hover {
    display: none; /* Initially hide the hover image */
}

.thumbnails:hover img.original {
    display: none; /* Hide the original image on hover */
}

.thumbnails:hover img.hover {
    display: block; /* Show the hover image on hover */
}

.vertical-text {
	float: left;
	transform: rotate(90deg);
	transform-origin:  left 0;
	margin-left: 40px;
	margin-top: -60px;
	font-size: 25px;
	word-spacing: 80px;
	width: 100%;
	position: fixed;
	background-color: white;
	padding-right: 40px;
	padding-bottom: 20px;
	padding-left: 60px;
	padding-top: 10px;
	border-top: 1px solid black;

}

@media (width: 768px) {
	.vertical-text {
	margin-left: 25px;
	padding-top: 10px;
	}
}

@media (max-width: 700px) {
	.vertical-text {
		visibility: hidden;
	}

}

.vertical-text a {
	color: black;
	text-decoration: none;
    font-family: 'diatype';



}

@media (min-width: 700px) {
	.nav {
		position: absolute;
		margin-left: 10px;
		margin-right: 10px;
		visibility: hidden;
	}

}

.vertical-text :hover {
    text-decoration: underline;
}

.nav {
    position: absolute;
    list-style-type: none;
    padding-left: 5px;
    width: 200px;
    margin-top: 10px;

}

@media (max-width: 600px) {
	.nav {
		position: relative;
		margin-left: auto;
		margin-right: auto;
	}

}


.nav .navbar {
    width: 150px;
    background-color: #dddddd;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 12px;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
	.nav .navbar {
		text-align: center;
	}
}

.nav .navbar a {
	color: black;
	text-decoration: none;
}

.nav .navbar :hover {
	text-decoration: underline;

}

.welcome {
	font-size: 12pt;
	color: #26c902; /*green*/
}
.img {
    margin: 5px;
    border: 1px solid #000000;
    width: 200px;

}

.img:hover {
    border: 1px solid #ffffff;
}

.img img {
    max-width: 100%;
    height: auto;
}

.desc {
    padding: 15px;
    text-align: center;
}

.clear {
	clear: both;
}

.projects {
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	margin-top: 40px;
	margin-bottom: 40px;
	padding-top: 10px;



}
.projects a {
	font-size: 25px;
	padding-top: 50px;
	margin-right: auto;
	margin-left: auto;
	color: black;
	position: center;
	margin-top: 50px;
    text-decoration: none;
	font-family: 'diatype';  
}

@media (max-width: 600px) {
	.projects  {
		width: 90%;
	}
}

.projects img {
	max-width: 100%;
}

@media (max-width: 600px) {
	.projects img {
		max-width: 100%;
	}
}

.projcontent {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	position: relative;
	background: #FFFFFF;
	padding: 50px;
	margin-bottom: 10px;
	font-family: "diatype";
	font-size: 18px;

}

.projcontent a {
}


.projimage {
	margin-left: auto;
	margin-right: auto;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	width: 600px;
	position: auto;
	padding-right: 20px;
}

@media (max-width: 600px) {
	.projimage {
		width: 100%;
	}
}


.projimage img {
	max-width: 100%;
}


.profilecontent {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	position: relative;
	background: #FFFFFF;
	margin-bottom: 10px;
	padding: 50px;
	font-family: 'diatype';
	font-size: 18px;

}


.profileimage {
	width: 600px;
	position: relative;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 600px) {
	.profileimage {
		width: 100%;
	}
}

.profileimage img {
	max-width: 100%;
	margin-bottom: 30px;
	margin-top: 30px;
}

.footer {
/*	text-align: center;
*/	position: relative;
	margin-top: 10px;
	background: white no-repeat;
	width: 300px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;
	font-family: 'suisse';

}

/*a {
    color: none;
    text-decoration: none;
    cursor: auto;

}*/

.blogcontent {
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	position: relative;
	background: #FFFFFF;
	padding: 30px;
	margin-bottom: 10px;
	font-family: 'diatype';
	font-size: 18px;
}

.blogcontent a{
	font-family: 'diatype';
}

.teaser {
	color: green;
	margin-left: auto;
	margin-right: auto;
	max-width: 600px;
	position: relative;
	background: #FFFFFF;
	padding: 30px;
	margin-bottom: 10px;
	border: 1px solid #ffffff;
}

.teaser :link {
	color:black;
	text-decoration: none;
}

.teaser a {
	color:black;
	text-decoration: none;
}

.teaser :visited {
	color: black;

}

.link {
	background: yellow;
	font-style: underline;
	display:inline;
	font-size: 14pt;
	color:black;
}

.link a {
	font-style: underline;
}

.link :visited {
	color: black;
}


}

.subteaser {
	display:inline;
	font-family: serif;
	font-size: 14pt;
	color: #26c902; /*green*/
}

.subteaser a{
	text-decoration: none;
}

.date{
	text-align: right;
	font-family: serif;
	font-size: 14pt;
	color: #26c902; /*green*/
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 5px;
	height: 0;
	margin-bottom: 10px;
	margin-top: 10px;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#quotes {
	font-family: 'SuisseWorks';
	font-style: italic;
	font-size: 16pt;
	color: #26c902; /*0e7b20*/
}

.contacts {
	color: black;

}

.contacts a{
	background-color: yellow;
	text-decoration: none;
	color: black;
}

.contacts a:hover {
	text-decoration: underline;
}

.thumb-border {
	border: solid;
	border-width: 10px;
	border-color: #ffffff;

}

/* Style the pre and code blocks */
pre code {
    font-family: 'Courier New', Courier, monospace !important;  
    font-size: 14px; 
	max-width: 600px;
	position: relative;
	padding: 35px;  
    margin: 20px 0; 
    color: #333;  
    overflow-x: auto;  
    line-height: 1.5;  
}

pre {
	max-width: 600px;
	position: relative;
	padding: 35px;  
    margin: 20px 0;  

pre code span.keyword {
    color: #0074d9;  /
}

pre code span.string {
    color: #2d8b2a;  /
}

  
  @keyframes glitch-color {
	0% {
	  transform: translate(0, 0);
	  filter: hue-rotate(0deg);
	}
	25% {
	  transform: translate(-2px, 2px);
	  filter: hue-rotate(90deg);
	}
	50% {
	  transform: translate(2px, -2px);
	  filter: hue-rotate(180deg);
	}
	75% {
	  transform: translate(-1px, 1px);
	  filter: hue-rotate(270deg);
	}
	100% {
	  transform: translate(0, 0);
	  filter: hue-rotate(0deg);
	}
  }
  
  @keyframes glitch-color {
	0% {
	  transform: translate(0, 0);
	  filter: hue-rotate(0deg);
	}
	25% {
	  transform: translate(-2px, 2px);
	  filter: hue-rotate(90deg);
	}
	50% {
	  transform: translate(2px, -2px);
	  filter: hue-rotate(180deg);
	}
	75% {
	  transform: translate(-1px, 1px);
	  filter: hue-rotate(270deg);
	}
	100% {
	  transform: translate(0, 0);
	  filter: hue-rotate(0deg);
	}
  }
  
  /* Add glitch overlay fragments */
  .thumbnails img::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	clip-path: inset(50%);
	z-index: 5;
	opacity: 0.5;
  }
  
  /* Apply the glitch on hover */
  .thumbnails:hover img {
	animation: glitch-fragment 0.5s infinite steps(2, start),
			   glitch-color 0.7s infinite alternate;
  }