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

body {
  font-family: 'Courier New', monospace;
  background-color: #000;
  color: #fff;
  padding: 0;
}

.site-wrapper {
  border: 2px solid #444;
  border-radius: 12px;
  box-shadow: 0 0 10px #222;
  padding: 0px;
  
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.logo {
  font-weight: bold;
  text-transform: lowercase;
}

nav a {
  margin-left: 40px;
  color: white;
  text-decoration: none;
  border: 1px solid #333;
  padding: 15px 20px;
  text-transform: lowercase;
}
nav a:hover{
    background-color: #FFFF00;
    color: black;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
    transition: all 0.3s ease;
}

.intro {
  text-align: center;
  margin-top: 40px 0;
  border-bottom: 2px solid #444;
  
}

.intro h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.intro p{
  font-size: 1.5em;
}
.bio {
  padding: 0;
  margin: 0 auto 60px;
  margin-bottom: 0;
  font-size: 1.5em;
  text-align: center;
  line-height: 1.6;
  border-bottom: 2px solid #444;
}
/*.projects h1{
    text-align: center;
    font-size: 2.5em;
    padding-bottom: 1em;
}*/
.articles {
  /*display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 60px;*/
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
}

.card {
  /*background-color: #111;
  border: 1px solid #333;
  padding: 20px;
  width: 300px;
  text-align: center;*/
  border: 1px solid #444;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}
.card:hover img {
  transform: scale(1.1);
}
.card h3 {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: white;
  background: black;
  text-decoration: none;
  border: 1px solid white;
  padding: 1rem 1.5rem 1rem;
  z-index: 1;
  transition: all 0.3s ease;
  font-weight: 500;
  
}



.card a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  border: 1px solid white;
  z-index: -1;
  transition: all 0.3s ease;
}

.card a:hover {
  background: #FFFF00;
  color: black;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

.card a:hover::before {
  top: 0;
  left: 0;
}
.about{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 0;
}
.contact {
  background: black;
  color: white;
  border: 1px solid #444;
  padding: 0;
}

.contact {
  background: black;
  color: white;
  padding: 1rem;
  overflow: hidden;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid white;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0; 
  font-size: 1.1rem;
}

.contact-item i {
  color: white;
  font-size: 1.3rem;
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #00bfff;
}

.marque {
  display: grid;
  grid-template-rows: repeat(3, auto);
  border: 1px solid #444;
  padding: 0;
}

.marquee-row {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  font-family: 'Courier New', monospace;
  font-size: 5em;
  color: white;
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 1em;
}

.marquee-row span {
  display: inline-block;
  min-width: 200%;
  animation: marquee 10s linear infinite;
}

.marquee-row.reverse span {
  animation: marquee-reverse 10s linear infinite;
  transform: translateX(-50%);
}
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); } 
  100% { transform: translateX(0%); }  
}

footer {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.9em;
}
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.skill-group {
  display: flex;
  align-items: flex-start;
  flex: 1 1 300px;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1rem;
}

.skill-group:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  text-align: center;
  color: #ffffff;
}

.skill-content h4 {
  margin: 0 0 0.75rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.skill-content p {
  margin: 0;
  line-height: 1.5;
}

/* Skill list styling */
.skill-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.skill-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem; /* Reduced from 0.3rem */
  line-height: 1.2; /* Further reduced line height */
  padding: 0; /* Remove any padding */
  white-space: nowrap; /* Keep list items on one line */
}

.skill-list li span {
  display: inline;
}

.skill-list li i {
  color: #ffffff; /* Changed from #4a9bff to white */
  margin-right: 0.3rem; /* Reduced from 0.5rem */
  font-size: 0.8rem;
}

/* Also adjust the card padding to be more compact */
.card.skill-card {
  padding: 0.75rem; /* Reduced padding for skill cards */
}

/* Make the skill heading bigger */
.skill-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Increase the icon size */r screens */
.skill-icon {
  font-size: 1.8rem; /* Increased from 1.4rem */
  margin-bottom: 0.75rem; /* Slightly increased margin */   flex-direction: column;
  text-align: center;  
  color: #4a9bff;
}

/* For smaller screens */
@media (max-width: 768px) {
  .skills-container {    flex-direction: column;  }    .skill-group {    flex: 1 1 100%;
  }
}

/* Enhanced highlight effect with subtle glow */
.highlight {
  color: #FFFF00; /* Neon yellow */
  text-shadow: 0 0 3px rgba(255, 255, 0, 0.7);
  font-weight: 500;
  display: inline; /* Ensure inline display */
  white-space: nowrap; /* Prevent breaking */
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
}

/* Apply special handling for intro text */
.intro h1 .highlight,
.intro p .highlight,
p .highlight {
  margin-right: -0.1em; /* Negative margin to pull text closer */
  position: relative; /* For precise positioning */
}

/* Ensure skill list items don't have gaps */
.skill-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
  line-height: 1.2;
  padding: 0;
  white-space: nowrap; /* Keep list items on one line */
}

.skill-list li span {
  display: inline;
}
