* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  text-decoration: none;
  scroll-behavior: smooth;
  list-style: none;
}
body {
  background-color: black;
  color: white;
}
.section-title {
  align-items: center;
  text-align: center;
  font-size: 3rem;
  justify-content: center;
  font-weight: 300;
  background: linear-gradient(to left, rgb(235, 230, 230), rgb(219, 26, 26));
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/*=================== Header ====================*/

#nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  gap: 4rem;
  align-items: center;
  background-color: rgba(238, 39, 39, 0.444);
  backdrop-filter: blur(8px);
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
  z-index: 1000;
}
.logo {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-wrap: nowrap;
  transition: 0.3s ease-in-out;
}
.logo:hover {
  transform: scale(1.1);
}
.nav-links {
  display: flex;
  text-wrap: nowrap;
  font-size: 1.3rem;
  gap: 2rem;
}
li a {
  position: relative;
  color: white;
  font-weight: 500;
}
li a::before {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  height: 5px;
  top: 25px;
  border-radius: 1rem;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, rgb(9, 8, 8), rgb(248, 55, 55));
}
li a:hover::before {
  width: 100%;
}
#menu-icon {
  font-size: 2rem;
  display: none;
  color: white;
}

/*=================== Intro page ====================*/
#intro-page {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  /*padding-top: 35rem;*/
  padding-bottom: 3rem;
  padding-left: 3rem;
  padding-right: 3rem;
  font-size: 1.5rem;
}
#intro-page video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(100%);
}
#intro-page-article {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
#cv {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  background: linear-gradient(to right, rgb(9, 8, 8), rgb(248, 55, 55));
  padding: 0.5rem;
  border-radius: 2rem;
  color: white;
  transition: 0.3s ease-in-out;
}
#cv:hover {
  transform: scale(1.1);
}
i {
  font-size: 3rem;
  color: red;
  transition: 0.3s ease-in-out;
}

i:hover {
  transform: scale(1.1);
}

.IntroLetter {
  color: red;
}

/*just for now ensureing that the beyond the screen inmages dont create a scroll bar at the bottom of the screen*/
img {
  max-width: 100%;
  height: auto;
}

#introH1 {
  font-size: 4rem;
  line-height: 0.9;
}

#intro-page-article-container {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

/*=================== About ====================*/
#About {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 10%;
  height: 100vh;
  justify-content: center;
}
#about-container {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}
#aboutMePic {
  width: 28vw;
  border-radius: 50%;
}
#about-container article {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1.2rem;
}
#AboutBelgiumPic {
  width: 15vw;
  border-radius: 2rem;
}

/*=================== Skills ====================*/
#Skills {
  padding: 1rem 2rem;
  height: 100vh;
  justify-content: center;
}
#skillsContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
#skillsContainer article img {
  width: 8vw;
  border: white solid 0.1rem;
  border-radius: 0.7rem;
  padding: 1rem;
  margin: 1rem;
  background-color: white;
}
#core-strength-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1rem;
}
#core-strength-list li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}
/*=================== Projects ====================*/
#Projects {
  padding: 1rem 2rem;
}
#ProjectGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(600px, 100%), 1fr));
  gap: 1.5rem;
}
.Porject-Card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: baseline;
  gap: 0.5rem;
  border: white solid 0.2rem;
  border-radius: 0.7rem;
  padding: 1rem;
  font-size: 1.2rem;
  transition: 0.2s ease-in-out;
}
.Porject-Card:hover {
  transform: scale(1.02);
  background-color: white;
  color: black;
}
.Porject-Card img {
  border-radius: 0.7rem;
}
.btn-group {
  background: linear-gradient(to right, rgb(4, 4, 4), rgb(248, 55, 55));
  border-radius: 2rem;
  padding: 0.8rem;
  transition: 0.3s ease-in-out;
}
.btn-group a {
  color: rgb(251, 251, 251);
}
.btn-group:hover {
  transform: scale(1.1);
  background: linear-gradient(to left, rgb(9, 8, 8), rgb(248, 55, 55));
}

/*=================== Experience ====================*/
/*#Experience {
  padding: 1rem 2rem;
}
#experienceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.experienceGrid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid white 0.2rem;
  border-radius: 0.7rem;
  padding: 1rem;
  font-size: 1.2rem;
  gap: 1rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.experienceGrid-card:hover {
  transform: scale(1.02);
  background-color: white;
  color: black;
}
.experienceGrid-card img {
  border-radius: 3rem;
}*/

#Experience {
  padding: 3rem 2rem;
  text-align: center;
}
#experienceGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.experienceGrid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: solid white 0.2rem;
  border-radius: 0.7rem;
  padding: 1.5rem;
  font-size: 1.2rem;
  gap: 1rem;
  transition: 0.2s ease-in-out;
}
.experienceGrid-card:hover {
  transform: scale(1.02);
  background-color: white;
  color: black;
}
.experienceGrid-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 1rem;
}

/*=================== Beyond the screen ====================*/
#Beyond {
  padding: 3rem;
  gap: 1rem;
}
#BeyondImgDiv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 1rem;
}

.BeyondImg {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0.5rem;
  filter: grayscale(100%);
}

.BeyondImg:hover {
  filter: none;
}

#Beyond article {
  position: relative;
  transition: 0.2s ease-in-out;
}
#Beyond article:hover {
  transform: scale(0.9);
}

.Beyondword {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 2rem;
}

/*=================== Contact ====================*/
#Contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  height: 60vh;
  justify-content: center;
}
#Contact article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  max-width: 90%;
  border: white solid 0.2rem;
  border-radius: 0.7rem;
  padding: 1rem;
  font-size: 1.2rem;
}
#ContactIcons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#Contact article p span {
  color: red;
}

/*=================== footer ====================*/
footer {
  background-color: rgba(238, 39, 39, 0.444);
  text-align: center;
  align-items: center;
  color: white;
  font-size: 1.2rem;
  padding: 1rem;
}

/*=================== Mobile and tablet devices ====================*/
@media (max-width: 1280px) {
  #nav {
    padding: 0.3rem 0.9rem;
    gap: 2rem;
  }
  .nav-links {
    font-size: 1rem;
  }
  #intro-page {
    /*padding-top: 55rem;*/
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    font-size: 1.2rem;
  }
  #aboutMePic {
    width: 35vw;
  }
  #AboutBelgiumPic {
    width: 20vw;
  }
  #ProjectGrid {
    grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
  }
}
@media (max-width: 768px) {
  #nav {
    gap: 1rem;
    padding: 0.4rem 0.8rem;
  }
  .nav-links {
    font-size: 0.85rem;
    gap: 1rem;
  }
  .logo {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  #intro-page {
    /*padding-top: 35rem;*/
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    font-size: 1.2rem;
  }
  #introH1 {
    font-size: 3rem;
  }
  #intro-page-article {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  #cv {
    align-self: flex-start;
    width: fit-content;
  }

  #About {
    height: auto;
    min-height: 100vh;
    padding: 3rem 6%;
  }
  #about-container {
    flex-direction: column;
    text-align: center;
  }
  #about-container article hr {
    width: 100%;
    align-self: stretch;
  }
  #about-container article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #aboutMePic {
    width: 45vw;
  }
  #AboutBelgiumPic {
    width: 25vw;
  }

  #Skills {
    height: auto;
    min-height: 100vh;
    padding: 2rem 1rem;
  }
  #skillsContainer article img {
    width: 12vw;
  }

  #ProjectGrid {
    grid-template-columns: 1fr;
  }
  #experienceGrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  #menu-icon {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    color: black;
    background-color: rgba(120, 40, 40, 0.959);
    display: none;
    flex-direction: column;
    text-align: center;
    border-radius: 3rem;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin-top: 1.5rem;
    padding: 0.3rem;
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  #intro-page {
    font-size: 1rem;
    /*padding-top: 30rem;*/
    padding-bottom: 1.5rem;
  }
  #intro-page-article {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  #cv {
    align-items: center;
    width: fit-content;
    padding: 0.6rem 1.2rem;
  }

  #introH1 {
    font-size: 2rem;
  }
  #about-container {
    display: flex;
    flex-direction: column;
  }
  #about-container article {
    font-size: 1rem;
  }
  #aboutMePic {
    width: 50vw;

    border-radius: 20px;
  }

  #skillsContainer article img {
    width: 17vw;
  }
  .skillsheading {
    font-size: 1.2rem;
  }
  #core-strength-list li {
    font-size: 1rem;
  }
  #core-strength-list li i {
    font-size: 1rem;
  }
  .Porject-Card {
    font-size: 1rem;
  }
  .experienceGrid-card {
    font-size: 1rem;
  }
  #Contact article {
    font-size: 1rem;
  }
  .Beyondword {
    font-size: 1.5rem;
  }
}
