@font-face {
    font-family: 'Persona5MenuFont';
    src: url('../fonts/Persona5MenuFontPrototype-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Audiowide';
    src: url('../fonts/Audiowide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OrbitronBlack';
    src: url('../fonts/orbitron-black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


:root {
    --primary-color: #FFFFFF; 
    --secondary-color: #007bff; 
    --accent-color: #FFD700; 
    --background-color: #101010; 
    --panel-background: #1a1a1a; 
    --text-color: #e0e0e0;
    --font-family-heading: 'Persona5MenuFont', sans-serif;
    --font-family-body: 'Audiowide', sans-serif;
    --font-family-display: 'OrbitronBlack', sans-serif; 
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; 
    overflow-y: auto; 
}

html {
    font-size: 14px; 
}

body {
    font-family: var(--font-family-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative; 
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 123, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 123, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: grid-pan 60s linear infinite;
    pointer-events: none;
    z-index: -1; 
    opacity: 0.3;
}

@keyframes grid-pan {
    from { background-position: 0 0; }
    to { background-position: -600px -600px; }
}


body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANgAAAAECAYAAACp8HCTAAAAAXNSR0IArs4c6QAAAB9JREFUGFdjYGBgYGBgYGBgYGBgYGBgYGBgYGBgAAAB9gB+G1j51AAAAABJRU5ErkJggg==') repeat;
    pointer-events: none;
    z-index: -1; 
    opacity: 0.05; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--primary-color);
    text-transform: uppercase; 
    letter-spacing: 2px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}


header {
    background-color: rgba(0, 0, 0, 0.98); 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; 
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    padding: 0 40px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%); 
}

.logo {
    font-family: var(--font-family-display);
    font-size: 3.2em; 
    color: var(--primary-color);
    letter-spacing: 5px;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.7);
    transform: skewX(-10deg); 
}


#sidebar-nav {
    position: fixed;
    top: 0; 
    left: 0;
    width: 250px; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 990; 
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.8);
    padding-top: 120px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); 
}

#sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#sidebar-nav ul li {
    margin-bottom: 10px;
}

#sidebar-nav ul li a {
    display: block;
    font-size: 1.2em; 
    padding: 15px 30px;
    position: relative;
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    transition: color 0.3s ease, transform 0.3s ease;
    overflow: hidden; 
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); 
    margin-right: 20px; 
}


#sidebar-nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transform: translateX(-100%) skewX(-30deg); 
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    z-index: -1;
    opacity: 0.8;
}


#sidebar-nav ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color); 
    transform: translateX(-100%) skewX(-30deg); 
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    transition-delay: 0.05s; 
    z-index: -2; 
    opacity: 0.5;
}

#sidebar-nav ul li a:hover::before,
#sidebar-nav ul li a:focus::before {
    transform: translateX(0) skewX(-30deg); 
}

#sidebar-nav ul li a:hover::after,
#sidebar-nav ul li a:focus::after {
    transform: translateX(0) skewX(-30deg); 
}

#sidebar-nav ul li a:hover,
#sidebar-nav ul li a:focus {
    color: var(--background-color); 
    transform: translateX(10px) scale(1.05); 
    text-shadow: 0 0 10px var(--primary-color); 
}


#sidebar-nav ul li a.active-nav {
    color: var(--background-color);
    transform: translateX(10px) scale(1.05);
    text-shadow: 0 0 10px var(--primary-color);
}

#sidebar-nav ul li a.active-nav::before {
    transform: translateX(0) skewX(-30deg);
    opacity: 1; 
}

#sidebar-nav ul li a.active-nav::after {
    transform: translateX(0) skewX(-30deg);
    opacity: 0.7; 
}


#hud-status {
    position: fixed;
    top: 60px; 
    left: 250px; 
    width: calc(100% - 250px); 
    height: 70px; 
    background-color: rgba(0, 0, 0, 0.9); 
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    font-family: var(--font-family-heading);
    font-size: 2.057em; 
    color: var(--primary-color);
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%); 
}

#hud-title {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

#hud-page-indicator {
    color: var(--accent-color);
}


main {
    position: relative;
    width: calc(100% - 250px); 
    height: 100%;
    padding-top: 150px; 
    margin-left: 250px; 
}

section {
    position: absolute;
    top: 150px; 
    left: 0;
    width: 100%;
    height: calc(100% - 150px); 
    background-color: var(--panel-background);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto; 
    display: none; 
    opacity: 0; 
    transform: translateX(100%) skewX(10deg); 
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1; 
}

section.active {
    display: block;
    opacity: 1;
    transform: translateX(0) skewX(0deg);
    z-index: 2; 
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

section h2 {
    text-align: left; 
    font-size: 2.5em; 
    margin-bottom: 40px;
    position: relative;
    color: var(--secondary-color);
    padding-left: 20px;
    border-left: 8px solid var(--accent-color); 
    transform: skewX(-5deg); 
}

section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 20px;
    transform: none; 
}


.section-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


.stagger-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

section.active .stagger-in {
    opacity: 1;
    transform: translateY(0);
}



#home {
    display: flex; 
    opacity: 1; 
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    text-align: left;
    padding-top: 0;
    background: none; 
}

.home-title {
    font-size: 5em;
    margin-bottom: 20px;
    text-shadow: 0 0 25px rgba(0, 123, 255, 0.9);
    line-height: 1.1;
    transform: skewX(-10deg); 
    font-weight: 800; 
    letter-spacing: 3px;
}

.home-subtitle {
    font-size: 2em;
    margin-bottom: 50px;
    color: var(--text-color);
    max-width: 80%;
    transform: skewX(-5deg); 
    letter-spacing: 1.5px;
}

.home-btn {
    
    transition-delay: 0.4s; 
}

.btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 20px 40px;
    border-radius: 0;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    font-family: var(--font-family-display);
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); 
    transform: skewX(-10deg); 
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-5px) scale(1.05) skewX(-10deg); 
    box-shadow: 0 0 30px rgba(0, 123, 255, 1);
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.project-item {
    background-color: #202020;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%); 
    position: relative;
    overflow: hidden;
    cursor: pointer; 
    min-height: 150px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--project-bg-image);
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.project-item:hover,
.project-item:focus {
    transform: translateY(-10px) rotateZ(1deg) scale(1.02); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--secondary-color); 
    border-color: var(--secondary-color);
    background-color: #2a2a2a; 
}


.project-item h3,
.project-item p {
    position: relative;
    z-index: 2; 
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease; 
}

.project-item h3 {
    margin-top: 0;
    font-size: 1.8em; 
    margin-bottom: 15px;
    transform: skewX(-5deg); 
    font-family: var(--font-family-display);
}

.project-item p {
    color: var(--text-color);
    font-size: 0.9em; 
}

.project-item:hover h3,
.project-item:focus h3 {
    transform: skewX(-8deg) translateY(-8px); 
    color: var(--accent-color); 
}

.project-item:hover p {
    transform: translateY(-8px); 
    color: var(--primary-color); 
}


.project-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); 
    display: flex;
    justify-content: center;
    align-items: center; 
    z-index: 10000; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-overlay.active {
    opacity: 1;
    visibility: visible;
}

.project-overlay-content {
    background-color: var(--panel-background);
    padding: 50px;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.8);
    max-width: 800px;
    width: 90%;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%); 
    border: 2px solid var(--secondary-color);
}

.project-overlay-content h2 {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    border-left: 8px solid var(--accent-color);
    padding-left: 20px;
    transform: skewX(-5deg);
    font-family: var(--font-family-display);
}

.project-overlay-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--primary-color);
    font-size: 3em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: var(--accent-color);
}


#contact form {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

#contact form input, #contact form textarea {
    background-color: #202020;
    border: 1px solid #444;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%); 
}

#contact form input:focus, #contact form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4);
}

#contact form .btn {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
  body {
    font-size: 12px; 
  }

  
  header {
    height: 60px;
    padding: 0 20px;
    clip-path: none; 
  }

  .logo {
    font-size: 2em;
    letter-spacing: 3px;
    transform: none; 
  }

  
  #sidebar-nav {
    position: fixed;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98); 
    z-index: 1001; 
    padding-top: 80px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease-in-out;
    clip-path: none; 
  }

  #sidebar-nav.active {
    left: 0; 
  }

  #sidebar-nav ul {
    flex-direction: column;
    text-align: center;
  }

  #sidebar-nav ul li {
    margin-bottom: 20px;
  }

  #sidebar-nav ul li a {
    font-size: 2em;
    padding: 20px;
    clip-path: none; 
    margin-right: 0;
  }

  
  .menu-toggle {
    display: block; 
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002; 
    font-size: 2em;
    color: var(--primary-color);
    cursor: pointer;
  }

  
  #hud-status {
    top: 60px; 
    left: 0;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-size: 1.2em;
    clip-path: none; 
  }

  
  main {
    margin-left: 0;
    padding-top: 120px; 
    width: 100%;
  }

  section {
    top: 120px; 
    height: calc(100% - 120px);
    padding: 20px;
    transform: none; 
    transition: opacity 0.5s ease; 
  }

  section.active {
    transform: none;
  }

  section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 5px solid var(--accent-color);
    transform: none; 
  }

  section h2::after {
    width: 70px;
    height: 3px;
    bottom: -10px;
    left: 10px;
  }

  
  .home-title {
    font-size: 3.5em;
    margin-bottom: 10px;
    transform: none; 
  }

  .home-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 100%;
    transform: none; 
  }

  .btn {
    padding: 15px 30px;
    font-size: 0.9em;
    transform: none; 
    clip-path: none; 
  }

  .btn:hover {
    transform: translateY(-3px) scale(1.02); 
  }

  
  .project-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .project-item {
    padding: 20px;
    clip-path: none; 
    min-height: auto; 
  }

  .project-item:hover {
    transform: translateY(-5px) scale(1.01); 
  }

  .project-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    transform: none; 
  }

  .project-item:hover h3 {
    transform: none;
  }

  .project-item p {
    font-size: 0.9em;
  }

  .project-item:hover p {
    transform: none;
  }

  
  .project-overlay-content {
    padding: 30px;
    width: 95%;
    clip-path: none;
  }

  .project-overlay-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 5px solid var(--accent-color);
    transform: none;
  }

  .project-overlay-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .close-button {
    top: 10px;
    right: 15px;
    font-size: 2em;
  }

  
  #contact form input, #contact form textarea {
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1em;
    clip-path: none;
  }
}

@media (max-width: 480px) {
  
  body {
    font-size: 10px;
  }

  header {
    height: 50px;
    padding: 0 15px;
  }

  .logo {
    font-size: 1.8em;
  }

  #hud-status {
    top: 50px;
    height: 40px;
    padding: 0 15px;
    font-size: 1em;
  }

  main {
    padding-top: 90px; 
  }

  section {
    top: 90px;
    height: calc(100% - 90px);
    padding: 15px;
  }

  section h2 {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .home-title {
    font-size: 2.8em;
  }

  .home-subtitle {
    font-size: 1em;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.8em;
  }

  .project-item {
    padding: 15px;
  }

  .project-item h3 {
    font-size: 1.3em;
  }

  .project-item p {
    font-size: 0.8em;
  }

  .project-overlay-content {
    padding: 20px;
  }

  .project-overlay-content h2 {
    font-size: 1.8em;
  }

  .project-overlay-content p {
    font-size: 0.9em;
  }

  .close-button {
    font-size: 1.8em;
  }































#contact form input, #contact form textarea {















    padding: 12px;















    margin-bottom: 15px;















  }















}































.server-grid {















    display: grid;















    grid-template-columns: repeat(2, 1fr); 















    gap: 30px; 















}































.server-item {

    background-color: #202020;

    padding: 40px;

    border-radius: 0;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;

    border: 2px solid transparent;

    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%); 

    position: relative;

    overflow: hidden;

    cursor: pointer; 

    min-height: 150px; 

    display: flex;

    flex-direction: column;

    justify-content: flex-start; 

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}



.server-item::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.6); 

    z-index: 1;

}



.server-item:hover,

.server-item:focus {

    transform: translateY(-10px) rotateZ(1deg) scale(1.02); 

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--secondary-color); 

    border-color: var(--secondary-color);

    background-color: #2a2a2a; 

}



.server-item h3,

.server-item p {

    position: relative;

    z-index: 2; 

    color: var(--primary-color);

    transition: transform 0.3s ease, color 0.3s ease; 

}



.server-item h3 {

    margin-top: 0;

    font-size: 1.8em; 

    margin-bottom: 15px;

    transform: skewX(-5deg); 

    font-family: var(--font-family-display);

}



.server-item p {

    color: var(--text-color);

    font-size: 0.9em; 

}



.server-item:hover h3,

.server-item:focus h3 {

    transform: skewX(-8deg) translateY(-8px); 

    color: var(--accent-color); 

}



.server-item:hover p {

    transform: translateY(-8px); 

    color: var(--primary-color); 

}



