* {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

.footer {
  height: 100% !important;
}

/*.main {
  background: #000000; 
  background: -webkit-linear-gradient(
    to bottom,
    #434343,
    #000000
  ); 
  background: linear-gradient(
    to bottom,
    #434343,
    #000000
  ); 
}*/

.formulario-clases {
  border-radius: 10px;
  background-color: #ffbd4a;
  color: #111;
  font-size: 1rem;
  padding: 0.5rem;
  filter: drop-shadow(5px 5px 0 #000);
  text-decoration: none;
  border: 2px outset #fdab1c;
  font-weight: bold;
}

.formulario-clases:hover {
  background-color: #222;
  color: #fff;
}

.content {
  position: relative;
  top: 75px;
  /* margin-bottom: 5rem;*/
}

.separador_link a:active {
  background-color: #faad29;
  font-weight: bold;
  color: #000;
  border: none;
}

.separador_link a:hover {
  background-color: #fff;
}

#active {
  color: #faad29;
}

.flex-container {
  margin: 1rem auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  height: 50%;
  width: 80%;
}

.flex-button-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  filter: drop-shadow(5px 5px 0 #aba);
}

.subtitulo {
  color: #fff;
  margin: 2rem auto;
  text-align: center;
  font-size: 1.5rem;
}

main section {
  background-color: transparent;
}

div > section {
  margin-bottom: 1rem;
  border: 2px solid #ffbd4a;
  border-radius: 8px;
}

div > section h4 {
  text-align: center;
  color: #fff;
  border: 1.5px outset #333333;
  background-color: #333333;
}

.flex-item {
  width: 100%;
  background-color: white;
  padding-bottom: 1rem;
}

.descripcion {
  padding: 0 0.5rem;
}

.precio {
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  color: #1c406b;
}

.tabcontent {
  display: none;
  padding: 20px;
  text-align: center;
  animation-name: aparicion;
  animation-duration: 2s;
}

.topnav {
  height: 100vh;
}

/* Change background color of buttons on hover */
.tablink:hover {
  background-color: #fff;
  transition: filter 0.5s;
  filter: drop-shadow(5px 5px 0 #222);
}

.tablink:focus {
  background-color: #000;
  color: #fff;
}

.ind:active,
.gru:active {
  color: #faad29 !important;
}

b {
  color: #000;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

#content-individual {
  display: none;
}

#content-grupal {
  display: none;
}

.intro {
  text-align: center;
  font-size: 2rem;
  color: #fff;
}

.link {
  color: #fff;
  text-decoration: none;
}

.direct {
  background-color: #1c406b !important;
  transition: background-color 1s !important;
}

.direct:hover {
  background-color: #f09819 !important;
}

@media only screen and (max-width: 420px) {
  body {
    min-width: 320px;
    max-width: 420px;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  .titulo {
    display: none;
  }

  .container {
    flex-direction: column nowrap;
  }

  #active {
    color: #fff;
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
  }

  .topnav {
    /* este es el entorno desplegable */
    margin-top: 1.09rem;
    padding: 1rem;
    background-color: #fff;
    border-right: 3px solid #ffbd4a;
    border-bottom: 3px solid #ffbd4a;
    border-radius: 0 0px 10px 0;
    position: relative;
    z-index: 2000;
    width: 100%;
    height: 100%;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
  }

  .topnav .menu_item a {
    color: #ffbd4a;
    font-weight: bold;
    padding: 0.5rem;
    text-decoration: none;
    background-color: #222;
    border: 2px outset #fff;
    border-radius: 10px;
    position: relative;
    z-index: 500;
  }

  .hamburger {
    visibility: visible;
    margin: 0 15px;
    margin-top: 35px;
    padding: auto;
    height: 20px;
    width: 20px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    margin-top: 1rem;
    visibility: hidden;
    width: 75%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .logo-responsive {
    max-width: 120px;
    margin-top: -1.2rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  .container {
    flex-flow: column nowrap;
    align-items: center;
  }

  .container_tier {
    width: 80%;
  }

  .container_tier-item {
    width: 80%;
    margin: 0.8rem auto;
    font-size: 0.9rem;
  }

  .materia {
    padding: 0.1rem;
  }

  .flex-item {
    width: 80%;
    background-color: white;
  }

  div > section {
    margin-bottom: 1rem;
    border: 2px solid #ffbd4a;
  }

  .flex-container {
    margin: 1rem auto;
    display: flex;
    flex-flow: column nowrap;
    height: 50%;
    width: 80%;
  }

  .flex-button-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
  }

  .flex {
    display: flex;
    justify-content: space-between;
    align-content: center;
  }

  .flex_form {
    display: flex;
    flex-flow: column wrap;
    max-width: 420px;
    min-width: 320px;
    justify-content: space-around;
  }

  .pie_flex {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding-left: 0;
    max-width: 420px;
  }

  .subtitulo {
    font-size: 1.2rem;
  }

  .tablink {
    width: 30%;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;

    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 3rem;
  }

  footer {
    background-color: #000;
    border-top: 4px solid #ffbd4a;
  }

  .content {
    top: 60px;
    /* margin-bottom: 15rem;*/
    margin-bottom: 5rem;
  }

  /*---------------------- MATERIAS --------------------*/

  .container-2 {
    display: none;
  }

  .container-1 {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 20%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 100%;
    border: 2px solid #ffbd4a;

    overflow: hidden;
    filter: drop-shadow(10px 10px 0 #000);
  }

  .container_tier:hover {
    transform: translate(-10px, 20px);
    transition: transform 1.5s;
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 20%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
    font-size: 1.1rem;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 1.5rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }
}

@media only screen and (max-width: 600px) and (min-width: 421px) {
  body {
    min-width: 421px;
    max-width: 600px;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  .titulo {
    display: none;
  }

  .container {
    flex-direction: column nowrap;
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
  }

  .topnav {
    /* este es el entorno desplegable */
    margin-top: 1.09rem;
    padding: 1rem;
    background-color: #fff;
    border-right: 3px solid #ffbd4a;
    border-bottom: 3px solid #ffbd4a;
    border-radius: 0 0px 10px 0;
    position: relative;
    z-index: 2000;
    height: 100%;
    width: 100%;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a {
    color: #ffbd4a;
    font-weight: bold;
    padding: 0.5rem;
    text-decoration: none;
    background-color: #222;
    border: 2px outset #fff;
    border-radius: 10px;
    position: relative;
    z-index: 500;
  }

  #active {
    color: #fff;
  }

  .hamburger {
    visibility: visible;
    margin: 0 15px;
    margin-top: 35px;
    padding: auto;
    height: 20px;
    width: 20px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    margin-top: 1rem;
    visibility: hidden;
    width: 75%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .logo-responsive {
    max-width: 120px;
    margin-top: -1.2rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  .flex {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-content: center;
  }
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .flex_form {
    display: flex;
    flex-flow: column wrap;
    max-width: 600px;
    min-width: 421px;
    justify-content: space-around;
  }

  .flex-button-container {
    display: flex;
    align-items: center;
  }

  .pie_flex {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding-left: 0;
    max-width: 600px;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .container {
    flex-flow: column nowrap;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;

    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 3rem;
  }

  footer {
    background-color: #000;
    border-top: 4px solid #ffbd4a;
  }

  .content {
    top: 60px;
    /*margin-bottom: 10rem;*/
    margin-bottom: 5rem;
  }

  .container {
    justify-content: center;
    align-items: center;
  }

  .container_tier {
    width: 60%;
  }

  /*---------------------- MATERIAS --------------------*/

  .container-2 {
    display: none;
  }

  .container-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 20%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 100%;
    border: 2px solid #ffbd4a;
    margin: 1rem;
    overflow: hidden;
    filter: drop-shadow(10px 10px 0 #000);
  }

  .container_tier:hover {
    transform: translate(-10px, 20px);
    transition: transform 1.5s;
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 20%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 1.5rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }
}

@media only screen and (min-width: 601px) and (max-width: 932px) {
  body {
    width: 100%;
    height: 100%;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }
  .titulo {
    display: none;
  }

  .container {
    flex-direction: column nowrap;
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
  }

  .topnav {
    /* este es el entorno desplegable */
    margin-top: 1.09rem;
    padding: 1rem;
    background-color: #fff;
    border-right: 3px solid #ffbd4a;
    border-bottom: 3px solid #ffbd4a;
    border-radius: 0 0px 10px 0;
    position: relative;
    z-index: 2000;
    height: 100%;
    width: 100%;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a {
    color: #ffbd4a;
    font-weight: bold;
    padding: 0.5rem;
    text-decoration: none;
    background-color: #222;
    border: 2px outset #fff;
    border-radius: 10px;
    position: relative;
    z-index: 500;
  }

  .hamburger {
    visibility: visible;
    margin: 0 15px;
    margin-top: 35px;
    padding: auto;
    height: 20px;
    width: 20px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    margin-top: 1rem;
    visibility: hidden;
    width: 75%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .logo-responsive {
    max-width: 120px;
    margin-top: -1.2rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  #active {
    color: #fff;
  }

  .flex {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    align-content: center;
  }

  .pie_flex {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding-left: 0;
    width: 100%;
    /*position: absolute;*/
    top: 100%;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;

    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 3rem;
  }

  footer {
    background-color: #000;
    border-top: 4px solid #ffbd4a;
  }

  .content {
    /*top: 60px;*/
    margin-bottom: 14rem;
    height: 100%;
    margin-bottom: 6rem;
  }

  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .container {
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 5rem;
  }

  .container_tier {
    width: 50%;
    height: 15%;
  }

  /*-------------------- MATERIAS --------------------*/
  .container-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .container-2 {
    display: none;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 20%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 70%;
    border: 2px solid #ffbd4a;
    margin: 1rem;
    overflow: hidden;
    filter: drop-shadow(10px 10px 0 #000);
  }

  .container_tier:hover {
    transform: translate(-10px, 20px);
    transition: transform 1.5s;
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 20%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier1 {
    color: #000;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 1.5rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }
}

@media only screen and (min-width: 933px) and (max-width: 1024px) {
  .logo {
    position: relative;
    top: 1px;
    max-width: 85px;
    margin: -20px 0;
    padding: 0;
    float: right;
    order: 3;
    z-index: 500;
  }

  .titulo {
    color: #434343;
    float: right;
    position: relative;
    visibility: visible;
    bottom: 2px;
    font-size: 16px;
    margin-top: 1.85rem;
    margin-left: 2rem;
    order: 4;
    z-index: 500;
  }

  .container {
    flex-flow: row nowrap;
  }

  body {
    background: #232526; /* fallback for old browsers */
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
    order: 2;
  }

  .topnav {
    /* este es el entorno desplegable */
    display: inline-block;
    background-color: #fff;
    border: none;
    position: absolute;
    top: -145px;
    z-index: 2000;
    height: 100%;
    width: 70%;
    order: 1;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a {
    color: #000;
    padding: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a:hover {
    color: #ffbd4a;
  }

  .menu_item {
    display: inline-block;
    padding: 2rem;
    position: relative;
    z-index: 500;
  }

  .hamburger {
    visibility: hidden;
    margin: 0px 5px;
    margin-top: 20px;
    height: 30px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    display: inline-block;
    margin-top: 1rem;
    visibility: visible;
    width: 100%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .logo-responsive {
    max-width: 140px;
    margin-top: -1.95rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  .flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .pie_flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: #000;
    border-top: 3px solid #ffbd4a;
    justify-content: center;
    padding-left: 0;
    padding-top: 2rem;
    width: 100%;
    position: relative;
    bottom: 0;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;
    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 3rem;
  }

  .content {
    position: relative;
    padding-top: 10rem;
    /*margin-bottom: 21rem;*/
    margin-bottom: 6rem;
  }

  .grupo {
    flex-grow: 1;
  }

  /*-------------------- MATERIAS ------------------------*/

  .container-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 100%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 80%;
    border: 2px solid #ffbd4a;
    margin: 1rem;

    filter: drop-shadow(10px 10px 0 #000);
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
    font-size: 1.5rem;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 2rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1440px) {
  .logo {
    position: relative;
    top: 1px;
    max-width: 85px;
    margin: -20px 0;
    padding: 0;
    float: right;
    order: 3;
    z-index: 500;
  }

  .titulo {
    color: #434343;
    float: right;
    position: relative;
    visibility: visible;
    bottom: 2px;
    font-size: 16px;
    margin-top: 1.85rem;
    margin-left: 2rem;
    order: 4;
    z-index: 500;
  }

  body {
    width: 100%;
    height: 100%;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
    order: 2;
  }

  .topnav {
    /* este es el entorno desplegable */
    display: inline-block;
    background-color: #fff;
    border: none;
    position: absolute;
    top: -145px;
    z-index: 2000;
    height: 70px;
    width: 70%;
    order: 1;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a {
    color: #000;
    padding: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a:hover {
    color: #ffbd4a;
  }

  .menu_item {
    display: inline-block;
    padding: 2rem;
    position: relative;
    z-index: 500;
  }

  .hamburger {
    visibility: hidden;
    margin: 0px 5px;
    margin-top: 20px;
    height: 30px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    display: inline-block;
    margin-top: 1rem;
    visibility: visible;
    width: 100%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .flex-item > h4 {
    font-size: 1.5rem;
  }

  .flex-item > .precio {
    font-size: 2.5rem;
  }

  .logo-responsive {
    max-width: 140px;
    margin-top: -1.95rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  .flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .pie_flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    background-color: #000;
    border-top: 3px solid #ffbd4a;
    justify-content: center;
    padding-left: 0;
    position: relative;
    width: 100%;
    bottom: 0;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;

    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 3rem;
  }

  .subtitulo {
    font-size: 2rem;
  }

  .content {
    position: relative;
    min-height: 100vh;
    padding-top: 10rem;
    /*margin-bottom: 15rem;*/
    margin-bottom: 5rem;
  }

  /*------------------------------- Materias --------------------------*/

  .container-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 100%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 80%;
    border: 2px solid #ffbd4a;
    margin: 1rem;

    filter: drop-shadow(10px 10px 0 #000);
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
    font-size: 1.5rem;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 2rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }
}

@media only screen and (min-width: 1441px) {
  .logo {
    position: relative;
    top: 1px;
    max-width: 85px;
    margin: -20px 0;
    padding: 0;
    float: right;
    order: 3;
    z-index: 500;
  }

  .titulo {
    color: #434343;
    float: right;
    position: relative;
    visibility: visible;
    bottom: 2px;
    font-size: 16px;
    margin-top: 1.85rem;
    margin-left: 2rem;
    order: 4;
    z-index: 500;
  }

  body {
    min-width: 1440px;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(
      to bottom,
      #434343,
      #000000
    ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  }

  .nav-container-responsive {
    background-color: #fff;
    height: 75px;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 3px solid #ffbd4a;
    z-index: 500;
    order: 2;
  }

  .topnav {
    /* este es el entorno desplegable */
    display: inline-block;
    background-color: #fff;
    border: none;
    position: absolute;
    top: -145px;
    z-index: 2000;
    height: 70px;
    width: 70%;
    order: 1;
  }

  .topnav li {
    margin-top: 1rem;
    padding: 1rem 0;
    list-style-type: none;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a {
    color: #000;
    padding: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    z-index: 500;
  }

  .topnav .menu_item a:hover {
    color: #ffbd4a;
  }

  .menu_item {
    display: inline-block;
    padding: 2rem;
    position: relative;
    z-index: 500;
  }

  .hamburger {
    visibility: hidden;
    margin: 0px 5px;
    margin-top: 20px;
    height: 30px;
    position: relative;
    z-index: 500;
  }

  .hamburger:active {
    background-color: #ffbd4a;
  }

  .menu-desplegable {
    display: inline-block;
    margin-top: 1rem;
    visibility: visible;
    width: 100%;
    background-color: #333333;
    position: relative;
    z-index: 2000;
  }

  .logo-responsive {
    max-width: 140px;
    margin-top: -1.95rem;
    margin-bottom: 0rem;
    float: right;
    position: relative;
    z-index: 500;
  }

  .flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .pie_flex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    background-color: #000;
    border-top: 3px solid #ffbd4a;
    padding-left: 0;
    position: relative;
    width: 100%;
  }

  .subtitulo {
    font-size: 4rem;
  }

  .tablink {
    font-size: 2rem;
  }

  .flex-item {
    padding-bottom: 2rem;
  }

  .flex-item h4 {
    font-size: 3.5rem;
  }

  .precio {
    font-size: 4rem;
  }

  .descripcion {
    font-size: 2.5rem;
  }

  .formulario-clases {
    font-size: 2.5rem;
  }

  .pie_flex-redes {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .pie_flex-redes h4 {
    max-width: 100%;
    text-align: center;
    color: #fff;
    font-size: 2rem;
  }

  .pie_flex-redes_redes {
    display: flex;
    flex-flow: row nowrap;
    flex: 1;

    margin: 1rem;
  }

  .pie_flex-redes_redes > a {
    text-decoration: none;
    margin: 0 1rem;
    color: #ffbd4a;
    font-size: 4rem;
  }

  .content {
    position: relative;
    min-height: 100vh;
    padding-top: 10rem;
    /*margin-bottom: 15rem;*/
    margin-bottom: 5rem;
  }

  /*------------------------------- Materias --------------------------*/

  .container-1 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    margin: 1rem;
  }

  .grupo1,
  .grupo2,
  .grupo3,
  .grupo4,
  .grupo5,
  .grupo6 {
    margin: 0.5rem;
    margin: 1rem 0;
    font-weight: bold;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    height: 100%;

    transition: height 1.5s;
  }

  .grupo1:hover,
  .grupo2:hover,
  .grupo3:hover,
  .grupo4:hover,
  .grupo5:hover,
  .grupo6:hover {
    height: 100%;
  }

  .container_tier {
    background-color: #fff;
    color: #444;
    width: 80%;
    border: 2px solid #ffbd4a;
    margin: 1rem;

    filter: drop-shadow(10px 10px 0 #000);
  }

  .materia {
    color: #fdab1c;
    background-color: #222;
    border-radius: 10px;
    font-size: 1.5rem;
  }

  @keyframes vision {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .container_tier-item {
    /* está afectado por el .container_tier*/
    width: 100%;
    height: 100%;
    padding: 1rem;
    margin: 1.5rem 0;
    opacity: 1;
    animation-name: vision;
    animation-duration: 4s;
    transition: animation 1s;
    font-size: 1.5rem;
  }

  .alg {
    color: #000;
    border-radius: 10px;
  }

  .am {
    color: #000;
    border-radius: 10px;
  }

  .fca {
    color: #000;
    border-radius: 10px;
  }

  .pe {
    color: #000;
    border-radius: 10px;
  }

  .mat {
    color: #000;
    border-radius: 10px;
  }

  .tier2 {
    background-color: #fff;
  }

  .tier3 {
    background-color: #fff;
  }

  .tier4 {
    background-color: #fff;
  }

  .tier5 {
    background-color: #fff;
  }

  .tier6 {
  }

  .tier {
    font-size: 3rem;
    color: #fff;
    background-color: #232526;
    text-align: center;
    padding: 0.4rem;
  }

  .intro {
    font-size: 3rem;
  }
}

@media only screen and (min-width: 2500px) {
  .content {
    height: 100%;
  }
  .pie_flex {
    position: relative;
    top: 100%;
    width: 100%;
  }
}

/*@media only screen and (min-height: 1000px) {
  .pie_flex {
    position: absolute;
    top: 100%;
    width: 100%;
  }

  .content {
    margin-bottom: 40rem;
    height: 100%;
  }

  html {
    height: 100%;
  }
}*/
