body,h2,h3,h4,h5 {
  font-family: "Poppins", sans-serif;
}

h2 {
  font-size: 25px;
  color: #ffffff;
  text-align: left;
}

h3 {
  font-size: 20px;
  color: #ffffff;
  text-align: left;
}

body {
  font-size: 16px;
  background: linear-gradient(to top, rgb(247, 243, 241), #ffb2d3);
  background-attachment: fixed;
}

h1 {
  font-size: 40px;
  text-align: center;
}

h1.module1 {
  font-size: 40px;
  text-align: center;
  color: #ffffff;
}

h1.w3-jumbo {
  font-family: "poppins", sans-serif;
  font-size: 60px;
  text-align: center;
  color: #ffffff;
  opacity: 0.75;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 18px;
}

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.grid {
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto;
}

.grid img {
  display: block;
  object-fit: contain;
}

.w3-half img {
  margin-bottom: -6px;
  margin-top: 16px;
  opacity: 0.8;
  cursor: pointer;
}

.w3-half img:hover {
  opacity: 1;
}

.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 2000px;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.Module1 h3 {
  color: #4a148c;
}

h1.PersonalName {
  font-family: 'poppins', sans-serif;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
}

h3.BodyText {
  font-family: 'poppins', sans-serif;
  font-size: 18px;
  color: #ffffff;
  text-align: left;
  background: linear-gradient(to bottom, rgb(247, 243, 241), #ffb2d3);
}

.w3-container-64{
    padding: 10px;
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
    color: #ffb2d3;
}

.project-model-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.model-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 8px 18px rgba(74, 19, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(74, 19, 36, 0.14);
}

.model-card h2 {
  margin: 0 0 12px 0;
  color: #ffffff;
  text-align: left;
  font-size: 18px;
}

.model-card p {
  display: none;
}

.model-viewer {
  width: 100%;
  min-height: 420px;
  display: block;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
}

.model-status {
  display: none;
}

.model-status.error {
  display: none;
}

.model-description {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #5b3a46;
  line-height: 1.5;
}

.tassle-viewer {
  background:
    linear-gradient(180deg, rgba(187, 133, 79, 0.18), rgba(114, 77, 54, 0.12)),
    repeating-linear-gradient(
      90deg,
      rgba(123, 88, 58, 0.12) 0,
      rgba(123, 88, 58, 0.12) 2px,
      rgba(255,255,255,0.06) 2px,
      rgba(255,255,255,0.06) 5px
    );
  filter: saturate(1.1) contrast(1.02);
}

.tassle-model-stage {
  width: 100%;
  min-height: 420px;
  display: block;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.tassle-model-stage canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .model-card {
    padding: 14px 14px 10px 14px;
  }

  .model-viewer {
    min-height: 280px;
  }

  .tassle-model-stage {
    min-height: 280px;
  }
}