/* CSS Document */

@viewport {
   width: device-width;
   zoom: 1;
}

html, body {
margin:0; 
padding:0; 
width:100%; 
height:100%;
text-align:center;
}

/*Animation auf der Startseite*/
.hero {
height: 100vh;
width: 100%;
background-image: url("../bilder/tiger.gif");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}

@media (max-width: 768px) {
.hero {background-position: center top;
  }

  /*Link enter*/
.center-link {
    font-size: 1.4rem;
    padding: 0.9rem 1.6rem;
  }
}

/**/
section {
display: block;
margin: 0 auto;
padding: 0px;
}
 

img {
border:none;
}

.zentriert{
margin:0 auto;
}

/*textformatierung*/

@font-face {
  font-family: 'Atkinson Mono';
  src: url('/fonts/AtkinsonHyperlegibleMono-VariableFont_wght.ttf') format('truetype');
  font-weight: normal; /* Oder fett, kursiv etc. */
  font-style: normal; /* Oder italic */
}

@font-face {
  font-family: 'Ubuntu';
  src: url('/fonts/UbuntuSans-VariableFont_wdth\,wght.ttf') format('truetype');
  font-weight: normal; /* Oder fett, kursiv etc. */
  font-style: normal; /* Oder italic */
}

p {
text-align:left;
font-family:'Atkinson Mono', sans-serif;
font-size:80%;
color:#000000;
}

h1 {
text-align:left;
color:#000000;
font-size:80%;
font-family:'Ubuntu', sans-serif;
}

h2 {
color:#333333;
font-size:80%;
font-family:'Ubuntu', sans-serif;
text-align:left;
}

a {
color:#999999;
font-family:'Atkinson Mono', sans-serif;
text-decoration:none;
font-size:85%;
}

a:hover{
color:#99FFCC;
}

/*Home*/

#enter {
z-index:200;
position:fixed;
top:35%;
left:5%;
height:100%;
width:100%;
}

#enter img{
width:50%;
}


/*about-Seite*/

.about{
position:fixed;
top:auto;
height:auto;
}

.about p{
color:#CCCCCC;
font-family:'Atkinson Mono', Verdana, sans-serif;
font-size:75%;
}

.about a{
color:#333333;
font-family:'Atkinson Mono', Verdana, sans-serif;
font-size:100%;
text-align:left;
}

.about a:hover{
color:#33FF99;
font-family:'Atkinson Mono', Verdana, sans-serif;
font-size:100%;
text-align:left;
}

#contact{
z-index:2;
position:absolute;
width:303px;
height:252px;
top:259px;
left:875px;
}

/*Navigation*/

#main-navigation {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  z-index:2000;
 width:100%;
 background-color:#000000;
 height:22px;
}

.nav-list {
list-style:none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  gap: 0.5rem;
}

.nav-list a {
  font-family:'Atkinson Mono', Arial, sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.nav-list a:hover{
font-family:'Atkinson Mono', Arial, sans-serif;
color:#F2CB64;
}


/*Portfolio*/



/* Container für die Pfeile */
/* --- Globale Pfeil-Positionierung --- */
.prev, .next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

/* --- Seitenabstände Desktop --- */
.prev {
  left: 2rem; /* Abstand vom linken Rand */
  width: 50px;
  height: 50px;
}

.next {
  right: 2rem; /* Abstand vom rechten Rand */
  width: 50px;
  height: 50px;
}

/* --- Pfeilgröße und Hover-Effekt --- */
.prev a img,
.next a img {
  width: 50px;
  height: 50px;
  fill:#33FF99;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.prev a:hover svg,
.next a:hover svg {
  transform: scale(1.15);
  opacity: 0.9;
}

/* --- Mobile Optimierung --- */
@media (max-width: 768px) {
  .prev, .next {
    top: 50%; /* bleibt mittig */
    transform: translateY(-50%);
  }

  .prev {
    left: max(1rem, env(safe-area-inset-left)); /* Abstand für iPhone-Notch & Ränder */
  }

  .next {
    right: max(1rem, env(safe-area-inset-right)); /* dito für rechte Seite */
  }

  .prev a svg,
  .next a svg {
    width: 30px;
    height: 30px;
  }
}

/**/

#portfolio{
background-color:#FFFFFF;
position: relative;
top: 5%;
width:60%;
height: 80%;
z-index: 10000;
margin:50 #000;
}

#portfolio_single{
background-color:#FFFFFF;
position: relative;
top: 100px;
width: 35%;
height:auto;
}

#portfolio_single img{
margin:5px;
}

.works{
float:left;
margin:8px;
width:200px;
height:130px;
background-color:#99FFCC;
}

.description p{
font-family:"Akzidenz Grotesk", Arial, sans-serif;
font-size:80%;
}








 
