/* Set default styles for the page */

html {
    font-size: 16px;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
body {
    font-family: "Bricolage Grotesque", sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: white;
}

#page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

html {
    overflow: scroll;
    overflow-x: hidden;
}

h1 {
  font-size: 2rem;
  color: var(--tint-100);
}

h2 {
  font-size: 1.6rem;
  color: #11cd98;
}

h3 {
 font-size: 1.4rem;
 color: var(--tint-80);
}

p {
  font-size: 1.2rem;
  color: var(--tint-70);
  padding-top: 0.5rem;
}

/* Style for unordered list */
ul {
  list-style-type: disc; /* Use filled disc as bullet points */
  padding-left: 1.5rem; /* Add left padding for the list */
}

/* Style for list items */
li {
  font-size: 1.2rem;
  color: var(--tint-70); /* Use your color variable here */
  padding-top: 0.5rem;
}


:root {
  --tint-10: #1a1a1a;  /* 10% tint */
  --tint-20: #333333;  /* 20% tint */
  --tint-30: #4d4d4d;  /* 30% tint */
  --tint-40: #6666667c;  /* 40% tint */
  --tint-50: #808080;  /* 50% tint */
  --tint-60: #999999;  /* 60% tint */
  --tint-70: #b3b3b3;  /* 70% tint */
  --tint-80: #cccccc;  /* 80% tint */
  --tint-90: #e5e5e5;  /* 90% tint */
  --tint-100: #f5f5f5; /* 100% tint (Near white) */
}

/* Example usage: */
/* Background color using a 50% tint (gray) */
body {
  background-color: var(--tint-20);
}

/* Text color using a 90% tint (light gray) */
p {
  color: var(--tint-80);
}

/* Border color using a 20% tint (dark gray) */
.card {
  border: 1px solid var(--tint-20);
  height: fit-content;
}


.card > p {
  flex-direction: row;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.progress-container {
  background-color: transparent;
  height: 10px;
  width: 100%;
}

.progress-bar {
  background-color: #169873;
  height: 10px;
  width: 0%;
}

.content {
  padding: 2em;
}

::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}

/* Button styles */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--tint-10);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
}

.portfolio {
  max-height: 50vh;
}

.button > a {
  text-decoration: none;
  text-decoration-color: #ffffff;
}
  
  /* Style the header */
  
  header {
    background-color: #169873;
    color: var(--tint-90);
    text-align: center;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0;
  }

  #title {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
  
  h1, h2, h3, p {
    margin: 0;
  }

  .subtitle {
      background-color: #169873;
      color: var(--tint-90);
      text-align: center;
      padding: 1rem 1rem 1rem 1rem;
      margin-top: 50px;
      border-radius: 0.5rem;
      z-index: 4;
      position: relative;
  }

  .subtitle h1 {
    font-weight: 600;
    z-index: 4;
  }
  
  /* Style the navigation menu */
  
  .fullscreen-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    z-index: 3;
    justify-content: center;
    background-color: #169873d2;
}

model-viewer {
  display: flex;
  align-self: center;
  position: absolute;
  height:100%;
	width:100%;
  margin: 0 auto;
  z-index: 3;
  filter: opacity(0.2);
}


.fullscreen-bg__image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    filter: opacity(0.7);
    filter: blur(0.8);
}

#portfolio-pagina {
  background-size: cover;
}

.arrow-button {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-self: center;
  color: white;
  z-index: 2;
  padding-bottom: 1.5rem;
  animation: floatingAnimation 3s ease infinite;
}

.arrow-button img {
  filter: brightness(0) invert(1);
  background:transparent;
  padding-bottom: 1.5rem;
}

/* Keyframe animation for floating */
@keyframes floatingAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.arrow-button:hover {
  cursor: pointer;
}

.content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  color: white;
  animation: fadein 3s ease-in-out;
  animation-fill-mode: forwards;
  opacity: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

@keyframes fadein {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--tint-20);
  }

  /* Flex container styles */
.flex-container {
  display: flex;
  justify-content: end;
  align-items: center; /* Align the flex container at the bottom */
  height: 100vh; /* Adjust the height of the parent container */
}

/* Image styles */
.flex-container img {
  max-width: 50%; /* Adjust this value to make the image smaller */
  height: auto;
}

  iframe {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 1rem;
    max-height: 40vh;
    filter: grayscale(0.1);
  }
  
  figure {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(60px);
    max-width: 820px;
    margin: 5px;
    padding: 16px;
    flex-shrink: 2;
    background: radial-gradient(
		circle at top right,
		rgba(25, 83, 115, 0.7) 0,
		rgba(25, 83, 115, 0.5) 100%
	  );
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .cardlist {
    gap: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }
  
  nav li {
    display: inline-block;
    margin-right: 10px;
  }
  
  nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
  }
  
  nav a:hover {
    background-color: #00d0ff;
    color: #fff;
  }
  
  section {
    padding: 20px;
  }

  #main {
    padding-top: 0rem;
    max-width: 70vw;
    margin: 0 auto;
  }
  
  article {
    margin-bottom: 30px;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 0.4rem 0.4rem;
    background: var(--tint-40);
  }
  
  @keyframes Sub {
    0%,
    100% {
      transform: translateY(0);
    }
  
    10%,
    30%,
    50%,
    70% {
      transform: translateY(-8px);
    }
  
    20%,
    40%,
    60% {
      transform: translateY(8px);
    }
  
    80% {
      transform: translateY(6.4px);
    }
  
    90% {
      transform: translateY(-6.4px);
    }
  }

  .shape {
    z-index: -7;
    display: flex;
    position: absolute;
    justify-self: center;
    width: 70%;
    height: 60%;
  }
  
  footer {
    background-color: #169873;
    color: #fff;
    text-align: center;
    padding: 2rem;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }

  /* Keyframe animation for smoother fade transition */
@keyframes fadeOutAnimation {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}

/* Apply the keyframe animation */
.fade-out {
  animation: fadeOutAnimation 0.5s ease-in-out;
}

@keyframes slideInAnimation {
  0% {
      background-position: 100% center;
      opacity: 0;
  }
  100% {
      background-position: center center;
      opacity: 1;
  }
}

@keyframes slideOutAnimation {
  0% {
      background-position: center center;
      opacity: 1;
  }
  100% {
      background-position: -100% center;
      opacity: 0;
  }
}

/* Add custom styles for the carousel */
.fullscreen-bg__image {
  display: flex;
  overflow: hidden;
  width: 100%;
  transition: transform 0.5s ease-in-out; /* Add smooth transition for the slide effect */
}

.fullscreen-bg__image img {
  width: 100%;
  transition: transform 0.5s ease-in-out, opacity 0.5s; /* Add smooth transition for zoom effect */
}

/* Add fade-in and scale-up animation to cards on hover */
.card {
  opacity: 0;
  background: var(--tint-30);
}

.linkedin-icon a img {
  display: flex;
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease-in-out;
  padding-left: 10px;
}

.list-icons {
  padding-top: 10px;
  place-items: start;
  display: flex;
  flex-shrink: 1;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
}

.icon {
  color: #fff;
  font-size: 1rem;
  flex-flow: row wrap;
  padding-top: 5px;
  margin-top: auto;
  text-align: start;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
}

.icon img {
  width: 40px;
  height: 40px;
  padding-left: 10px;
  display: flex;
}

.linkedin-icon a:hover {
  transform: scale(1.2); /* Increase the size of the icon on hover */
}


.bubbles{
  position:fixed;
  width:100%;
  height: 100%;
  z-index:0;
  overflow:hidden;
  top:0;
  left:0;
  z-index: -3;
}
.bubble{
  position: fixed;
  bottom:-100px;
  width:40px;
  height: 40px;
  background: rgb(22,152,115);
  background: linear-gradient(90deg, rgba(22,152,115,0.8981793400954132) 0%, rgba(22,152,115,1) 44%, rgba(22,152,115,0.9205883036808473) 100%);
  border-radius:50%;
  opacity:0.5;
  animation: rise 10s infinite ease-in;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

}
.bubble:nth-child(1){
  width:40px;
  height:40px;
  left:1%;
  animation-duration:8s;
}
.bubble:nth-child(2){
  width:20px;
  height:20px;
  left:5%;
  animation-duration:5s;
  animation-delay:1s;
}
.bubble:nth-child(3){
  width:50px;
  height:50px;
  left:10%;
  animation-duration:7s;
  animation-delay:2s;
}
.bubble:nth-child(4){
  width:80px;
  height:80px;
  left:15%;
  animation-duration:11s;
  animation-delay:0s;
}
.bubble:nth-child(5){
  width:35px;
  height:35px;
  left:20%;
  animation-duration:6s;
  animation-delay:1s;
}
.bubble:nth-child(6){
  width:45px;
  height:45px;
  left:80%;
  animation-duration:8s;
  animation-delay:3s;
}
.bubble:nth-child(7){
  width:90px;
  height:90px;
  left:85%;
  animation-duration:12s;
  animation-delay:2s;
}
.bubble:nth-child(8){
  width:25px;
  height:25px;
  left:90%;
  animation-duration:6s;
  animation-delay:2s;
}
.bubble:nth-child(9){
  width:15px;
  height:15px;
  left:95%;
  animation-duration:5s;
  animation-delay:1s;
}
.bubble:nth-child(10){
  width:90px;
  height:90px;
  left:100%;
  animation-duration:10s;
  animation-delay:4s;
}

.animatable {
  visibility: hidden;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
.animated {
  visibility: visible;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-play-state: running;
  animation-play-state: running;
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}
@keyframes fadeInUp {
	0% {
		opacity: 0;
		-webkit-transform: translateY(100px);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

@keyframes rise{
  0%{
    bottom:-100px;
    transform:translateX(0);
  }
  50%{
    transform:translate(100px);
  }
  100%{
    bottom:1080px;
    transform:translateX(-200px);
  }
}

/*========================================================================================================================================================/
/* Responsiviteit
/* Responsive styles for extra-small screens */
@media screen and (max-width: 480px) {
  /* Adjust font size for extra-small screens */
  html {
    font-size: 10px;
  }

  header > h1 {
    font-size: 4rem;
    padding: 0;
  }

  .subtitle h1 {
    font-size: 3rem;
  }

  #title {
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }

  #page {
    padding-top: 0px;
  }

 .content h1 {
    font-size: 5rem;
  }

  .content p {
    font-size: 1.5rem
  }

  /* Make the arrow button even smaller */
  .arrow-button {
    padding-bottom: 7rem;
    font-size: 1.5rem;
    font-size: 2rem;
  }

  /* Adjust padding for cards on extra-small screens */
  .card {
    padding: 20px;
    margin: 10px;
    width: 80vw;
    height: fit-content;
  }

  .card {
    opacity: none;
    transform: none;
    transition: none;
  }

  #main {
    background:none;
  }

  .card h2 {
    font-size: 2.5rem;
    text-align: left;
  }

  .card h3 {
    text-align: left;
    font-size: 3rem;
  }

  .card p {
    text-align: left;
    font-size: 2rem;
  }

  /* Adjust fullscreen background height */
  .fullscreen-bg {
    height: 100vh;
  }

  /* Adjust grid layout for cards on extra-small screens */
  .cardlist {
    grid-template-columns: repeat(1, 1fr);
    padding: 3px;
    gap: 2px;
    align-items: center;
  }
}

/* Responsive styles for small screens */
@media screen and (min-width: 481px) and (max-width: 768px) {
  /* Adjust font size for small screens */
  html {
    font-size: 18px;
  }

  #main {
    background: none;
  }

  #page {
    padding-top: 0px;
  }

  /* Make the arrow button smaller */
  .arrow-button {
    padding-bottom: 3rem;
    font-size: 1.5rem;
    z-index: 5;
  }

  .content h1 {
    font-size: 2.3rem;
  }

  .content p {
    font-size: 1rem
  }

  article {
    margin-bottom: 30px;
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.4rem 0.4rem;
    background: var(--tint-40);
  }

  /* Adjust padding for cards on small screens */
  .card {
    padding: 20px;
    margin: 20px;
    width: 90vw;
    align-self: center;
    height: fit-content;
  }

  /* Adjust fullscreen background height */
  .fullscreen-bg {
    height: 100vh;
  }

  /* Adjust grid layout for cards on small screens */
  .cardlist {
    grid-template-columns: repeat(1, 1fr);
    padding: 5px;
    gap: 0px;
  }
}

/* Responsive styles for medium-sized screens */
@media screen and (min-width: 769px) and (max-width: 1100px) {
  /* Adjust font size for medium-sized screens */
  html {
    font-size: 16px;
  }

  .arrow-button {
    padding-bottom: 3rem;
    font-size: 1.5rem;
    z-index: 5;
  }

  .content h1 {
    font-size: 3.5rem;
  }

  .content p {
    font-size: 1.6rem
  }

  /* Adjust fullscreen background height */
  .fullscreen-bg {
    height: 100vh;
  }
}

/* Responsive styles for larger screens */
@media screen and (min-width: 1101px) and (max-width: 1440px) {
  /* Adjust font size for larger screens */
  html {
    font-size: 18px;
  }

  /* Make the arrow button larger */
  .arrow-button {
    padding-bottom: 0.7rem;
    font-size: 1.5rem;
    z-index: 5;
  }

  /* Adjust padding for cards on larger screens */
  .card {
    padding: 20px;
  }

  /* Adjust fullscreen background height */
  .fullscreen-bg {
    height: 100vh;
  }

  /* Adjust grid layout for cards on larger screens */
  .cardlist {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive styles for extra-large screens */
@media screen and (min-width: 1441px) {
  /* Adjust font size for extra-large screens */
  html {
    font-size: 20px;
  }

  /* Make the arrow button even larger */
  .arrow-button {
    padding-bottom: 0.9rem;
    z-index: 5;
  }

  /* Adjust fullscreen background height */
  .fullscreen-bg {
    height: 100vh;
  }

  /* Adjust grid layout for cards on extra-large screens */
  .cardlist {
    grid-template-columns: repeat(3, 1fr);
  }
}
