
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Kaisei HarunoUmi', serif;
}


html, body {
  height: 100%;
}

body {
  position: relative;
  background: #2d3f78;
  min-height: 100vh;
  overflow-x: hidden;
}


body::before { 
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
  pointer-events: none;
  display: none;
}


#vanta-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;
  z-index: 0;
}


.navbar { 
  position: fixed;
  top: 20px;
  left: 20px; 
  z-index: 5; 
}


.dropbtn {
  background-color: #7d81e7;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  z-index: 10;
  background-color: #fcfcfc;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #4a8eb9;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #5059bc;
}


.page-center { 
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.portfolio-card {
  width: 1500px;
  max-width: 95%;
  min-height: 500px;
  height: auto;
  padding: 40px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  color: white;
}


.content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.content p {
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}


.skills-box {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 25px;
}

.skills-box h2 {
  font-size: 24px;
  margin-bottom: 15px;
  text-decoration: underline;
}

.skills-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
  place-items: center;
}

.skills-grid img {
  width: 100%;
  max-width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
  padding: 10px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  background: rgba(255,255,255,0.08);
}

.skills-grid img:hover{
  transform: scale(1.15);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
}

.page {
  transform-origin: center;
  overflow: visible;
}


@media (max-width: 900px) {
  .portfolio-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .content h1 {
    font-size: 32px;
  }
}
