@font-face {
    font-family: 'VT323 Regular';
    font-style: normal;
    font-weight: normal;
    src: local('VT323 Regular'), url('VT323-Regular.woff') format('woff');
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Increase line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/* 10. Create a root stacking context */
#root, #__next {
  isolation: isolate;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000000;
  color: #e0e0e0;
  padding: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  text-align: center;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 10px;
  padding: 10px 20px;
}

.header ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.header a {
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  color: #e0e0e0;
  font-weight: bold;
}
.header a:hover {
  color: #b388ff;
}
.header a:active {
  color: #9c64ff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'VT323 Regular', monospace;
  font-size: 2.2rem;
  color: #b388ff;
}

.container {
  max-width: 800px;
  margin: 0 auto 20px;
}

.me, .AboutMe, .Technics, .Contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 20px auto;
  padding: 25px;
  background-color: #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.me:hover, .AboutMe:hover, .Technics:hover, .Contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.me h2, .AboutMe h2, .Technics h2, .Contact h2 {
  margin-bottom: 15px;
  color: #b388ff;
}

.me p {
  color: #bbb;
}

button {
  padding: 10px 20px;
  background-color: #b388ff;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'VT323 Regular', monospace;
  font-size: 1rem;
}
button:hover {
  background-color: #9c64ff;
}

/* Technics section */
.DevTechnics,
.DesignTechnics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.DevTechnics ul,
.DesignTechnics ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}


.Contact ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 10px 0 0;
  justify-content: center;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
img:hover {
  transform: scale(1.1);
}
img:active {
  transform: scale(0.9);
}

.footer {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}