* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

body {
  width: 100%;
  height: 100%;
  background-color: rgb(235, 235, 235);
  overflow-x: hidden;
}

header {
  width: 100%;
  height: 70px;
  background-color: #023e8a;
  padding: 0px;
  display: flex;
  flex-wrap: flex;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.menu {
  align-items: center;
  display: flex;
  list-style-type: none;
}

.menu li a {
  color: white;
  display: block;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
}

#chat a {
  display: block;
  padding: 25px 40px 25px 40px;
  height: 70px;
  width: 100px;
  background-color: black;
  text-decoration: none;
}

/* SSDSSDS */
.cadastro ul {
  display: flex;
  align-items: center;
  list-style-type: none;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.slider {
  margin-top: 70px;
  width: 800px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.slides {
  width: 500%;
  height: 500px;
  display: flex;
}

.slides input {
  display: none;
}

.slide {
  width: 20%;
  transition: 2s;
}

.slide img {
  width: 800px;
  height: 500px;
}

/*css for manual slide navigation*/

.navigation-manual {
  position: absolute;
  width: 800px;
  margin-top: -40px;
  display: flex;
  justify-content: center;
}

.manual-btn {
  border: 2px solid #40d3dc;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}

.manual-btn:not(:last-child) {
  margin-right: 40px;
}

.manual-btn:hover {
  background: #40d3dc;
}

#radio1:checked ~ .first {
  margin-left: 0;
}

#radio2:checked ~ .first {
  margin-left: -20%;
}

#radio3:checked ~ .first {
  margin-left: -40%;
}

#radio4:checked ~ .first {
  margin-left: -60%;
}

/*css for automatic navigation*/

.navigation-auto {
  position: absolute;
  display: flex;
  width: 800px;
  justify-content: center;
  margin-top: 460px;
}

.navigation-auto div {
  border: 2px solid #40d3dc;
  padding: 5px;
  border-radius: 10px;
  transition: 1s;
}

.navigation-auto div:not(:last-child) {
  margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1 {
  background: #40d3dc;
}

#radio2:checked ~ .navigation-auto .auto-btn2 {
  background: #40d3dc;
}

#radio3:checked ~ .navigation-auto .auto-btn3 {
  background: #40d3dc;
}

#radio4:checked ~ .navigation-auto .auto-btn4 {
  background: #40d3dc;
}

.cadastro li a {
  display: block;
  height: 40px;
  align-items: center;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  color: black;
}

.fundo {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
}

.fundo img {
  object-fit: cover;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0px 20px 0px 20px;
  justify-content: center;
  display: grid;
  grid-gap: 0px;
  grid-row-gap: 30px;
  grid-template-areas:
    "consulta exame"
    "pesquisa pesquisa";
}

.container div a {
  display: block;
  width: 550px;
  height: 200px;
  left: 93px;
  top: 987px;
  margin-top: 30px;
}

.consultas a {
  background-color: #77c9df;
  text-align: center;
  padding: 70px 23px;
  grid-area: "consulta";
  box-shadow: rgba(0, 0, 0, 0.3) -10px 10px 10px 10px;
  text-decoration: none;
  color: white;
  -webkit-text-stroke-width: 1px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 50px;
  transition-property: all;
  transition-duration: 100ms;
  transition-timing-function: ease;
  /* position: absolute; */
  /* width: 296px;
  height: 120px;
  left: 259px;
  top: 934px; */
}

.consultas a:hover {
  transform: scale(1.1, 1.1);
}

.exames a {
  background-color: #0077b6;
  text-align: center;
  padding: 85px 25px;
  align-content: center;
  grid-area: "exame";
  box-shadow: rgba(0, 0, 0, 0.3) 10px 10px 10px 10px;
  text-decoration: none;
  color: white;
  -webkit-text-stroke-width: 1px;
  font-size: 30px;
  font-weight: 500;

  transition-property: all;
  transition-duration: 100ms;
  transition-timing-function: ease;
}

.exames a:hover {
  transform: scale(1.1, 1.1);
}

@font-face {
  font-family: "Montserrat";
  src: url();
}

a {
  font-family: "Montserrat";
}

.pesquisa {
  display: flex;
  color: #6c757d;
  justify-content: center;
}

.pesquisa input {
  border-radius: 25px;
  -moz-border-radius: 25px;
  background-color: #6c757d;
  height: 50px;
  width: 500px;
}

.pesquisa img {
  z-index: 2;
  object-fit: contain;
  transform: translateX(-40px);
}

.serviços {
  display: flex;
  justify-content: center;
}

.lista_serviços {
  margin: 0 auto;
  max-width: 1600px;
  background-size: 100%;
  background-position-y: -150px ;
  padding: 0px 20px 0px 20px;
  background-repeat: no-repeat;
  justify-content: center;
  background-image: url("../img/group18.png");
  width: var(max-width);
  display: grid;
  grid-gap: 40px;
  grid-template-areas:
    "texto texto"
    "foto foto"
    "foto foto";
}

.texto {
  display: flex;
  justify-content: center;
  grid-area: "texto";
  grid-row: texto;
  font-size: 50px;
  width: 25px;
  transform: translatex(150px);

}

.img {
  display: flex;
  width: 400px;
  height: 200px;
  grid-area: "foto";
}

.img p, .img h3 {
  margin-left: 40px;
}

.img img {
  object-fit: cover;
  width: 200px;
  height: 200px;
  border-radius: 100px;
}

.servico  {
  display: flex;
  margin-top: 60px;
  flex-direction: column;
}

.background {
  display: flex;
  transform: scale(0.5,0.5);
}

.background img:nth-child(1) {
  display: flex;
  transform: translate(100,100);
}

.premios {
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
}

.premios li {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: calc(205vh / 4);
  height: 350px;
  background-color: #023e8a;
  justify-content: center;
  align-content: center;
}

.premios li p {
  display: flex;
  align-self: center;
  flex-wrap: wrap;
  margin: 5px 5px;
  margin-top: 40px;
  color: white;
  font-size: 25px;
  text-align: center;
}

.premios li img {
  width: auto;
}

.premios > li:nth-child(1) {
  background-color: #023e8a;
}

.premios > li:nth-child(2) {
  background-color: #7cd8f1;
}

.premios > li:nth-child(3) {
  background-color: #0077b6;
}

.premios > li:nth-child(4) {
  background-color: #72bbcf;
}

.premios > li:nth-child(1) img {
  display: flex;
  align-self: center;
  width: 40%;
}

.premios > li:nth-child(2) img {
  display: flex;
  align-self: center;
  width: 70%;
}

.premios > li:nth-child(3) img {
  display: flex;
  align-self: center;
  width: 60%;
}

.premios > li:nth-child(4) img {
  display: flex;
  align-self: center;
  width: 50%;
}

.doutores {
  display: flex;
  flex-direction: row;
  align-content: center;
}

.doutores div img {
  width: 70%;
  margin-left: 20%;
}

.doutores div h1 {
  margin-left: 20%;
  text-align: center;
}

footer {
  background-color: black;
  width: 100%;
  height: 400px;
  margin-top: 50px;
  display: grid;
  align-content: center;
  justify-content: center;
  flex-direction: row;
  grid-gap: 10px;
  grid-column-gap: 200px;
  grid-template-areas: "politicas linha contato";
}

.politicas {
  display: flex;
  grid-area: "politicas";
  grid-column: politicas;
  flex-direction: column;
}

.politicas h2 {
  color: #7cd8f1;
  font-size: 30px;
}

.politicas ul li a {
  color: white;
  -webkit-text-stroke-width: 0px;
  font-size: 20px;
}

.contatos {
  display: flex;
  grid-area: "contato";
  grid-column: contato;
  flex-direction: column;
  text-decoration: none;
}

.contatos h2 {
  color: #7cd8f1;
  font-size: 30px;
  text-decoration: none;
}

.contatos ul li a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.contatos ul li p {
  color: white;
  transform: translateX(20px);
  font-size: 20px;
  text-decoration: none;
}

.linha {
  position: absolute;
  transform: translateX(-35vh);
  display: flex;
  height: calc(470px / 2);
  background-color: gainsboro;
  width: 2px;
  grid-area: "linha";
  grid-column: linha;
}

.doutor p{
  margin-left: 160px;
}

.doutor:nth-child(2) p {
  transform: translateX(10px);
}

.doutor:nth-child(2) h1{
  transform: translateX(-20px);
}
