@media only screen and (max-width: 1560px) {
  nav {
    flex-direction: column;
  }
  nav h1 {
    width: 100%;
    margin-bottom: 30px;
  }
  nav ul {
    width: 100%;
    justify-content: space-between;
  }
  #services {
    width: 60%;
  }
  ul #phoneMenu {
    display: none;
  }
}
@media only screen and (max-width: 1315px) {
  #services {
    width: 70%;
  }
  ul #phoneMenu {
    display: none;
  }
}
@media only screen and (max-width: 1160px) {
  #services {
    width: 90%;
  }
}
@media only screen and (max-width: 1050px) {
  #services {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: -95px;
  }
  #services a.article {
    width: 300px;
    margin: 10px;
    padding: 30px 4%;
  }
  #realisationsSection a.article {
    margin-bottom: 15px;
  }
}
@media only screen and (max-width: 800px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  nav hgroup {
    width: 100%;
  }
  nav hgroup h1 {
    width: 100%;
    text-align: center;
    line-height: 50px;
    margin-bottom: 10px;
  }
  nav hgroup h1 a {
    border: none;
  }
  nav hgroup p {
    width: 100%;
    text-align: center;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    display: block;
    width: 100%;
    padding: 0;
    padding-bottom: 5px;
    height: 50px;
    font-size: 1.7rem;
    background-color: rgb(255, 255, 255);
    color: rgb(242, 255, 0);
    text-align: center;
    margin-bottom: 20px;
    box-shadow: -3px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
  nav ul li:hover {
    border-bottom: none;
    box-shadow: -5px 7px rgba(0, 0, 0, 0.2);
    transform: translate(0, 2px);
  }
  nav ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    color: #333;
    padding-bottom: 5px;
  }
  nav ul li a:hover {
    text-decoration: none;
    border: none;
  }
  #indexSection {
    background-image: url("../images/english-teacher-phone-version.webp");
    height: 650px;
  }
  #services, #prices {
    margin-top: 30px;
  }
  footer {
    padding-left: 10%;
    padding-right: 10%;
    width: 80%;
  }
}
@media only screen and (max-width: 600px) {
  nav {
    width: 90%;
    margin: 0;
    padding: 40px 5%;
  }
  nav li {
    font-size: 2rem;
    height: 40px;
    padding-top: 20px;
  }
  #indexSection {
    width: 80%;
    padding: 100px 10%;
    height: 750px;
    background-position-x: 50%;
  }
  #indexSection h2.index {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 40px;
  }
  #services a.article, #prices a.article {
    margin-bottom: 25px;
    padding: 30px 8%;
  }
  #realisationsSection {
    width: 85%;
  }
  #realisationsSection a.article {
    margin-bottom: 35px;
  }
  #aboutSection {
    width: 80%;
    margin: 0 auto;
  }
  hr {
    width: 90%;
  }
}/*# sourceMappingURL=mediaIndex.css.map */