@font-face {
  font-family: Nunito;
  src: url(fonts/nunito-regular.ttf);
}

@font-face {
  font-family: NunitoBold;
  src: url(fonts/nunito-bold.ttf);
}

* {
  margin: 0;
}

body {
  font-size: 100%;
  font-family: Nunito, sans-serif;
  padding-top: 30px;
}

article {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

header {
  height: 90px;
  padding: 40px;
  background-color: #ffffff;
  color: #000000;
  font-size: 200%;
  font-family: NunitoBold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

header a {
  display: inline-block;
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.header-name {
  display: flex;
  align-items: center;
}

.header-logo-text {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.nav-active {
  display: block;
}

nav {
  height: 30px/16px;
  color: #f7f5ee;
  text-align: right;
  flex: 1;
  font-size: 1.15rem;
}

nav a {
  padding: 2px 20px;
  display: inline-block;
  color: rgb(0, 0, 0);
  text-decoration: none;
}

a:hover {
  color: #02ae66;
  font-family: NunitoBold;
}

.active {
  background-color: #c4801f;
  font-family: NunitoBold;
}

i {
  padding-right: 3px;
}

footer {
  height: 30px/16px;
  background-color: #212020;
  color: #ffffff;
  text-align: center;
  width: 100%;
}

@media screen and (max-width: 600px) {
  nav {
    display: none;
    position: absolute;
    background-color: #695c5c;
    width: 100%;
    z-index: 1;
  }

  .nav-active {
    display: block;
  }

  nav a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
    text-align: left;
  }
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-pill {
  padding: 10px 20px;
  background-color: #f2f2f2;
  color: #333;
  font-size: 1em;
  border: none;
  border-radius: 50px;
  font-family: NunitoBold;
  color: #505050;
}


.name-header {
  text-align: center;
  margin-bottom: 15px;
  margin-top: 10px;
  padding-left: 15px;
  font-size: 2.5em;
  font-family: NunitoBold;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
  padding-left: 15px;
  font-size: 2.5em;
  font-family: NunitoBold;
  position: relative;
}

.title-separator {
  display: block;
  margin: 1.5rem auto 0 auto;
  height: 5px;
  width: 3rem;
  background: #02ae66;
  border-radius: 5px;
}

.section-sub-title {
  text-align: center;
  margin-bottom: 10px;
  padding-left: 15px;
  font-size: 1.8em;
}

.inner-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 10px 10px 0px 10px;
}

.section-content {
  flex-basis: 45%;
  border-radius: 2%;
  padding: 20px;
  text-align: center;
}

.section-content-description {
  flex-basis: 45%;
  border-radius: 2%;
  padding: 20px;
  text-align: left;
}

@media screen and (max-width: 600px) {
  .section-content {
    flex-basis: 100%;
    margin: 0 auto;
    padding: 15px;
  }
}

.section-description {
  max-width: 800px;
  font-size: 1.2rem;
  padding: 50px 15px;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


img.thumbs {
  width: 60px;
  height: auto;
  border-radius: 5%;
}

img.project_logo {
  width: 25%;
  height: auto;
  border-radius: 10%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: Nunito;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
}

button[type="submit"] {
  background-color: #02ae66;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: NunitoBold;
}

button[type="submit"]:hover {
  background-color: #01824c;
}

.socials-icon {
  width: 5rem;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.socials-icon img {
  filter: invert(100%); /* Invert the colors of the image */
}

.social-icon-link {
  width: 100%;
  transition: background 0.3s;
  border-radius: 5px;
}

#home {
  background: #e9e9e9;
}

#about {
  background: #ffffff;
  padding: 4rem 0;
}

#projects {
  background: #e9e9e9;
  padding: 8rem 0;
}

#contact {
  background: #ffffff;
  padding: 8rem 0;
}

#battle-royale {
  background: #f8f8f8;
  padding: 8rem 0;
}

/* Kanban Board Layout */
.kanban-board {
  display: flex;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
}

.kanban-column {
  flex: 1;
  min-width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
}

.kanban-header {
  padding: 20px;
  text-align: center;
  color: white;
  font-family: NunitoBold;
  position: relative;
}

.kanban-header.alive {
  background: linear-gradient(135deg, #02ae66, #01824c);
}

.kanban-header.camping {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.kanban-header.oneshot {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.kanban-header.dead {
  background: linear-gradient(135deg, #7f8c8d, #2c3e50);
}

.kanban-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hp-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 8px;
  display: inline-block;
}

.kanban-cards {
  padding: 20px;
  max-height: 500px;
  overflow-y: auto;
}

.project-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #02ae66;
}

.project-card h4 {
  margin: 0 0 8px 0;
  font-family: NunitoBold;
  font-size: 1.1rem;
  color: #333;
}

.project-card p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.project-card::after {
  content: '→';
  position: absolute;
  top: 16px;
  right: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #02ae66;
  font-weight: bold;
}

.project-card:hover::after {
  opacity: 1;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .kanban-board {
    flex-direction: column;
  }
  
  .kanban-column {
    min-width: auto;
  }
  
  .kanban-cards {
    max-height: 300px;
  }
}

form {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.socials {
  background: #212020;
  color: #ffffff;
  padding: 1.5rem 0rem 5rem 0rem;
}

.header__link {
  padding: 2.2rem 3rem;
  display: inline-block;
  font-size: 1.6rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  transition: color 0.3s;
}

.header__link:hover {
  color: #7843e9;
}

html {
  scroll-behavior: smooth; /* Makes the scrolling down on the page smooth when the header links are clicked */
}


/* Scroll down icon */
.scroll-down-animation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.mouse-shape {
  display: block;
  width: 25px;
  height: 45px;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 25px;
  position: relative;
  opacity: 0.75;
}

.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: rgb(0, 0, 0);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% { opacity: 0; }
  10% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(15px); opacity: 0;}
}

.intro-page-button {
  margin-top: 20px;
  display: block;
  padding: 20px 40px;
  background-color: #02ae66; 
  color: white;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  font-family: NunitoBold;
}

.intro-page-button:hover {
  transform: translateY(-5px); /* Moves button up on hover */
  color: white;
  font-family: NunitoBold;
}

.section-button {
  max-width: 120px;
  margin-top: 20px;
  display: inline-block;
  padding: 20px 30px;
  background-color: #02ae66; 
  color: white;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 20px;
  font-family: NunitoBold;
}

.section-button:hover {
  transform: translateY(-5px); /* Moves button up on hover */
  color: white;
  font-family: NunitoBold;
}

.section-button-inactive {
  max-width: 120px;
  margin-top: 20px;
  display: inline-block;
  padding: 20px 30px;
  background-color: #cccccc; 
  color: #666666;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 20px;
  font-family: NunitoBold;
  cursor: not-allowed;
  opacity: 0.6;
}

.section-button-inactive:hover {
  transform: none; /* No hover effect for inactive buttons */
  color: #666666;
  font-family: NunitoBold;
}
