@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../media/fonts/BeVietnamPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

  text.laptop {
    font-family: 'Roboto', sans-serif; 
    font-size: 16px;
    font-weight: 400;
    fill: #1a0dab;
    cursor: pointer;
  }
  
  text.laptop:hover {
    text-decoration: underline;
    fill: #1a0dab;
  }

  
.body{
  padding: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.img {
    display: block;
    margin-bottom: 10px;
  }
   
.custom-bg {
 background-color: #ffffff; 
}

#homeimage {
  position: relative;
  bottom: 0rem;
  left: 3.75rem;
  width: 90%;
  height: auto;
}

.titel-text {
    font-family: 'Be Vietnam Pro',
     sans-serif;
    font-size: 1.5rem;
    font-weight: 9000;
    fill: #422400;
    text-anchor: middle;
    dominant-baseline: middle; 
    pointer-events: none;
}

.about-text {
    font-family: 'Be Vietnam Pro',
     sans-serif;
    font-size: 1rem;
    font-weight: 9000;
    fill: #422400;
    text-anchor: middle;
    dominant-baseline: middle; 
    pointer-events: none;
}


h1.titel-text {
  color: #422400 !important;
}

.text p {
  color: #422400 !important;
}

  .navbarbig {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.15rem;
    color: #422400;
    font-weight: 600;
    position: absolute;
    top: 06rem;
    right: 9rem;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
  }
  .navbarbig a {
    color: rgb(65, 49, 22);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem;
    position: relative;
  }
  .navbarbig a:hover {
    color: #c1b10a;
    cursor: pointer;
  }
  .navbarbig a.active {
    color: #ba842d; 
  }


  .navbarsmall {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.15rem;
    color: #422400;
    font-weight: 600;
  }
  .navbarsmall a {
    color: rgb(65, 49, 22);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    position: relative;
  }
  .navbarsmall a:hover {
    color: #c1b10a;
    cursor: pointer;
  }
  .navbarsmall a.active {
    color: #ba842d;
  }
  
  
  
  .profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto 0 auto;
  }
  .profile-image {
    width: 20rem;
  }

  .profile-text-container{
      font-family: 'Be Vietnam Pro',
     sans-serif;
    font-size: 1rem;
    font-weight: 9000;
    color: #422400;
    text-anchor: middle;
    dominant-baseline: middle; 
    pointer-events: none; 
  }
  
  @media (min-width: 768px) {
    .profile-section {
      flex-direction: row;
      align-items: flex-start;
      text-align: left;
      margin-top: -24rem;
    }
  
    .profile-image-container {
      flex-shrink: 0;
    }
  
    .profile-image {
      width: 20rem;
    }
  
    .profile-text-container {
      max-width: 50ch;
    }
  }
  
  .contact-email {
    margin-top: 1.5rem;
    font-weight: 700;
  }



/* === Mobile === */
.projects-masonry-grid {
  width: 90%;
  margin: 3rem auto 0 auto; 
}

.projects-masonry-item {
  width: 100%; 
  margin-bottom: 15px;
}

/* === Desktop ab 768px === */
@media (min-width: 768px) {
  .projects-masonry-grid {
    width: 78%;
    margin-left: 8rem;
    margin-top: -24rem;
  }
  
  .projects-masonry-item {
    width: 48%; /* 2 Spalten */
  }
}

@media (min-width: 992px) {
  .projects-masonry-item {
    width: 32%; /* 3 Spalten */
  }
}

.projects-masonry-item:hover {
  transition: filter 0.3s ease, transform 0.3s ease; 
  filter: brightness(1.15);
  transform: translateY(-3px);
}

.sketches-masonry-grid {
  width: 80%;
  margin-left: 7.25rem;
  margin-top: -24rem;
}

.sketches-masonry-item {
  width: 48%; /* Genau 2 Spalten mit etwas Platz für Gutters */
  margin-bottom: 20px; 
}

.sketches-masonry-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 2px; /*abgerundete Ecken */
}

.sketches-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.project-video-item {
  display: block;
  border-radius: 2px;
  object-fit: contain;
  cursor: pointer;
}


.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.4rem;
  font-weight: 650;
  color: #422400;
}

.project-card-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.4rem;
  font-weight: 650;
  color: #422400;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-card-subtitle {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #422400;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.project-card-text span {
  display: block;
}

.projects-masonry-item:hover .project-overlay {
  opacity: 1;
}

.projects-masonry-item:hover {
  filter: none;
  transform: none;
}


@media (max-width: 768px) {
  .sketches-masonry-grid {
  width: 90%;
  margin: 3rem auto 0 auto;
  }
  
  .sketches-masonry-item {
    width: 100%;
  }
}


.site-footer {
  background-color: transparent;
  color: #422400;
  text-align: center;
  padding: 2rem 0;
  margin-top: 4.5rem;
  width: 100%;
}

.footer-content {
  font-family: 'Be Vietnam Pro',
     sans-serif;
  max-width: 37.5rem; 
  margin: 0 auto;
  padding: 0 0rem;
}

.social-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: #422400;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #c1b10a;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .site-footer {
    margin-top: 5rem;
  }
}





/* Game Container für Project 3 */
.project-hero {
  width: 800px;
  height: 400px;
}

/* Masonry für andere Projekte */
.project-hero .masonry-grid {
  width: 80%;
}

@media (max-width: 768px) {
  .project-images,
  .game-images,
  .project-description {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-text {
    font-size: 1rem;
  }
  
}

main {
  display: block;
  width: 100%;
  flex-direction: column;
}


.project-hero {
  display: block;
  width: 100%;
  margin: 0 auto 3rem auto;
}

.project-images,
.game-images {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: 0 auto 3rem auto;
  gap: 2rem;
}

.game-images {
  margin-top: 2rem;
}

.project-image-item {
  width: 100%;
  position: relative;
  z-index: 1;
}


.project-image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.project-image-item video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  object-fit: contain;
}

.project-description {
  display: block;
  width: 70%;
  margin: 0 auto;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #422400;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #422400;
}

.project-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .project-images,
  .project-description {
    width: 90%;
  }

  .game-images {
    width: 90%;
    margin-top: 28rem;
  }
  .game-hero {
    display: none !important;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .project-text {
    font-size: 1rem;
  }
  .project-hero{
    transform: scale(0.3);
  }
}



.phone-svg-container {
  width: 100vw;
  min-height: auto;
  overflow: visible;
  margin-top: 2rem;
}
