/* Reset some default styles */
*, :after, :before {
    box-sizing: border-box;
}

html,
body,
p {
  margin: 0;
  padding: 0;
}


body {
  font-family: "Inter", sans-serif;
}

h1 {
  color: #0c3f72;
  font-size: 48px;
  margin: 0.5rem 0;
}

h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
}

.navbar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-logo img {
  /* height: 50px; */
}

.home-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  position: static;
}

.container {
  /* width: 100%; */
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}

.two-columns {
  display: flex;
  gap: 16px; /* space between columns */
  flex-wrap: wrap; /* allow stacking on small screens */
}

.column {
  flex: 1;
  min-width: 300px; /* optional, for responsive stacking */
  border: 0px solid silver; /* or any border */
}


.cam-list {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cam-item {
  border: 2px solid rgba(200, 200, 200, 0.831);
  padding: 1.25rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom:5px;
}

.cam-item__icon {
  width: 25px;
  margin-right: 10px;
}

.cam-item:hover {
  border-color: #0c3f72;
  background-color: #0c3f72;
  color: #fff;
  transition: ease 0.2s;
  cursor: pointer;
}

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2;
  min-width: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 32px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.modal-content {
  position: relative;
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 2;
}

.close:hover {
  color: #000;
}

.camera-modal-title {
    margin-bottom: 12px;
}

.cam-modal-video {
  width: 600px;
  height: 340px;
}

.camera-image {
    width: 600px;
}

@media (max-width: 768px) {
  .modal {
    width: 100%;
    box-sizing: border-box;
    min-width: unset;
    padding: 16px 16px;
  }

  .camera-image {
    width: 100%;
  }
}
