* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Urbanist", sans-serif;
}

.single-teachers .image {
  border-radius: 5px;
  overflow: hidden;
}
.single-teachers .content {
  position: absolute;
  bottom: 15px;
  left: 0px;
  right: 0;
  width: 80%;
  background-color: white;
  border-radius: 5px;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.single-teachers .content span {
  font-size: 16px;
  color: #8a8a8a;
  font-weight: bold;
}
.single-teachers .content a h6 {
  color: #000;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.4s linear;
}
.single-teachers .content a h6:hover {
  color: #f26122;
}
.single-teachers {
  position: relative;
  margin-top: 25px;
  overflow: hidden;
}
.single-teachers .content a {
  display: block;
  text-decoration: none;
}
.teachers {
  padding: 50px 0px;
}
.single-teachers .image img:hover {
  transform: scale(1.1);
  overflow: hidden;
  transition: all 0.5s linear;
}
.single-teachers .image img {
  width: 100%;
  transition: all 0.5s linear;
}
.teachers h1 {
  color: #f26122;
  text-align: center;
  font-weight: bold;
}
/* @media (max-width: 991px) {
    .teachers .container{
        max-width:610px;
    }
} */
