* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* HEADER */

header {
  background: black;
  background-image: url("Images/Picture\ 1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  padding: 15px;
  height: 250px;
  text-align: center;
}

nav ul {
  margin: 0px;
  padding: 0;
  list-style-type: none;
}

nav li {
  display: inline-block;
  margin: 0px;
  padding: 5px 15px;
}

a, a:visited{
  text-decoration: none;
  color: white;
}

li:hover {
  background-color: rgba(0, 0, 255, 0.5);    
}

.currentPage {
  background-color: rgba(0, 0, 255, 0.5);    
}

body {
  background: #85c2ff;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  margin: 0;
  padding: 0;
}

#bpm, #spo2, .bpm, .spo2, .patientID, .patientIDInput{
  font-size: 40px;
  padding-top: 20px;
}

.patientID {
  background-color: rgb(135, 0, 0);
  padding: 20px;

}

#bpm, #spo2 {
  border: 5px solid;
  border-color: #0080ff;
  padding: 2px;
}

/* .ECGChart {
  background-color: white;
} */

#myChart {
  background-color: white;
  width: 100px;
  height: 1000px;
}

.ECGLiveButton, .ECGLiveLink {
  color: red;
}

/* RESPONSIVE RULES*/



/* FEATURES */

figure {
  position: relative; /* Needed for absolute positioning inside */ display: inline-block; /* Prevents full-width stretching */
  overflow: hidden;
}

figure:hover figcaption {
  opacity: 0.75;
  transform: translateY(0);
}

.features img {
  width: 100%;
  border: 2px solid blue;
  display: block;
}

.features figcaption {
  text-transform: uppercase;
  background: rgb(0, 0, 255);
  opacity: 0;
  position: absolute;
  bottom: 0; /* Align to bottom of image */
  left: 0;
  right: 0;
  color: white;
  padding: 1.5vmin;
  margin: 0;
  text-align: left;
  transition: all 0.4s ease-out;
  transform: translateY(100%);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: bold;
}

.features {
  text-align: center;
  display: flex;
  gap: 10px;
  margin: 10px;
}

#total {
  color: black;
  font-size: 90px;
}

footer {
  background:#0080ff;
  font-size: 12px;
  text-align: center;
  padding: 10px 15px;
}