@font-face {
  font-family: "MyFont";
  src: url("./fonts/Mulish-VariableFont_wght.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  vertical-align: baseline;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  font-family: "Noto Sans", sans-serif;
}

.banner-container {
  width: 300px;
  height: 250px;
  background: #fff;
  position: relative;
  overflow: hidden;
  /* border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); */
  background-image: url(./img/mbsb_300x250.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: border-box;
  border: 1px solid #000;
  display: none;
}

.video-grid {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-cell {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  border-radius: none;
  /* background: #16213e; */
}

.video-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  cursor: pointer;
}

.video-cell .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 1));
  color: white;
  font-size: 11px;
  font-weight: 500;
  opacity: 1;
  transition: opacity 0.3s;
  display: none;
}

.video-cell .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 36px;
  height: 36px; */
  /* background: rgba(255, 255, 255, 0.9); */
  /* border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center; */
  opacity: 0;
  transition: opacity 0.3s;
  width: 30px;
  height: 30px;
  /* border: 5px solid #b8ff3c;
  border-radius: 50%; */
  background-image: url(./img/playbutton_green.png);
  background-size: contain;
}

.video-cell .play-icon::after {
  /* content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #b8ff3c;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px; */
}

.video-cell:not(.active):hover .play-icon {
  opacity: 1;
}

.video-cell.active .overlay {
  opacity: 0;
}
.video-cell.active {
  border-radius: 0px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #b8ff3c;
  width: 0;
  z-index: 10;
}


.cta-button {
    font-family: "MyFont", sans-serif;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: #00599d;
    color: white;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 100;
    cursor: pointer;
    /* box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4); */
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  /* transform: translateX(-50%) scale(1.05); */
  /* box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3); */
  background-color: #c8ff50;
  color: #000;
}

.overview-button {
  position: absolute;
  top: 150px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f0f1a;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.overview-button.visible {
  opacity: 1;
  pointer-events: auto;
}

.overview-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.overview-button svg {
  flex-shrink: 0;
}
