@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&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: 600px;
  background: #fff;
  position: relative;
  overflow: hidden;
  /* border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); */
  background-image: url(./img/grid_format_ameropa.png);
  /* background-size: contain; */
  background-size: cover;
  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: 13px;
  background: #16213e;
}

.video-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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;
}

.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;
}

.video-cell .play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #0f0f1a;
  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: #2a52d2;
  width: 0;
  z-index: 10;
}

.video-cell:nth-child(1) {
  background-image: url(./img/schweiz.jpg);
}
.video-cell:nth-child(2) {
  background-image: url(./img/afrika.jpg);
}
.video-cell:nth-child(3) {
  background-image: url(./img/spanien.jpg);
}
.video-cell:nth-child(4) {
  background-image: url(./img/holland.jpg);
}

.cta-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #e8412a;
  color: white;
  padding: 11px 17px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  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: #ce3926;
}

.overview-button {
  position: absolute;
  top: 12px;
  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;
}
