*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: sans-serif;
    font-size: 16px;
    background-color: black;
    color: purple;
    
}
.header{
    background: black;
    display: flex;
    height: 120px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding-left: 40px;
    padding-right: 40px;
}
.headerTitle{
    color:purple;
    text-transform: none;
    font-size: 200%;
    font-weight: 200;
    align-items: center
    
   
}
.headerButton{
    text-transform: uppercase;
    background: transparent;
    color: purple;
    outline: none;
    border:none;
    font-size: 150%;
    letter-spacing: 2px;
}
.headerButton:hover{
    cursor:pointer
}
.bigFigure{
    width: 100%;
    height: 110vh;
}
.bigFigure > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section{
   
}

#home {
  display: block; /* Start with Home visible */
}
.collections{
    width: 100%;
    padding: 40px;
}
.collectionsTitle, .infoTitle{
    font-size: 350%;
    color: black;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 40px;
}
.collectionsList{
list-style: none;
display: flex;
gap: 40px;
flex-wrap: wrap;
justify-content: center;
}

.collectionListItem{
    width: 500px;
    height: 400px;
    background: black;
    flex-shrink: 1;
    flex-grow: 1;
}
.collectionListItem > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.info{
background: green;
padding: 40px;
display: flex;
gap: 40px;
}
.info  p{
    color: white;
}
.block{
    background: red;
    width: 400px;
    flex-shrink: 0;
    flex-grow: 1;
}
.info{
    background: green;
    padding: 40px;
    display: flex;
    gap: 40px;

}
.mainNavigation{
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: black;
display: flex;
justify-content: center;
align-items: center;
visibility: hidden;
opacity: 0;
transition: 0.8s all;
}
.mainNavigationList{
list-style: none;
}
.mainNavigationListItem{
    color:purple;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    font-size:350%;
}
.mainNavigationListItem > a{
    text-decoration: none;
    color: purple;
    
}
.AboutMe > img
{
    size: 30%;
}
.Mousey
{
 padding-right: 50%;
size: 50%;
margin: 40px;

}
.mouseyport > video
{
    size: 30%;
}
video{
    height: 30%;
    width: 30%;
    display: block;
    margin-right: 40%;
}

  
  .portfolio-video video {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .portfolio-text {
    max-width: 600px;
    
    margin-right: 80px;
  }
  
  .Ultrakill img
  {
    width: 30%;
    height: 30%;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  /* Project Card */
  .project-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  
  .project-card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .project-card p {
    color: #555;
    margin-bottom: 15px;
  }
  
  .project-card a {
    text-decoration: none;
    color: #5B6F7A;
    font-weight: bold;
    transition: color 0.2s ease;
  }
  .project-card img {
    width: 100%;
    border-radius: 0.5rem;
    object-fit: cover;
    max-height: 180px;
  }
  
  .project-card a:hover {
    color: #5B6F7A;
  }
  .hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  .hero-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  
  .overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;   /* overlay color */
    opacity: 0.8;        /* change this value (0 = transparent, 1 = solid) */
    z-index: -1;
  }
  
  
  .hero-text {
    position: relative;
    z-index: 1; /* text on top */
  }
  .footer {
  text-align: center;
  padding: 30px 10%;
  color: #aaa;
  font-size: 0.9rem;
}

.footer a {
  color: #0077ff;
  text-decoration: none;
}

  

  .project-detail {
    max-width: 700px;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
  }
  

  .center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }
  
  .project-detail {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    text-align: center;
  }
  
  .project-detail img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .project-detail p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
  }
  .about-me {
    display: flex;
    justify-content: center;
    align-items: center;
 
    padding: 4rem 2rem;
    min-height: 100vh;
  }
  
  .about-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
  }
  
  .about-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
  }
  
  
  
  nav{
    width: 100%;
}
 nav > ul {
    display: flex;
    list-style:none;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}
nav > ul > li{
    width: 100%;
    height: 100%;
    background:black;
    display: flex;
}
li:hover{
    cursor: pointer;
}
.active{
    background: black;
}
nav > ul > li > a{
  color: purple;
  height: 100%;
  width: 100%;
  display: block;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  }

/* Optional: Adjust hero section so it fits better */
.hero {
  height: auto;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;/* === Compact Cube Contact Section === */
  .contact-container {
    width: 350px;                 /* make it more like a square */
    height: 350px;
    background: #1a1a1a;          /* dark background for contrast */
    border-radius: 20px;
    margin: 100px auto;
    padding: 30px;
    text-align: center;
    color: #e5d4ff;
    box-shadow: 0 8px 24px rgba(128, 0, 128, 0.4);
    border: 1px solid rgba(128, 0, 128, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  

}
/* === FINAL Cube Contact Section Fix === */
.contact-container {
  width: 350px;
  height: 350px;
  background: #1a1a1a;
  border-radius: 20px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
  color: #e5d4ff;
  box-shadow: 0 8px 24px rgba(128, 0, 128, 0.4);
  border: 1px solid rgba(128, 0, 128, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.contact-container h1 {
  font-size: 1.6rem;
  color: #c59aff;
  margin: 0;
}

.contact-container p {
  font-size: 0.95rem;
  color: #aaa;
  margin: 0;
}

/* icons */
.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.contact-icons img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-icons img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(187, 119, 255, 0.8));
}

.contact-icons p {
  width: 100%;
  text-align: center;
  color: #c59aff;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* responsiveness */
@media (max-width: 480px) {
  .contact-container {
    width: 280px;
    height: 300px;
    padding: 15px;
  }

  .contact-icons img {
    width: 35px;
    height: 35px;
  }
}
