* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: sans-serif;
  color: white;
}


@font-face {
  font-family: mcfont;
  src:  url("mcfont.woff") format("woff"),
        url("mcfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}


.video-bg { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  pointer-events: none;
}

.video-bg.visible {
  opacity: 1;
}

.banner-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.banner-wrapper img {
  width: 60vw;
  max-height: 800px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  z-index: 1;
  will-change: transform,opacity;
  
}



section.home {
  background: transparent;
}

section.home section.about {
  backdrop-filter: blur(12px);
  mix-blend-mode: normal;
}





section.about {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
  padding: 2rem 4rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.about-title {
  font-family: "mcfont";
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  margin-bottom: 2rem;
  text-align: left;
  position: absolute;
  top: 9rem;
  left: 9rem;
}

.about-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex: 1;
}

.about-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  left: 5rem;
}



.about-text p {
  font-size: 1.6rem;
  line-height: 1.6;
  max-width: 1000px;
  word-break: normal;
}

.about-image {
  flex: 0.5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateY(-20px);
  transform: translateX(-120px);
}

.about-image img {
  max-width: 150px;
  transform: scale(4);
  mask-image: linear-gradient(to top, rgba(0,0,0,0) 0px, black 10px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0px, black 10px);
}









section.projects {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}





.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 50px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 50px 15px;
  justify-content: center;
}

.project {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  width: 300px;
  height: auto;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0,0,0,0.5);
}

.project img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
}

.project-title {
  font-family: 'mcfont';
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.project-description {
  font-size: 1rem;
  margin-bottom: 15px;
  color: white;
}

.tech-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tech-icons img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  border-radius: 0 !important;
}

.project-footer {
  margin-top: auto;
  font-size: 0.85rem;
  opacity: 0.6;
  color: white;
}


a {
  color: inherit;
  text-decoration: none;
}





section.footer {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}



.footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  padding: 40px 60px;
  color: white;
  font-family: "mcfont", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px; 
  padding: 0 40px; 
}

.footer-left {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  gap: 30px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.footer-icon {
  width: 48px; 
  height: 48px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.footer-item:hover .footer-icon {
  filter: none;
}

.footer-item:hover .footer-text {
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.8));
}


.footer-text {
  font-size: 1.6rem;
  font-weight: 600;
  user-select: none;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.footer-item a {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.footer-item:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.footer-item:hover .footer-icon {
  filter: none !important;
  transition: filter 0.2s ease;
}


.footer-right {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  gap: 60px;
}

.footer-right h3 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.footer-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}


.footer-right .footer-block a:hover img {
  transform: scale(1.05);
  transition: transform 0.24s ease;
}

.footer-right .footer-block img {
  transform: scale(1);
  transition: transform 0.18s ease;
}

.footer-right img {
  border-radius: 18px;
  max-width: 400px;
  max-height: 400px;
}

.footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.footer-contact h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.footer-contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
}

.footer-contact input,
.footer-contact textarea {
  max-width: 600px;
  max-height: 360px;
  min-width: 220px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  resize: both;
}

.footer-contact textarea {
  min-height: 60px;
}

.footer-contact button {
  background-color: #58C7FF;
  color: white;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
}

.footer-contact button:hover {
  background-color: #4285d4;
}

.footer-contact p {
  transform: translateY(+5px);
}


.site-footer {
    color: #fff;
    position: absolute;
    bottom: 0px;
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
    width: 100vw;
  }
  
  .site-footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  
  .site-footer-container p {
    margin: 0;
    line-height: 1.2;
  }
  
  .site-footer-container a {
    color: #58C7FF;
    text-decoration: none;
    margin: 0 4px;
  }
  
  .site-footer-container a:hover {
    color: #4285d4;
  }




h1, h2 {
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
  font-family: "mcfont";
  scale: 2;
}

p {
  max-width: 600px;
  line-height: 1.5;
  font-size: 1.2rem;
}

nav {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  font-family: "mcfont";
}

nav a:hover {
  color: #58C7FF;
}