/* ============================================
   CSS Reset & Base
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 300;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  padding: 0;
  color: #1C5D96;
  margin: 0 0 15px;
  line-height: 1.2em;
}

h1 {
  font-size: 45px;
}

h1.small {
  font-size: 35px;
}

h2 {
  font-size: 35px;
}

p {
  font-size: 19px;
  line-height: 28px;
  font-weight: 400;
  margin: 0 0 1em;
}

p.large {
  font-size: 32px;
  line-height: 38px;
}

a {
  color: #1C5D96;
  text-decoration: none;
}

a:hover {
  color: #85ADB0;
}

/* ============================================
   Layout
   ============================================ */

section {
  position: relative;
  padding: 4em 0;
  background: white;
}

.container-sml {
  max-width: 820px;
  padding: 0 20px;
  margin: auto;
}

.container {
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

/* ============================================
   Header
   ============================================ */

header {
  transition: all 0.33s ease-in-out;
  height: 100px;
  background: white;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

header .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80px;
  display: block;
}

header .logo img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* ============================================
   Welcome Section
   ============================================ */

section.welcome {
  margin: 100px 0 0;
  background: #F3FAFF;
  text-align: center;
}

/* ============================================
   Info Section
   ============================================ */

section.info {
  padding: 4em 0;
}

/* ============================================
   Doctors Table
   ============================================ */

table {
  width: 100%;
  border-collapse: collapse;
}

table tr:nth-of-type(odd) {
  background: #F3FAFF;
}

table th {
  background: white;
  color: #1C5D96;
  font-weight: bold;
}

table th img {
  margin: 0 auto 10px;
  display: block;
}

table th span {
  display: block;
}

table td, table th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: center;
}

/* ============================================
   Mobile Doctor List
   ============================================ */

.mobile-doctor-list {
  text-align: left;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin: 0 0 30px;
}

.mobile-doctor-list img {
  display: block;
  margin: 0 0 15px;
}

.mobile-doctor-list a {
  font-size: 25px;
}

.mobile-doctor-list ul {
  padding: 0 0 0 20px;
}

/* ============================================
   Footer
   ============================================ */

footer {
  padding: 0;
  position: relative;
  z-index: 2;
  background: white;
}

footer .credits {
  background: #1B2440;
  padding: 10px;
  text-align: center;
}

footer .credits .copy {
  font-size: 15px;
  color: white;
  margin: 0;
}

footer .credits .copy a {
  color: white;
}

footer .credits .copy a:hover {
  color: white;
  opacity: 0.5;
}

/* ============================================
   Responsive: Container Widths
   ============================================ */

@media only screen and (min-width: 48em) {
  .container {
    width: 47rem;
  }
}

@media only screen and (min-width: 64em) {
  .container {
    width: 63rem;
  }
}

@media only screen and (min-width: 75em) {
  .container {
    width: 74rem;
  }
}

/* ============================================
   Responsive: Desktop (768px+)
   ============================================ */

@media screen and (min-width: 768px) {
  section.info {
    text-align: center;
  }

  .mobile-doctor-list {
    display: none;
  }
}

/* ============================================
   Responsive: Tablet & below (768px and under)
   ============================================ */

@media screen and (max-width: 767px) {
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 30px;
  }

  table.doctors-table {
    display: none;
  }
}

/* ============================================
   Responsive: Small phones (480px and under)
   ============================================ */

@media screen and (max-width: 480px) {
  header {
    height: 85px;
  }

  header .logo {
    width: 70px;
  }

  section.welcome {
    margin: 85px 0 0;
  }
}
