@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Jost:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
body {
  font-family: "Urbanist", sans-serif;
}
::selection {
  background-color: #67bc00;
  color: #fff;
}
.navbar-nav {
  margin-left: 36rem;
}
.background {
  position: relative;
  background: url(https://preview.colorlib.com/theme/dentist/img/banner-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 574px;
}
.overlay {
  position: absolute;
  background-color: rgba(4, 9, 30, 0.85);
  z-index: 1;
  width: 100%;
  height: 100%;
  padding-top: 12rem;
}
.overlay button {
  background-color: #67bc00;
  border-radius: 0;
  padding: 10px;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 600;
  transition: all 0.5s ease-in-out;
}
.btn1:hover {
  border: 1px solid #fff;
  background-color: transparent;
}
.bg2 {
  background: url(https://preview.colorlib.com/theme/dentist/img/about-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.img {
  position: relative;
  display: inline-block;
  overflow: hidden;/* You can adjust size here */
}

.img img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}
.img::after {
  content: "Andy Florence";
  text-align: center;
  padding-top: 120px;
  font-weight: 600;
  font-size: 35px;
  color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 0%;
  height: 100%;
  background: linear-gradient(0deg, rgba(173, 230, 0, 0.5) 0%, rgba(98, 185, 0, 0.5) 100%);
  transition: width 0.5s ease-in-out, color 0.5s ease-in-out;
  pointer-events: none;
}

.img:hover::after {
  width: 100%;
  color: white;
}
.bg3 {
  background: url(https://preview.colorlib.com/theme/dentist/img/appoinment-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

}



