body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
}

h1 {
  font-size: 32px;
  font-weight: 500;
  color: #3b4e6a;
  margin-top: 40px;
  margin-bottom: 30px;
}

.flex {
  display: flex;
}

.contact {
  display: flex;
  margin-bottom: 80px;
}

@media all and (max-width: 1100px) {
  main {
    padding: 0 30px;
  }
}

@media all and (max-width: 992px) {
  h1 {
    text-align: center;
  }
}

@media all and (max-width: 720px) {
  main {
    padding: 0;
  }
}

/**
** Table
**/

.table {
  width: 100%;
  padding-top: 0;
}

.table .heading {
  background-color: #eff5f2;
  padding: 20px 25px;
}

.table .heading h2 {
  font-size: 18px;
  font-weight: 500;
  color: #3b4e6a;
  margin: 0;
}

.table .doctor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #d4d4d4;
  padding: 5px 25px 0 25px;
  min-height: 60px;
}

.table .doctor h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0;
}

.table .doctor .title p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #b5b5b5;
  margin-top: 3px;
}

.doctolib-btn {
  display: inline-block;
  border: 0.7px solid #4097e1;
  border-radius: 30px;
  padding: 7px 15px;
}

.doctolib-btn img {
  width: 80px;
  height: auto;
}

.table .doctor .mobile {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: #4097e1;
}

@media all and (max-width: 992px) {
  .table {
    width: 100%;
  }
}

@media all and (max-width: 768px) {
  .table {
    min-width: 100vw;
  }

  .table .doctor h2 {
    font-size: 18px;
  }

  .doctolib-btn img {
    width: 60px;
  }

  .doctolib-btn {
    padding: 5px 12px;
  }

  .table .doctor .desktop {
    display: none;
  }

  .table .doctor .mobile {
    display: flex;
    align-items: center;
  }

  .table .doctor .mobile img {
    margin-left: 8px;
    margin-right: 5px;
  }
}

/**
** Map
**/

#map {
  width: 45%;
}

@media all and (max-width: 768px) {
  #map {
    width: 100%;
    height: 250px;
  }
}

@media all and (max-width: 576px) {
  #map {
    height: 200px;
  }
}

/**
** Info
**/

.contact-info {
  width: 55%;
  padding: 0;
  margin-left: 50px;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #3b4e6a;
  margin: 0;
}

.data {
  display: flex;
  padding-left: 25px;
}

.data h3 {
  margin-top: 25px;
}

.block {
  margin-bottom: 30px;
}

.block:nth-child(1) {
  margin-right: 40px;
}

.address p {
  margin: 0.5em 0;
}

.schedule {
  display: flex;
  width: 200px;
}

.time {
  padding-left: 10px;
}

.doctolib {
  position: relative;
}

.doctolib img {
  position: absolute;
  bottom: -60px;
  left: -30px;
}

@media all and (max-width: 768px) {
  .contact {
    flex-direction: column-reverse;
  }

  .contact-info {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    margin: 0;
  }

  .data {
    padding: 0 30px;
    flex-direction: column-reverse;
  }

  .block:nth-child(2) {
    margin-bottom: 0;
  }
}
