/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
--angle: 45deg; 
 background: linear-gradient(var(--angle), oklab(0% 0 0), oklab(21.3% 0 0), oklab(32.1% 0 0));
    color: #00ff00;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Terminal Styles */
.terminal {
    background-color: #000;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    color: #fff;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.red-button,
.yellow-button,
.green-button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.red-button {
    background-color: #c5ffbd;
}

.yellow-button {
    background-color: #d3ffcc;
}

.green-button {
    background-color: #e0ffda;
}

.terminal-title {
    font-size: 1rem;
}

.terminal-body {
    padding: 20px;
}

.portfolio-section,
.contact-section {
    margin-top: 20px;
}

.project-description {
    color: #9acd32;
    margin-left: 20px;
}
.terminal-line{
    margin-bottom: 15px;
    color: #c5ffbd;
}
.iterminal-line{
    margin-bottom: 15px;
    color: #c5ffbd;

}
.iterminal-line:hover{
    animation: glitch 1s linear infinite;
    margin-bottom: 15px;
    color: #c5ffbd;
    position: relative;
    cursor: pointer;
  }
  
  @keyframes glitch{
    2%,64%{
      transform: translate(2px,0) skew(0deg);
    }
    4%,60%{
      transform: translate(-2px,0) skew(0deg);
    }
    62%{
      transform: translate(0,0) skew(5deg); 
    }
  }
  
  .iterminal-line:before,
  .iterminal-line:after{
    content: attr(title);
    position: absolute;
    visibility: hidden;
    left: 0;
  }
  .iterminal-line:hover:before,
.iterminal-line:hover:after {
  visibility: visible;
}
  
  .iterminal-line:before{
    animation: glitchTop 1s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  }
  
  @keyframes glitchTop{
    2%,64%{
      transform: translate(2px,-2px);
    }
    4%,60%{
      transform: translate(-2px,2px);
    }
    62%{
      transform: translate(13px,-1px) skew(-13deg); 
    }
  }
  
  .iterminal-line:after{
    animation: glitchBotom 1.5s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  }
  
  @keyframes glitchBotom{
    2%,64%{
      transform: translate(-2px,0);
    }
    4%,60%{
      transform: translate(-2px,0);
    }
    62%{
      transform: translate(-22px,5px) skew(21deg); 
    }
  }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

    .modal.show {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background-color: #222;
    color: #c5ffbd;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close {
    color: #c5ffbd;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: #fff;
        text-decoration: none;
    }

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px; /* Adds space below the image */
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 15px; /* Adds space between paragraphs */
}

.list ul {
    padding: 0; /* Verwijdert standaard padding */
    margin: 15px 0; /* Voegt wat ruimte toe aan de boven- en onderkant van de lijst */
    padding-left: 15px; /* Binnenruimte aan de linkerkant van de lijstitems */
}

.list li {
    margin: 10px 0; /* Ruimte tussen de lijstitems */
    padding-left: 10px; /* Extra ruimte aan de linkerkant van elk item */
}

/* Custom Scrollbar for WebKit Browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    height: 12px; /* Height of the scrollbar (for horizontal scrollbar) */
}

::-webkit-scrollbar-track {
    background: #333; /* Background color of the track */
    border-radius: 8px; /* Rounded corners of the track */
}

::-webkit-scrollbar-thumb {
    background: #00ff00; /* Color of the scrollbar thumb */
    border-radius: 8px; /* Rounded corners of the thumb */
    border: 3px solid #333; /* Border around the thumb */
}

    ::-webkit-scrollbar-thumb:hover {
        background: #00cc00; /* Color of the thumb when hovered */
    }

/* Custom Scrollbar for Firefox */
* {
    scrollbar-width: thin; /* Width of the scrollbar (default: auto) */
    scrollbar-color: #333 #121212; /* Thumb color and track color */
}

/* Optional: Customizing scrollbars for the entire document */
html, body {
    height: 100%;
    margin: 0;
}

.terminal {
    overflow: auto; /* Ensure scrollbar is visible if content overflows */
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
