@import 'https://fonts.googleapis.com/css?family=Roboto+Mono:100';
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700&display=swap');

html, body {
    font-family: 'Roboto Mono', monospace;
    background: #212121;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.navbar {
    background-color: #333;
    padding: 14px 16px;
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between; /* Space between left and right sections */
    align-items: center; /* Vertically center the content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Ensure navbar is above other elements */
}

.navbar-left {
    display: flex;
    align-items: center;
}

.flag {
    width: 25px; /* Adjust the size of the flag */
    height: auto;
    margin-right: 20px; /* Space between the flag and text */
}

.navbar-left span {
    color: #f2f2f2;
    font-size: 16px;
}

/* Navbar links */
.navbar-right a {
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.navbar-right a:hover, .navbar-right a.active {
    background-color: #ddd;
    color: black;
}
.navbar-right a {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.navbar-left span {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}
.profile-picture-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center-align the content */
    margin-bottom: 20px; /* Space below the profile picture */
}

.profile-picture {
    width: 300px; /* Adjust the size of the profile picture */
    height: 300px;
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Ensure the image covers the circle */
    margin-top: 20px; /* Add space above the image */
    box-shadow: -50px -50px 0 -40px var(--red), 50px 50px 0 -40px var(--red); /* Add shadow to restore frame effect */
}

.introduction-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    min-height: 20px; /* Adjust height as needed */
    text-align: center; /* Center-align text within the container */
    margin: 0 auto; /* Center container horizontally */
    padding: 20px; /* Reduced padding for better readability */
    margin-top: -100px; /* Reduced space above the introduction */
}

.introduction {
    font-family: 'Roboto Mono', monospace; /* Different font for introduction */
    max-width: 800px; /* Limit the width for better readability */
    color: #FAFAFA; /* Set text color to white */
    font-size: 20px; /* Adjust font size for readability */
    text-align: center; /* Center the text */
    margin: 5px; /* Reduced margin for better spacing */
}

:root {
  --red: #4169E1;
  --bgColor: bisque;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  margin-top: 20px;
  height: 30vh;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto Slab', serif;
  color: #ffffff;
  font-size: 20px; 
}

.effect-wrapper {
  text-align: center;
  font-weight: normal;
}

#typed {
  font-weight: bold;
  color: #4169E1;
}

.cursor {
  display: inline-block;
  background-color: #b0ff95;
  animation: blinker 900ms infinite;
}

.cursor.typing-true {
  animation: none;
}

@keyframes blinker {
  0% { background-color: #4169E1; }
  50% { background-color: transparent; }
  100% { background-color: #4169E1; }
}

/* Define a custom class for extra bold text */
.extra-bold { font-family: 'Montserrat', sans-serif; }

.social-links {
  display: flex;
  justify-content: center; /* Center-align the icons */
  margin-top: 80px; /* Add space above the icons */
  flex-wrap: wrap; /* Allow icons to wrap on small screens */
}

.social-icon {
  width: 45px; /* Adjust the size of the icons */
  height: 45px;
  margin: 10px; /* Space around the icons for better wrapping */
  transition: transform 0.3s; /* Add a transition effect */
}

.social-icon:hover {
  transform: scale(1.2); /* Scale up the icon on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the links */
  }

  .navbar-right a {
    padding: 10px;
    font-size: 14px;
    width: 100%; /* Make links take full width */
    text-align: center; /* Center align text */
  }

  .profile-picture {
    width: 200px; /* Adjust the size of the profile picture */
    height: 200px;
  
  }

  .introduction {
    font-size: 18px; /* Adjust font size for smaller screens */
  margin-bottom: 100px;
    margin-top: 20px;
  }

  .social-links {
    margin-top: 20px; /* Reduce space above icons */
  }

  .social-icon {
    width: 35px; /* Adjust the size of the icons */
    height: 35px;
  }

}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-left, .navbar-right {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .profile-picture {
    width: 200px; /* Adjust the size of the profile picture */
    height: 200px;
    
  }

  .introduction {
    font-size: 16px; /* Adjust font size for smaller screens */
    margin-bottom: 25px;
    margin-top: 250px;
  }

  .social-icon {
    width: 30px; /* Adjust the size of the icons */
    height: 30px;
  }
  
}
/* ── Education Page ── */
.edu-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 24px;
}

.edu-block {
    margin-bottom: 60px;
}

.edu-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #888;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.edu-degree {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #FAFAFA;
    margin-bottom: 4px;
}

.edu-meta {
    font-size: 0.75rem;
    color: #888;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 0;
}

.divider {
    border: none;
    border-top: 1px solid #2e2e2e;
    margin: 50px 0;
}

/* ── Graduation Project ── */
.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4169E1;
    margin-bottom: 12px;
    line-height: 1.5;
}

.project-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Roboto Mono', monospace;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tag {
    font-size: 11px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(65, 105, 225, 0.15);
    color: #7aabff;
    border: 1px solid rgba(65, 105, 225, 0.25);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.screenshots-grid a img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #2e2e2e;
    transition: border-color 0.2s;
}

.screenshots-grid a img:hover {
    border-color: #4169E1;
}

.dissertation-btn {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 8px;
    background: #4169E1;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.dissertation-btn:hover {
    background: #2a4fc7;
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Skills Page ── */
.skills-container {
    max-width: 1100px;
    margin: 120px auto 60px;
    padding: 0 24px;
}

.skills-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #888;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
}

.charts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.ncharts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.chart-container,
.nchart-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: none;
}
