/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

#home {
  display: block;
  overflow: hidden;
}

.content {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  position: relative;
  top: 100px;
}

.hoi {
  font-size: 1.7rem;
  font-family: 'Roboto';
  font-weight: 490;
  color: gray;
}

.main {
  margin-top: 10px;
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 2.4rem;
}

.main span {
  margin-top: 10px;
  font-size: 2.4rem;
  font-weight: 600;
  color: blue;
  font-family: 'roboto';
}

.content .software {
  margin-top: 10px;
  font-size: 2rem;
  font-family: 'roboto';
  font-weight: 400;
}

span.holder {
  position: relative;
  background: transparent;
  width: 400px;
  height: 4em;
  overflow: hidden;
  padding-left: -5px;
}

span.item {
  font-family: 'roboto';
  position: absolute;
  color: gray;
  font-size: 1.5em;
  transform-origin: 50% 70%;
  width: 300px;
}

span.item:nth-child(1) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 0s both infinite;
}

span.item:nth-child(2) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 1.5s both infinite;
}

span.item:nth-child(3) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 3s both infinite;
}

span.item:nth-child(4) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 4.5s both infinite;
}

span.item:nth-child(5) {
  animation: flipUp 9s cubic-bezier(0.68, -0.55, 0.26, 1.55) 6s both infinite;
}

.bekijk {
  font-size: 1rem;
  font-family: 'roboto';
  font-weight: 400;
  color: gray;
  margin-top: 50px;
}

.content a {
  max-width: 150px;
}

.button {
  display: flex;
  border: none;
  color: white;
  padding: 16px 16px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 600px;
}

.button-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-left: -2px;
  margin-top: 10px;
}

.button1 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white;
  color: blue;
  border: 1.4px solid blue;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.button1:hover {
  background-color: blue;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}

.button2 {
  font-family: 'roboto';
  font-weight: 600;
  background-color: white;
  color: blue;
  border: 1.4px solid blue;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 255, 0.3);
  display: flex;
  max-width: 150px;
  width: 150px;
  justify-content: center;
  letter-spacing: 1.2px;
}

.button2:hover {
  background-color: blue;
  color: white;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}

.homepagepic {
  position: relative;
  bottom: 240px;
  left: 700px;
  width: 400px;
  height: 500px;
  border-radius: 55px;
  border: blue 2px solid;
  box-shadow: 0px 0px 15px rgba(0, 0, 255, 0.4);
}

/* CardSwap Styles */
.card-swap-container {
  position: absolute;
  bottom: 50px;
  right: -350px;
  transform: translateX(0) translateY(0);
  transform-origin: bottom right;
  perspective: 1200px;
  overflow: visible;
  width: 650px;
  height: 500px;
}

.card-swap-item {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(20, 20, 30, 0.95);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease, transform 0.3 ease;
  cursor: pointer;
}

/* Dark overlay for text readability - lighter at top to show images */
.card-swap-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
  border-radius: 12px;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.card-swap-item h3 {
  margin: 0 0 15px 0;
  font-size: 32px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(26, 26, 255, 0.5);
  letter-spacing: 0.5px;
}

.card-swap-item p {
  margin: 0 0 20px 0;
  font-size: 17px;
  font-family: 'Roboto', sans-serif;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.card-tech {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(26, 26, 255, 0.3);
  border: 1px solid rgba(26, 26, 255, 0.5);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-swap-container {
    position: relative;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0) scale(0.75);
    margin: 40px auto 0;
  }
}

@media (max-width: 480px) {
  .card-swap-container {
    position: relative;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0) scale(0.55);
    margin: 40px auto 0;
  }
}

