/* Write your styles here  */

body {
  background-color: white;
}

#header {
  font-size: 15px;
  text-align: center;
}

#doctors {
  margin-top: 0;
  height: auto;
  display: grid;     
  grid-template-columns: repeat(4, 1fr);
  width: 80%;
  margin: auto;
  gap: 10px;
}

#doctors>div {
  width: auto;
  text-align: center;
  padding: 3%;
  align-items: center;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
h3,h6,p{
  height: 100;
  margin-top: 0;
  width: 100%;
}
.buttton{

display: flex;
justify-content: space-between;

}
.buttton>div+div>button{
color:white;
background-color: red;
border-radius: 20px;
border: none;
}
.buttton>div>button{
color:skyblue;

border-radius: 20px;
border: none;
}


#service{
display: grid;
grid-template-columns: repeat(3,1fr);
text-align: center;
margin: 7%;
gap: 30px;

}



/* keep media queries at the bottom */
/* Medium screens */
@media screen and (min-width: 451px) and (max-width: 750px) {
  #doctors{
    grid-template-columns: repeat(2, 1fr);
    

  }
  #service{
    grid-template-columns: repeat(2, 1fr);
    
    
  }
  
}
/* Small screens */
@media screen and (min-width: 100px) and (max-width: 450px) {
  #doctors{
    grid-template-columns: repeat(1, 1fr);
   

  }
  #service{
    grid-template-columns: repeat(1, 1fr);
    

  }
}
