body {
  background-color: rgba(10,10,10,1);
}

main {
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;

  width: min(800px, 80%);
  padding-top: 1px;
  padding-bottom: 4px;
  padding-left: 25px;
  padding-right: 25px;
  border-radius: 20px;
  background-color: rgba(20,20,20,.95);
}

h1 {
  font-family: "Times";
  font-size: 48px;
  text-align: center;
  color: white;
}

p {
  font-family: "Arial";
  font-size: 24px;
  color: white;
}

.imagebg {
  z-index: -1;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 100%;
  width: 100%;

  background-image: url("img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
}

.container {
  display: flex;
  justify-content: center;
}

.buttonflexcenter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.navul {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  justify-self: space-between;
  width: 500px;
  gap: 10px;
}

.navli {
  list-style-type: none;
}

.navlink:link, .navlink:visited {
  color: rgba(20,20,20,.8);
  text-decoration: none;
  font-size: 42px;
  font: "Arial";
  font-family: "Arial";

  border: 2px solid rgba(0,0,0,0);
  border-radius: 5px;

  
  transition: 0.3s ease;
}

.medicbutton {
  font-size: 36px;
  font-family: "Arial";

  color: rgba(20,20,20,.8);
  background-color: rgba(255,255,255,.4);
  border-style: solid;
  border-color: rgba(0,0,0,0);
  border-radius: 5px;
  
  transition: 0.3s ease;
}

.medicbutton:hover {
  color: black;
  background-color: rgba(255,255,255,.9);

}

.navlink:hover, .navlink:active {
  color: black;
  background-color: rgba(255,255,255,.9);
}
