@charset "UTF-8";


.smalllogo {max-height: 400px;}

/* ► Modal Overlay */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ► Modal Box (50% on desktop/tablet; 75% on mobile) */
.modal-content {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  
  /* semi-transparent “brand blue” */
  background-color: rgba(58, 113, 145, 0.9);
  
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 20px 30px;
  
  width: 50vw;
  height: 50vh;
  
  color: #fff;
  font-family: Arial, sans-serif;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform-origin: top center;
  animation: blowUp 0.6s cubic-bezier(0.25,1.25,0.5,1) both;
}

/* ► Mobile override: 75% size */
@media (max-width: 600px) {
  .modal-content {
    width: 75vw;
    height: 75vh;
  }
}

/* ► Watermark logo behind content */
.modal-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 50%;
  background-image: url('/images/knauthwhite.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* ► Keep real content above watermark */
.modal-content > * {
  position: relative;
  z-index: 1;
}

/* ► Blow-up “squeegee” animation */
@keyframes blowUp {
  0% {
    transform: scaleY(0) scaleX(0.5) skewY(10deg);
    opacity: 0;
  }
  60% {
    transform: scaleY(1.1) scaleX(1.05) skewY(-5deg);
    opacity: 1;
  }
  100% {
    transform: scaleY(1) scaleX(1) skewY(0);
    opacity: 1;
  }
}

/* ► Close “×” */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* ► Headings & Text */
.modal-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}
.modal-content p {
  margin: 0 0 20px;
  font-size: 16px;
  text-align: center;
}

/* ► Button container */
.modal-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 600px;
}

/* ► Uniform buttons */
.modal-buttons a {
  flex: 1;
  background-color: #000;
  color: #fff;
  padding: 12px 0;
  text-align: center;
  text-decoration: none;
  border-radius: 2px;
  text-transform: uppercase;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.modal-buttons a:hover {
  background-color: #fff;
  color: #000;
}

/* ► Mobile: stack buttons vertically */
@media (max-width: 600px) {
  .modal-buttons {
    flex-direction: column;
  }
}
