body {
  background-color: #F4EFE6;
  margin: 0; 
}

header, nav {
  position: relative;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  color: #545454;
  padding: 0 40px;
  border-bottom: 2px solid #5454549b;
  margin: 0 60px;
}

nav a {
  text-decoration: none;
  color: #545454;
  font-weight: normal;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
}

.video-section {
  display: grid;
  grid-template-rows: auto auto;
}

.micro-interaction {
  position: relative;
  width: 100%;
  height: 60vh; 
  overflow: visible;
  z-index: 2;
}

.micro-interaction iframe {
  position: absolute;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 120vh;
  object-fit: cover;
  object-position: bottom center;
  border: none;
  pointer-events: none;

  /* fade thingy */
  -webkit-mask-image: linear-gradient(to bottom, #F4EFE6 80%, #f4efe667 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(to bottom, #F4EFE6 80%, #f4efe667 100%);
  mask-repeat: no-repeat;
  mask-size: cover;
}

.micro-interaction::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10%;
  background: linear-gradient(to bottom, rgba(244, 239, 230, 0) 0%, rgba(244, 239, 230, 1) 100%);
  pointer-events: none;
}

.video-background iframe {
  position: relative;
  width: 100%;
  height: 85vh; 
  object-fit: cover;
  object-position: center;
  border: none;
  pointer-events: none;
  z-index: 1;
}

body h1 {
  text-align: center;
}

body img {
  text-align: center;
}

#capythons {
  background-color: #F7F3EF;
}

#capythons img {
  width: 100px;
  height: 200px;
}

#contact {
  background-image: linear-gradient(
    to right,
    #F7F3EF 50%,
    #FAECEC 50%
  );
  background-size: 20px 20px;
}
