@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Roboto&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.banner-img {
  background-image: url("../img/banner-img2.jpg");
  background-size: cover;
}

.title {
  color: #f5f5f5;
}

div h1 {
  font-family: "Montserrat", sans-serif;
}

.item {
  list-style: none;
  width: 300px;
}

.item li {
  width: 100%;
  height: 50px;
  line-height: 50px;
  padding: 0 5px;
  position: relative;
  cursor: pointer;
  display: block;
  margin: 5px 0;
  font-size: 15px;
}

/* ul li span {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  text-align: center;
} */


.static-txt {
  color: #fff;
  font-size: 60px;
  font-weight: 400;
}

.team-content {
  width: 100%;
  display: grid;
  grid-gap: 2rem;
  align-items: center;
  text-align: center;
}

.team-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
}

.center h1 {
  color: #fff;
  font-size: 4rem;
  text-align: center;
}

.box {
  padding: 16px;
  background: #ffde00;
  border-radius: 15px;
  transition: all 0.38s ease;
}

.box h3 {
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.box h5 {
  font-size: 15px;
  font-weight: 600;
  color: #b7b4bb;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.icons i {
  display: inline-block;
  color: #fff;
  font-size: 30px;
  margin: 0 8px;
  transition: all 0.38s ease;
}

.icons i:hover {
  transform: scale(1.2);
}

.box:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.color {
  background: rgb(227, 210, 210);
  background: linear-gradient(77deg, rgba(227, 210, 210, 1) 4%, rgba(255, 255, 255, 1) 44%, rgba(255, 255, 255, 1) 60%);
}

footer {
  background-color: #232324;
  width: 100%;
  height: auto;
  font-family: "monserrat";
  padding-top: 20px;
  color: #f5f5f5;
  font-size: 10px;
}

#canvas_output {
  width: 300px;
  height: 600px;
}

#canvas_roi {
  height: 225px;
  width: 300px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#no-face-found {
  display: none;
  color: red;
  text-align: center;
}


@media screen and (min-width: 1000px) {

  #navbarNav ul li a {
    text-align: center;
  }

  #canvas_output {
    width: 900px;
    height: 450px;
  }

  #canvas_roi {
    height: 225px;
    width: 450px;
  }
}


#canvas_roi {
  border: 1px solid black;
  /* For visibility during debugging */
  display: block;
  /* Ensures it doesn't take additional space */
  margin: auto;
  /* Centers it horizontally */
  max-width: 100%;
  /* Optional: Restricts the canvas width */
  max-height: 100%;
  /* Optional: Restricts the canvas height */
}