/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=SUSE:wght@100..800&display=swap');

/* Root Variables */
:root {
  --primary-color: #23594A;
  --text-color: #BAB7BE;
  --title-font: "Permanent Marker", cursive;
  --text-font: "Hanken Grotesk", sans-serif;
  --card-color: #1c1c1c;
}

/* Body Styles */
body {
  background: #111;
  margin: 0;
  padding: 0;
  font-family: "Exo 2", sans-serif;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  overflow-x: hidden;
  overflow-y: auto;
}

li {
  list-style-type: none;
}

/* About Me Section */
.about-me {
  display: flex;
  margin: 0;
  text-align: center;
  padding-top: 20px;
  flex-direction: column;
  align-items: center;
}

.about-me img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.about-me h1 {
  position: relative;
  color: var(--primary-color);
  font-size: 50px;
  margin: 0;
  font-family: var(--title-font);
}

.about-me p {
  font-size: larger;
  color: var(--text-color);
  font-family: var(--text-font);
}

/* Container Styles */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Navbar Styles */
.navbar {
  display: flex;
  padding: 10px 20px;
  border-radius: 30px;
  justify-content: center;
  align-items: center; 
}

.nav-list {
  list-style-type: none;
  display: flex;
  gap: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #e7e7e7;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background-color: #282828;
  }

.icon {
  font-size: 18px;
}

/* Project Section */
.projecth1 {
  color: var(--primary-color);
  font-family: var(--title-font);
  position: relative;
  left: 40px;
  text-align: left;
  margin-top: 20px;
  font-size: 50px;
}
.project-button{
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  font-size: 20px;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: var(--text-color);

}
.projecten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Creates responsive columns */
  gap: 20px; /* Spacing between the cards */
  justify-items: center; /* Centers the cards */
  line-height: 1.6;
  background: #111;
}

/* Project Background Images */
.project-1 {
  background-image: url(pictures/make\ a\ wish\ donate\ background.jpg);
}

.project-2 {
  background-image: url(pictures/aim.png);
}

.project-3 {
  background-image: url(pictures/mflogo.png);
}

.project-4 {
  background-image: url(pictures/unobuilding.png);
}

.project-5 {
  background-image: url(pictures/unobuilding.png  );
}

.skills {
  padding: 60px 20px;
  text-align: center;
  background-color: #111;
}

.skills-title {
  font-family: var(--title-font);
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  font-family: var(--text-font);
  font-size: 20px;
  border-radius: 20px;
  background-color: var(--card-color);
  color: var(--text-color);
  border: 1px solid var(--text-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card iconify-icon {
  vertical-align: middle;
}


.skill-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 10px var(--text-color);
}


/* Card Styles */
.card {
  background-size: cover;
  padding: 10rem 0 0;
  max-width: 35ch;
  border-radius: 0.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}


.intro-container {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 2px;
}

.homepage-img {
  flex: 0 0 40%; /* Fix the image to take up 40% of the screen */
  display: flex;
  flex-direction: column;
  align-items: center;
  order: 2; /* Move the image to the right */
}

.homepage-img img {
  width: 100%; /* Make the image responsive within its container */
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  padding: 10px;
}

.short-intro {
  flex: 0 0 50%; /* Fix the text to take up 40% of the screen */
  padding: 0 20px;
  color: var(--text-color);
  order: 1; /* Move the text to the left */
}

.short-intro h1, 
.short-intro p {
  text-align: left; /* Align text to the left */
}
.short-intro h1{
  font-family: var(--title-font);
  color: var(--primary-color);
  font-size: 50px;
}
.short-intro p{
  font-family: var(--text-font);
  font-size: 20px;
}
.offscreennav{
  display: none;
  text-decoration: none;
}

.hamburger-menu.active .line:nth-child(1){
  top: 50%;
  transform: rotate(45deg);
  left: 10%;
}
.hamburger-menu.active .line:nth-child(2){
  opacity: 0;
}
.hamburger-menu.active .line:nth-child(3){
  left: 10%;
  top: 50%;
  transform: rotate(-45deg);
}
/* Ensure responsive behavior on smaller screens */
@media (max-width: 768px) {
  .offscreennav {
    background-color: #111;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    transition: 0.3s ease;
    text-decoration: none;
    z-index: 100;
    color: white;
    text-decoration: none;
  }
  .offscreennav .a{
    color: white;
  }

  .offscreennav.active {
    right: 0;
    opacity: 1;
  }
  .navbar {
   display: none;
   background-color: #111;
  }	
  .hamburger-menu{
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: relative;
  }
  .hamburger-menu .line{
    height: 5px;
    width: 100%;
    background-color: #BAB7BE;
    border-radius: 25px;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
    z-index: 101;
  }
.hamburger-menu .line:nth-child(1){
  top: 25%;
}
.hamburger-menu .line:nth-child(3){
  top: 75%;
}
 


  .intro-container {
      flex-direction: column;
      text-align: center;
  }

  .about-me img {
      width: 200px;
      height: 200px;
  }
  .about-me h1 {
      font-size: 40px;
  }
  .about-me p {
      font-size: 16px;
  }

  .homepage-img, 
  .short-intro {
      flex: 1 1 auto; /* Allow elements to take full width on small screens */
      width: 100%;
  }

  .short-intro {
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: center;  
      text-align: center;
      
  }
}
.card-hover,
.card:focus-within {
  transform: scale(1.05);
}

.card:hover {
  transform: scale(1.05);
}

.card h2 {
  color: white;
  font-family: var(--text-font);
}

.card p {
  color: white;
  font-family: var(--text-font);
}

.card-content {
  --padding: 1.5rem;
  padding: var(--padding);
  background: linear-gradient(
    hsl(0 0% 0% /0),
    hsl(20 0% 0% / 0.4) 0.1%,
    hsl(0 0% 0% /1)
  );
}


.socials svg{ 
  min-height: 50px;
  width: 50px;
  max-width: 50px;
  fill: #111;
}

.social-items{
  border: solid 1px var(--text-color);
  border-radius: 99px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.socials ul{
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 50px;
  padding: 40px;
  align-items: center;
}
footer{
  background-color: #111;
  color: var(--text-color);
  text-align: center;
  padding: 20px;
}
.circle{
  border-radius: 50%;
  background-color: var(--text-color);
  width: 70px;
  height: 70px;
  background-attachment: local;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  transition-timing-function: ease-in-out;
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

/*card responsive*/
@media (hover) {
  .card-content {
    transform: translateY(50%);
    transition: transform 0.5s ease;
  }
}

.card-content > *:not(.card-title),
.card:focus-within .card-content {
  opacity: 0;
}

.card:hover .card-content, .card:focus-within .card-content {
  transform: translateY(0);
  transition-delay: 500ms;
}

.card:focus-within .card-content {
  transition-duration: 0ms;
}

.card:hover .card-content > * {
  opacity: 1;
  transition: opacity 0.5s linear;
  transition-delay: 1000ms;
}

.card-title {
  position: relative;
  width: max-content;
}

.card-title::after {
  content: "";
  position: absolute;
  height: 4px;
  left: calc(var(--padding) * -1);
  bottom: 0;
  width: calc(100% + var(--padding));
  background: #41a689;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.card:hover .card-title::after {
  transform: scaleX(1);
}

/*social animations*/
.circle:hover {
  box-shadow: 0 0 10px 5px #BAB7BE;
  transform: scale(1.1) translateY(-5px);
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  cursor: pointer;
}

/* Button Styles */
a {
  text-decoration: none;
}
.button {
  position: relative;
  overflow: hidden;
  font-size: 30px;
  cursor: pointer;
  display: inline;
  text-decoration: none;
  color: var(--text-color);
  padding: .5em 1.25em;
  border-radius: 20px;
  border: solid 1px var(--text-color);
  background-color: #111;
  outline: none;
  transition: background-color 0.3s ease; /* Transition for button color change */
}

.button span {
  position: absolute;
  transform: scale(0);
  border-radius: 50%;
  background: #fff;  /* White ripple effect */
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
  }


  @keyframes ripple-animation {
    to {
      transform: scale(4); /* Expand the ripple */
      opacity: 0;           /* Fade out the ripple */
    }
  }
  
/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
}

/* Keyframes */
@keyframes fadeinanimation {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.experience{
  margin-top: 25VH;
}

.timeline {
  font-family: var(--text-font);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0, 9%;
}

.timeline .timeline-row {
  display: flex;

}

.timeline-column h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  font-family: var(--title-font);
}

.timeline-content {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.timeline-content .content {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
} 
