@import url(fontawesome-all.min.css);
@import url(embedded_fonts.css);

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

.html {
	scroll-behavior: smooth;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1.75;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input,
select,
textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

/* Basic */

@-ms-viewport {
	width: device-width;
}

body {
	-ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {

	html,
	body {
		min-width: 320px;
	}

}

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	background: #0f0f0f;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
	-moz-animation: none !important;
	-webkit-animation: none !important;
	animation: none !important;
	-moz-transition: none !important;
	-webkit-transition: none !important;
	transition: none !important;
}

/* Typography */

html {
	font-size: 16pt;
}

@media screen and (max-width: 1680px) {

	html {
		font-size: 14pt;
	}

}

@media screen and (max-width: 1280px) {

	html {
		font-size: 14pt;
	}

}

@media screen and (max-width: 980px) {

	html {
		font-size: 12pt;
	}

}

@media screen and (max-width: 480px) {

	html {
		font-size: 12pt;
	}

}

body {
	background-color: #0f0f0f;
	color: rgba(255, 255, 255, 0.7);
}

body,
input,
select,
textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.45;
}

input,
select,
textarea {
	color: #fff;
}

a {
	-moz-transition: color 0.2s ease-in-out;
	-webkit-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
	color: #fff;
	text-decoration: underline;
}

a:hover {
	color: #47a9b8;
	text-decoration: none;
}

strong,
b {
	color: #fff;
	font-weight: 700;
}

em,
i {
	font-style: italic;
}

p {
	margin: 0 0 2rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
	letter-spacing: 0.15rem;
	line-height: 1.5;
	margin: 0 0 1.5rem 0;
	text-transform: uppercase;
}

h1.major,
h2.major,
h3.major,
h4.major,
h5.major,
h6.major {
	text-align: center;
	margin: 0 0 3rem 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: 3.25rem;
	line-height: 1.2;
}

h2 {
	font-size: 2.5rem;
	line-height: 1.3;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 0.9rem;
}

h6 {
	font-size: 0.7rem;
}

@media screen and (max-width: 736px) {

	h1 {
		font-size: 2.75rem;
		line-height: 1.3;
	}

	h2 {
		font-size: 1.5rem;
		line-height: 1.5;
	}

	h3 {
		font-size: 1.25rem;
	}

}

sub {
	font-size: 0.8rem;
	position: relative;
	top: 0.5rem;
}

sup {
	font-size: 0.8rem;
	position: relative;
	top: -0.5rem;
}

blockquote {
	border-left: solid 0.5rem rgba(255, 255, 255, 0.25);
	font-style: italic;
	margin: 0 0 2rem 0;
	padding: 1rem 0 1rem 2rem;
}

code {
	background: rgba(255, 255, 255, 0.075);
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0.25rem;
	padding: 0.25rem 0.65rem;
}

pre {
	-webkit-overflow-scrolling: touch;
	font-family: "Courier New", monospace;
	font-size: 0.9rem;
	margin: 0 0 2rem 0;
}

pre code {
	display: block;
	line-height: 1.75;
	padding: 1rem 1.5rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-bottom: solid 1px rgba(255, 255, 255, 0.25);
	margin: 2rem 0;
}

hr.major {
	margin: 4rem 0;
}

@media screen and (max-width: 736px) {

	hr.major {
		margin: 3rem 0;
	}

}

/* Box */

.box {
	border: solid 1px rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	margin-bottom: 2rem;
	padding: 1.5rem;
}

.box> :last-child {
	margin-bottom: 0;
}

.box.alt {
	border: 0;
	border-radius: 0;
	padding: 0;
}

/* Button */

button,
.button {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	-moz-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
	background-color: transparent;
	border-radius: 4px;
	border: 0;
	box-shadow: inset 0 0 0 1px #fff;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: "Open Sans Condensed", Arial, Helvetica, sans-serif;
	font-weight: 700;
	height: 3.25rem;
	letter-spacing: 0.15rem;
	line-height: 3.25rem;
	padding: 0 3rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

/* wrapper */

.wrapper {
	padding: 6rem 0 4rem 0;
	line-height: 1.75;
}

.wrapper header {
	margin: 0 auto 2rem auto;
	max-width: 80%;
	text-align: left;
}

@media screen and (max-width: 980px) {

	.wrapper {
		padding: 4rem 0 2rem 0;
	}

}

@media screen and (max-width: 480px) {

	.wrapper {
		padding: 3rem 0 1rem 0;
	}

}

/* Inner */

.inner {
	margin: 0 auto;
	max-width: calc(100% - 10rem);
	width: 70rem;
}

@media screen and (max-width: 1280px) {

	.inner {
		max-width: calc(100% - 6rem);
	}

}

@media screen and (max-width: 736px) {

	.inner {
		max-width: calc(100% - 3rem);
	}

}

/* Footer */

#footer {
	text-align: center;
}

#footer .inner {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding: 2rem 0 2rem 0;
}

#footer .inner .copyright {
	color: rgba(255, 255, 255, 0.25);
	font-size: 0.75rem;
	margin-bottom: 2rem;
}

@media screen and (max-width: 1280px) {

	#footer .inner {
		padding-top: 2rem;
		margin-top: 4rem
	}

}

@media screen and (max-width: 980px) {

	#footer .inner {
		padding: 4rem 0 2rem 0;
	}

}

@media screen and (max-width: 736px) {

	#footer .inner {
		padding: 3rem 0 1rem 0;
	}

}

@media screen and (max-width: 480px) {

	#footer .inner {
		padding: 2rem 0 0.1rem 0;
	}

}

/* Michas */

.intro {
  display: flex;
  margin: 0;
  padding: 0;
  overflow: auto;       /* Prevent scrollbars */
  height: 100vh;
}

.banner {
	margin: 15vw 0;
}

.banner img {
	
  width: 100%;
  height: auto;
  display: block;
}

.img-container,
.text-container {
  flex: 1;                /* Strict 50/50 split */
  min-width: 0;
}

.img-container {
  overflow: auto;
  align-content: center;
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
    
  /* Fade bottom: fully visible → transparent */
  mask-image: linear-gradient(to bottom,
  rgba(0,0,0,1) 0%,
  rgba(0,0,0,1) 70%,
  rgba(0,0,0,0) 100%
  );
    
  -webkit-mask-image: linear-gradient(to bottom,
  rgba(0,0,0,1) 0%,
  rgba(0,0,0,1) 70%,
  rgba(0,0,0,0) 100%
  );
}

.image-container-aboutme {
  min-width: 0;
  overflow: auto;
  align-content: center;
  margin-top: 60px;
}

.image-container-aboutme img{
  width: 100%;
  height: auto;
  display: block;
}

.image-container-product,
.image-container-edu{
  display: flex;
  justify-content: center;
}

.image-container-product img,
.image-container-edu img {
  width: 50%;
}

.image-container-product {
	margin-top: 0;
}

.page-maymoebel .image-container-product img {
  width: 75%;
}

.video-container-freizeitfuchs {
  position: relative;
  width: 100%;
}

.video-container-freizeitfuchs video {
  width: 100%;
  height: auto;
}

.text-container {
  font-family: "Oswald", Sans-serif;
  box-sizing: border-box;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.text-container-aboutme {
	font-family: "Roboto", Sans-serif;
	font-size: 1.2em;
	font-weight: 400;
	text-align: center;
	color: #e0e0e0;
	padding: 2vw 2vw 4vw 2vw;
}

.text-container-edu {
	text-align: center;
}

.text-container-edu h2{
	font-family: "Oswald", Sans-serif;
}

.projects {
  display: flex;
  margin: 0;
  padding: 0;
  overflow: hidden;       /* Prevent scrollbars */
  height: 50vh;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-img-container-left,
.project-img-container-right,
.project-text-container-left,
.project-text-container-right {
  flex: 1;                /* Strict 50/50 split */
  min-width: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  overflow: visible;
}

.project-img-container-left,
.project-img-container-right {
  display: flex;
  overflow: hidden;
}

.project-img-container-left a,
.project-img-container-right a{
	align-content: center;
	width: 45%;
}

.project-img-container-left{
  justify-content: flex-end;   /* Horizontal right */
}

.project-img-container-left img,
.project-img-container-right img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;  /* No crop */
  transition: transform 0.5s ease;  /* Smooth animation */
}

.project-img-container-left img{
	margin-left: auto;
  transform-origin: right center;  /* Anchor at left edge */
}

.project-img-container-right img{
  transform-origin: left center;  /* Anchor at left edge */
}

.project-img-container-right img:hover,
.project-img-container-left img:hover {
  transform: scale(1.05);  /* 5% larger */
}

.project-link img {
  width: 45%;
  height: auto;
  display: block;
   /* max-width: 50vw;  Cap size */
  object-fit: contain;  /* No crop */
  overflow: hidden;
  transition: transform 0.5s ease;  /* Smooth animation */
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.project-text,
.project-text-small-left,
.project-text-small-right {
  font-family: "Inter", sans-serif;
	font-weight: 600;
  font-size: 4.8vW;
  line-height: 1.0;
  color: #FFFFFF;
  flex-direction: column;
  margin: 0.1rem;
  opacity: 0; /* Start invisible for reveal */
  animation: fadeIn 1s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}

.project-text-small-left,
.project-text-small-right {
  font-size: 0.9vW;
  line-height: 1.6;
  color: #aaa;
  width: 11vw;
  text-align: center;
}

.project-text-small-left {
  text-align: right;
}

.project-text-small-right {
  text-align: left;
}

.project-text-container-right,
.project-text-container-left {
  font-family: "Inter", Sans-serif;
  box-sizing: border-box;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-text-container-left {
  align-items: flex-end;
  text-align: right;
}

.project-text-container-right {
  align-items: flex-start;
  text-align: left;
}

.icon-container img {
  width: 100%;
  padding: 0 0.5vw 0 0;
  height: auto;
  display: block;
}

.catdog-bg,
.barefoot-bg,
.maymoebel-bg {
  background-color: #fff;
}

.button-container {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 1rem;
}

.barefoot-btn {
  display: flex;
  align-items: center;
  background-color: #C6A919;
  border-radius: 5em;
  padding: 1em 4em 1em 4em;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  min-height: 0;
}

.barefoot-btn:hover {
	color: #514610;
}

@media (max-width: 768px) {
  button { min-height: 0; }
}

.hello {
  font-size: 8.9vw;
  color: #ECBA16;
  line-height: 1.0;
  margin: 0.2rem;
}

.micha {
  font-size: 5.3vW;
  color: #FFFFFF;
  flex-direction: column;
  margin: 0.1rem;
  opacity: 0; /* Start invisible for reveal */
  transform: scale(0.3) translateX(100px); /* Small size, positioned right off-screen */
  animation: flowIn 1.5s ease-out forwards; /* Apply animation: name, duration, timing, fill-mode */
  animation-delay: 0.25s;
}

.designer {
  font-size: 1.9vw;  
  font-weight: 400;
  letter-spacing: 4.8px;
  color: #ECBA16;
  opacity: 0; /* Start invisible for reveal */
  transform: scale(0.3) translateX(100px); /* Small size, positioned right off-screen */
  animation: flowIn 1.5s ease-out forwards; /* Apply animation: name, duration, timing, fill-mode */
  animation-delay: 0.5s;
}

.icon_row {
  display: flex;
  margin: 0;
  padding: 0;
  overflow: hidden;       /* Prevent scrollbar */
}

.icon-row img {
  width: 100px;
  height: auto;
}

.icon-container img {
  opacity: 0;
  transform: translateX(-20px);
  animation: appear 0.8s ease-out forwards;
  animation-delay: calc(150ms * var(--i, 1)); /* Fallback to 1 if unset */
}

@keyframes appear {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.text-wide {
  display: inline;
}

.text-narrow {
  display: none;
}

@media (max-width: 885px) {
  .text-wide {
    display: none;
  }
  .text-narrow {
    display: inline;
  }
}

.animate-text {
  opacity: 0; /* Start invisible for reveal */
  transform: scale(0.3) translateX(100px); /* Small size, positioned right off-screen */
  animation: flowIn 1.5s ease-out forwards; /* Apply animation: name, duration, timing, fill-mode */
}

@keyframes flowIn {
  to {
    opacity: 1;
    transform: scale(1) translateX(0); /* End at full size, centered */
  }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0; 
	width: 100%;
    height: 11vh;  /* Taller for visible fade zone */
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
	/* Gradient: solid black top → transparent bottom */
    background: linear-gradient(to bottom,
        rgba(0,0,0,1) 0%,      /* Opaque top for text readability */
        rgba(0,0,0,1) 75%,     /* Solid middle */
        rgba(0,0,0,0.3) 90%,   /* Fade starts */
        rgba(0,0,0,0) 100%     /* Fully transparent bottom */
    );
    z-index: 1000;
}

.navbar ul {
  font-family: "Oswald", Sans-serif;
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: solid rgba(255, 255, 255, 0.25);
}

.navbar li {
  margin: 1rem;
}

.navbar a {
  text-decoration: none;
  font-size: 16px; 
  color: rgba(255, 255, 255, 0.75);
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0); /* Slide to position */
}

.page-catdog nav,
.page-maymoebel nav,
.page-barefoot nav {
	/* Gradient: solid black top → transparent bottom */
    background: linear-gradient(to bottom,
        rgba(255,255,255,1) 0%,      /* Opaque top for text readability */
        rgba(255,255,255,1) 84%,     /* Solid middle */
        rgba(255,255,255,0.3) 101%,   /* Fade starts */
        rgba(255,255,255,0) 100%     /* Fully transparent bottom */
    );
}

.page-catdog nav a,
.page-maymoebel nav a,
.page-barefoot nav a {
	color: #000;
}

.page-catdog nav ul,
.page-maymoebel nav ul,
.page-barefoot nav ul {
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.page-catdog footer,
.page-maymoebel footer,
.page-barefoot footer {
	background-color: #fff;
	border-top: 2px solid rgba(0, 0, 0, 0.2);
}

.page-catdog #footer .inner .copyright,
.page-maymoebel #footer .inner .copyright,
.page-barefoot #footer .inner .copyright {
	color: rgba(0, 0, 0, 0.6)
}