* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html body {
  background: #fff;
  color: #5e5e5e;
}

#menu-toggle.btn-dark {
  background-color: rgba(160, 160, 160, 0.3);
  transition: .5s;
}

#menu-toggle.btn-dark:hover {
  background-color: rgba(160, 160, 160, 0.6);
}

.sidebar-nav li a, .sidebar-nav #menu-close {
  transition: .5s;
}

header {
  position: relative;
  color: #fff;
  background: #4682b4;
  background: #000;
}

header > div, main section > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

header > div {
  position: relative;
  padding: 28vw 16px 4vw 16px;
}

header > div:before {
  position: absolute;
  content: " ";
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  background-image: url(../images/hhs.jpg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
}

footer {
  color: #fff;
  padding: 40px 0;
  background: #2f4f4f;
}

section a {
  color: #4682b4;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: .5s;
}

section a:hover {
  color: #23527c;
  border-bottom: 2px solid #78aedb;
  text-decoration: none;
}

h1 {
  color: #689BC4;
  color: #85BFEC;
  color: #79B0DB;
  font-size: 2em;
  font-weight: 600;
  position: relative;
  z-index: 10;
}

h1 > span {
  font-size: .65em;
  color: #fff;
  font-weight: 300;
}

h2 {
  color: #2f4f4f;
  color: #487575;
  color: #438a8a;
  font-weight: 600;
  font-size: 1.75em;
  margin: 1em 0;
}

h3 {
  text-align: left;
  text-align: center;
}

section ul li {
  position: relative;
  font-size: 1em;
  list-style: none;
  text-indent: -20px;
  margin: 10px 0 0 20px;
}

section {
  clear: both;
  padding: 10px 0 40px;
}

main img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.right-img {
  width: 100%;
  background: #78aedb;
  background: #85BFEC;
}

#lessons-info {
  color: #fff;
  font-size: 1.2em;
  font-weight: 300;
  padding: 30px 0 50px 0;
  background: #4682b4;
}

#lessons-info h2 {
  color: #fff;
  font-weight: 400;
  font-size: 1em;
  text-align: center;
  margin-bottom: 30px;
}

#lessons-info h2 span {
  font-weight: 600;
  font-size: 1.15em;
  display: block;
  line-height: 2;
}

#lessons-info h2 span:last-child {
  font-weight: 400;
  font-size: 1em;
}

#lessons-info p {
  text-align: center;
}

#lessons-info p span {
  font-weight: 600;
  font-size: 1.5em;
  display: block;
}

#rates {
  background: #d7eaea;
}

#rates p {
  font-size: 1.2em;
}

#rates p:last-child {
  font-style: italic;
}

#experience p {
  margin-bottom: 1.5em;
  font-style: italic;
}

#experience p:last-child {
  margin: 1.5em 0 1em;
}

#degrees {
  color: #555;
  background: #eee;
  padding-top: 0;
}

#degrees > div {
  padding: 0;
}

#degrees > div > div:first-child {
  width: 100%;
  background: #333;
}

#degrees > div > div:last-child {
  padding: 0 16px;
}

#testimonials p {
  position: relative;
  display: block;
  font-style: italic;
  padding: 24px 48px;
  margin: 20px 0;
  color: #565656;
  background: #d7eaea;
  border-radius: 10px;
}

#testimonials p:before {
  position: absolute;
  top: -24px;
  left: 2px;
  display: block;
  content: "\201C";
  color: #fff;
  font-size: 100px;
}

#testimonials p span {
  display: block;
  font-style: normal;
  margin-top: 1em;
  margin-left: 40px;
}

.back-to-top {
  width: 60px;
  height: 120px;
  padding: 30px 0;
  margin: 0 auto;
  font-size: 40px;
  text-align: center;
}

.back-to-top a {
  transition: .5s;
  border: none;
}

.back-to-top a:hover {
  border: none;
}

.copyright {
  font-size: 1.2em;
}

@media screen and (min-width: 540px) {

  header > div, main section > div, #degrees > div > div:last-child {
    padding: 0 30px;
  }
  
  header > div {
    padding: 160px 30px 20px 30px;
  }

  header > div:before {
    background-position: right 80%;
  }
  
  h1 {
    font-size: 7.5vw;
  }
  
  #lessons-info h2 {
    font-size: .9em;
    text-align: left;
    text-indent: -20px;
    margin-left: 20px;
  }
  
  #lessons-info h2 span {
    display: inline;
    line-height: 1.2;
  }
  
  #lessons-info p {
    text-align: left;
    margin-left: 40px;
  }
  
  #lessons-info p span {
    display: inline;
  }

}

@media screen and (min-width: 800px) {

  header > div:before {
    background-size: auto 100%;
    background-position: right center;
  }
  
  h1 {
    font-size: 3.5em;
  }
  
  #lessons-info h2 {
    font-size: 1em;
  }
  
  .cols {
    display: flex;
    justify-content: space-between;
  }
  
  .col-2 {
    display: flex-item;
    width: 48%;
  }

}


@media screen and (min-width: 1000px) {

  header > div {
    padding: 9.5vw 30px;
  }
  
  #lessons-info {
    font-size: 1.6em;
  }
  
  #lessons-info p {
    margin-left: 120px;
  }
  
  #lessons-info p span {
    font-size: 1.2em;
  }
  
  #degrees {
    padding: 0;
    background: #eee;
  }
  
  #degrees > div {
    display: flex;
    flex-direction: row-reverse;
  }
  
  #degrees > div > div:first-child {
    width: 82%;
    overflow: hidden;
  }
  
  #degrees > div > div:last-child {
    padding: 10px 20px 30px 30px;
  }
  
  #degrees img {
    margin-left: calc(100% - 640px);
    width: 640px;
    max-width: 640px;
  }

}

@media screen and (min-width: 1200px) {

  header > div {
    padding: 110px 30px;
  }

}