@font-face {
  font-family: Roboto;
  src: url(../../../../../fonts/Roboto-Regular-webfont.eot), url(../../../../../fonts/Roboto-Regular-webfont.woff), url(../../../../../fonts/Roboto-Regular-webfont.ttf), url(../../../../../fonts/Roboto-Regular-webfont.svg);
}

@font-face {
  font-family: Sosa;
  src: url(../../../../../fonts/sosa-regular-webfont.eot), url(../../../../../fonts/sosa-regular-webfont.woff), url(../../../../../fonts/sosa-regular-webfont.ttf), url(../../../../../fonts/sosa-regular-webfont.svg);
}

@font-face {
  font-family: Merienda;
  src: url(../../../../../fonts/Merienda-Regular.ttf), url(../../../../../fonts/Merienda-Bold.ttf);
}

@font-face {
  font-family: Lato;
  src: url(../../../../../fonts/Lato-Regular.ttf), url(../../../../../fonts/Lato-Black.ttf), url(../../../../..//fonts/Lato-BlackItalic.ttf), url(../../../../../fonts/Lato-Bold.ttf), url(../../../../..//fonts/Lato-BoldItalic.ttf), url(../../../../../fonts/Lato-Hairline.ttf), url(../../../../../fonts/Lato-HairlineItalic.ttf), url(../../../../../fonts/Lato-Italic.ttf), url(../../../../../fonts/Lato-Light.ttf), url(../../../../../fonts/Lato-LightItalic.ttf);
}

* {
  font-family: "Lato", serif;
  font-size: 16px;
  text-decoration: none;
}

*:focus {
  outline: none;
}

/* box-shadow outlines rounded corners! */
.focus-visible {
  box-shadow: 0 0 0 2px lightgreen;
}

h1 {
  font-family: "Roboto", sans-serif;
  text-align: center;
  vertical-align: bottom;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

h2 {
  font-family: "Merienda", cursive;
  color: #000000;
  text-shadow: 2px 0 5px #ffffff;
  text-align: center;
}

h3 {
  font-family: "Lato", sans-serif;
  color: #000000;
  text-shadow: 0 0 10px rgb(196, 182, 182);
  text-align: center;
}

h4 {
  font-family: "Lato", sans-serif;
  color: #000000;
  text-shadow: 0 0 10px rgb(196, 182, 182);
  text-align: justify;
}

h1,
h2 {
  font-size: 2.5rem;
}

h3,
h4 {
  font-size: 1.5rem;
}

body {
  display: grid;
  margin: 0 auto;
  grid-template-columns: 1fr;
  grid-template-areas: "header""main""footer";
}

@media only screen and (min-width: 50px) and (max-width: 767px) {

  h1,
  h2 {
    font-size: 1.5rem;
  }

  h3,
  h4 {
    font-size: 0.9rem;
  }

  .header {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 148, 255, 1), rgba(189, 189, 189, 1));
    overflow: hidden;
    font-family: "Merienda", cursive;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column;
    min-height: 300vh;
    width: 100%;
    background-color: #91cae0;
    border: 2px solid rgba(204, 204, 204, 0.123);
    text-align: center;
  }

  .ejercicio {
    margin: 0 auto;
    padding: 10px;
    position: sticky;
    top: 30px;
    bottom: 100px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 10vh;
    width: 80%;
    background: #ffffff;
  }

  footer {
    align-items: center;
    text-align: left;
    background: linear-gradient(to right, #ff5252, rgba(0, 148, 255, 1));
  }

  .footer-copyright {
    text-align: center;
    min-height: 50px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

  .aviso {
    text-align: center;
    color: rgb(243, 17, 17);
    font-size: 1.5rem;
    box-sizing: border-box;
    min-width: 180px;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column;
    min-height: 300vh;
    width: 100%;
    background-color: #91cae0;
    border: 2px solid rgba(204, 204, 204, 0.123);
    text-align: center;
  }

  .container>p,
  footer {
    display: flex;
    width: 100%;
    background-color: #1976d2;
  }

  .ejercicio {
    position: sticky;
    top: 100px;
    bottom: 100px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    width: 80%;
    background: #ffffff;
  }

  .entrada {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    font-size: 1.4rem;
    background-color: #91cae0;
    opacity: 0.9;
    color: rgba(0, 148, 255, 1);
    box-shadow: -3px -3px 5px 3px rgba(255, 255, 255, 0.2);
    padding: 5rem;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 15px;
  }

  .entrada .field .aviso {
    text-align: center;
    color: #fff;
    padding: .2rem .2rem;
    font-size: 1rem;
    box-sizing: border-box;
    min-width: 180px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    background: linear-gradient(to left, rgba(0, 148, 255, 1), rgba(189, 189, 189, 1));
    z-index: 3;
  }

  footer p {
    font-family: "Merienda", cursive;
  }

  h1,
  h2 {
    font-size: 2rem;
  }

  h3,
  h4 {
    font-size: 1.2rem;
  }

  .header {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    width: 100%;
    height: 60vh;
    background: linear-gradient(to right, rgba(0, 148, 255, 1), rgba(189, 189, 189, 1));
    overflow: hidden;
    font-family: "Merienda", cursive;
  }

}

@media only screen and (min-width: 1024px) {

  .aviso {
    text-align: center;
    color: rgb(243, 17, 17);
    font-size: 1.5rem;
    box-sizing: border-box;
    min-width: 180px;
  }

  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    min-height: 50vh;
    width: 100%;
    background-color: #91cae0;
    border: 2px solid rgba(204, 204, 204, 0.123);
    text-align: center;
  }

  .container .ejercicio article {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 5px;
    padding: 0.5rem;
  }

  .container>p,
  footer {
    display: flex;
    width: 100%;
    background-color: #1976d2;
  }

  .ejercicio {
    position: sticky;
    top: 100px;
    bottom: 100px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    width: 90%;
    background: #ffffff;
  }

  .ejercicio form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #91CAE0;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .ejercicio form input {
    border-width: 0px;
    border-radius: 2px;
    outline: none;
    padding: 5px;
    min-height: 70px;
    background-color: #fff;
    font-size: 1.1rem;
    text-align: center;
    color: rgb(12, 115, 189);
  }

  .ejercicio form ::placeholder {
    color: rgb(12, 100, 163);
  }

  .ejercicio form input[type=submit] {
    background-color: #fff;
    color: #0288D1;
    min-height: 42px;
    width: 100px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .ejercicio form span {
    color: rgb(202, 48, 21);
    padding: 15px;
    font-weight: bold;
    text-align: center;
  }

  .ejercicio form .twoColumn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .ejercicio form .twoColumn div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-height: 100px;
    width: 200px;
  }

  .ejercicio form .twoColumn div input {
    width: 200px;
  }

  .ejercicio form .radioButtonRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
  }

  .ejercicio form .radioButtonRow div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100px;
    width: 100px;
    background-color: #fff;
  }

  .ejercicio form .radioButtonRow.columnaRadio {
    padding: 20px;
    padding-bottom: 50px;
  }

  .ejercicio form .radioButtonRow.columnaRadio .containerRadio {
    display: flex;
    flex-direction: row;
    padding: 10px;
  }

  .containerRadio input {
    display: block;
    margin-right: 7px;
  }

  .containerRadio label {
    display: block;
    font-weight: bold;
    color: #0288D1;
  }

  .containerCheckbox label {
    display: block;
    font-weight: bold;
    color: #0288D1;
  }

  .ejercicio form .oneColumn .containerCheckbox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    min-height: 70px;
    width: 500px;
    background-color: #fff;

  }

  .ejercicio form .oneColumn .containerCheckbox input {
    width: 20px;

  }

  .ejercicio form .oneColumn div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
  }

  .ejercicio form .oneColumn div input {
    width: 500px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    background: linear-gradient(to left, rgba(0, 148, 255, 1), rgba(189, 189, 189, 1));
    z-index: 3;
  }

  footer p {
    font-family: "Merienda", cursive;
  }

  h1,
  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  .header {
    display: flex;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to right, rgba(0, 148, 255, 1), rgba(189, 189, 189, 1));
    overflow: hidden;
    font-family: "Merienda", cursive;
  }

}