html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}
p,a,h1,h2,h3,form{
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  overflow-x: hidden;
  background-color: #c10505;
  color: white;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: #c10505;
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 4rem;
  color: #0d0101;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
}

.logo:hover {
  transform: scale(1.1);
}
.burger{
  display: none;
  background-color: transparent;
  border: none;
  font-size: 3rem;
  color: #0c0003;
  cursor: pointer;
}
nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 4rem;
}

nav ul a {
  font-size: 1.8rem;
  color: white;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: #0c0003;
 
}

.cv-download{
  background-color: #0c0003;
  color: white;
  border: none;
  padding: 0.25rem 1.5rem;
  border-radius: 12%;
}

.cv-download a:hover,
.cv-download a.active{
  color:#c10505 ;
}


/* Mobile Styles */

@media (max-width: 1200px) { /* Large screens */
  .home-content h1 {
    font-size: 5rem;
  }
  .home-content h3 {
    font-size: 3rem;
  }
  .home-img img {
    width: 40vmin;
  }
}

@media (max-width: 995px) { /* Medium screens */
  header {
    padding: 1rem 5%;
  }
  nav ul {
    display: none; /* Verborgen bij medium */
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 20%;
    background-color: #c10505;
  }
  nav ul.show {
    display: flex; /* Zichtbaar wanneer toggle actief */
  }
  nav ul li {
    margin: 1rem 0;
    text-align: center;
  }
  .burger {
    display: block;
  }
  .home-content h1 {
    font-size: 4rem;
  }
  .home-content h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) { /* Small screens */
  header {
    flex-direction: column;
  }
  .home-content h1 {
    font-size: 3rem;
  }
  .home-content h3 {
    font-size: 2rem;
  }
  .home-img img {
    width: 30vmin;
  }
}

@media (max-width: 576px) { /* Extra Small screens */
  nav ul {
    width: 100%;
  }
  .home-content h1 {
    font-size: 2.5rem;
  }
  .home-content h3 {
    font-size: 1.8rem;
  }
}


h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1rem;
  color: #ffffff;
  text-align: left;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/*--------------------------- HOME---------------------------*/
section {
 margin-top: 100px;
  padding: 5rem 9%;
  display: flow-root;
}

.home { width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background-color: #5c200a;
}

.home .home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}

span {
  color: #0d0101;
  font-weight: 800;
}

.home-content h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #fa0000;
}

.home-content p {
  font-size: 1.6rem;
}

.home-img {
  border-radius: 50%;
}

.home-img img {
  position: relative;
  width: 50vmin ;
  border-radius: 50%;
  box-shadow: 0 0 25px solid #b74b4b;
  cursor: pointer;
  transition: 0.2s linear;
}

.home-img img:hover {
  font-size: 1.8rem;
  font-weight: 500;
}

.TM{
  color: #000000;
  font-weight: bold;
}
/*-------------------------------OVER-------------------------------*/
.over-img {
  border-radius: 45%;
  float: right;
}

.over-img img {
  position: relative;
  width: 45vmin;
  border-radius: 50%;
  box-shadow: 0 0 25px solid #b74b4b;
  cursor: pointer;
  transition: 0.2s linear;
  align-items: center;
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}
.about p {
  font-size: medium;
  text-align: left;
}

/*-----------------------------------CONTACT---------------------------------*/
form {
  margin: 1rem;
}
form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #090909;
  border-radius: 5px;
}
form button:hover {
  background-color: #555;
}

#contact{
  height: 22%;
}

.contact-link{
  font-size: medium;
}
/*-------------------------------------PROJECTEN-------------------------------------*/
.projects-grid h3{
  font-size: large;
}
.grid {
  position: relative;
  display: inline-block;
}
.grid img {
  width: 500px;
}
.project-card{
  
  top: 310px;
  left: 0;
  width: 50rem;
  height: 100%;
  display: flow-root;
  grid-template-columns: repeat(1, 1fr); /* Customize the number of columns */
  grid-template-rows: repeat(4, 1fr);    /* Customize the number of rows */
  gap: 5px; 
  pointer-events: none; /
}

.project-card div {
  border: 1px solid rgba(255, 255, 255, 0.5); /* Grid cell appearance */
}
.project-card p {
  font-size: medium;
  text-align: left;
}

/*--------------------------- FOOTER---------------------------*/
button,.verstuur{
  background-color: #0c0003;
  color: white;
  padding: 0.5rem 0.5rem;
  border-radius: 12%;
}
.instagram-icon i {
  font-family: "Font Awesome 5 Brands" !important;
  font-style: normal;
  font-weight: normal;
}


.instagram-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #0c0003; 
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.instagram-icon:hover {
  background-color: #930101; 
  transform: scale(1.1); 
}
