/* if you are using any Google fonts change the font names below to your fonts. 
Any spaces in your font name should be replaced with a +. 
Fonts are separated by a | */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Shadows+Into+Light&display=swap");

:root {
    /* change the values below to your colors from your palette */
    --primary-color: #283618;
    --secondary-color: #05c3cb ;
    --accent1-color: #f4f3f7;
    --accent2-color: #c7bcc1;
  
    /* change the values below to your chosen font(s) */
    --heading-font: "Montserrat", sans-serif;
    --paragraph-font: "Raleway", sans-serif;
  
    /* these colors below should be chosen from among your palette colors above */
    --headline-color-on-white: #283618;
    /* headlines on a white background */
    --headline-color-on-color: white;
    /* headlines on a colored background */
    --paragraph-color-on-white: #283618;
    /* paragraph text on a white background */
    --paragraph-color-on-color: white;
    /* paragraph text on a colored background */
    --paragraph-background-color: #283618;
    --nav-link-color: #c7bcc1;
    --nav-background-color: #05c3cb ;
    --nav-hover-link-color: #e7c24f;
    --nav-hover-background-color: #c7bcc1;
}

html {
  background-color: var(--paragraph-color-on-color);
}

h1,
h2 {
  font-family: var(--heading-font);
  color: var(--paragraph-color-on-white);
}

p {
  font-family: var(--paragraph-font);
  color: var(--headline-color-on-white);
}

ul {
  text-align: justify;
  padding-left: 50px;
  padding-right: 50px;
  font-family: var(--paragraph-font);
  color: var(--headline-color-on-white);
}

li {
  font-family: var(--paragraph-font);
  color: var(--headline-color-on-white);
  text-align: justify;
  padding-left: 0px;
  padding-right: 20px;
}

.list-phrases {
  grid-column: 1 / 2;
  grid-row: 2 / 3;

  justify-content: center;
  align-items: start;
  width: 100%;
  height: 100%;
}


header {
  display: grid;
  padding-bottom: 0px;
  background-color: var(--primary-color);
  text-align: center;
}

h1 {
  text-align: center;
  color: var(--paragraph-color-on-color);
  padding-top: 0.5em;
  font-size: 2rem;
}

h2 {
  text-align: center;
  color: var(--paragraph-color-on-color);
  font-size: 1rem;
}

.main-title-1 {
  text-align: center;
  padding: 0.5em;
  border: 10px solid var(--paragraph-color-on-color);
  background-color: var(--paragraph-background-color);
}

.main-title-2 {
  text-align: center;
  padding: 0.5em;
  border: 10px solid var(--nav-link-color);
  background-color: var(--nav-background-color);
}

.main-title-3 {
  text-align: center;
  padding: 0.5em;
  border: 10px solid var(--accent1-color);
  background-color: var(--nav-background-color);
}

h3 {
  background-color: var(--paragraph-background-color);
  display: flex;
  font-size: 1.4em;
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-weight: bold;
}

h4 h5 {
  margin-block-start: 0.2em;
  margin-block-end: 0.2em;
  padding-left: 40px;
  padding-top: 27px;
}

h4 {
  font-size: 1.5em;
  text-align: center;
}

h5 {
  font-size: 1.2em;
}

.stateEx {
  font-family: var(--paragraph-font);
  font-size: 1.5vw;
  margin: 2px;
  color: #dd884b;
  padding-top: 0em;
}

.equation {
  width: 30%;
}

p {
  text-align: justify;
  padding-left: 50px;
  padding-right: 50px;
  line-height: 25px;
  padding-top: 1em;
  padding-bottom: 1em;
}


.colors {
  width: 100%;
  min-width: 350px;
  margin: auto;
  text-align: center;
}

.colors th {
  background-color: var(--nav-hover-background-color);
}

.colors td {
  width: 25%;
  height: 3em;
}

.primary {
  background-color: var(--primary-color);
}

.secondary {
  background-color: var(--secondary-color);
}

.accent1 {
  background-color: var(--accent1-color);
}

.accent2 {
  background-color: var(--accent2-color);
}

p.colored {
  background-color: var(--paragraph-background-color);
  color: var(--paragraph-color-on-color);
}

footer {
  display: grid;
  max-width: 100%;
  grid-template-columns: 1fr;
  background-color: var(--secondary-color);
  grid-gap: 2em;
  margin-top: 20px;
}

.copyright {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  font-family: var(--heading-font);
  text-align: center;
  font-size: 0.8em;
  padding: 1em;
  width: 96%;
  color: var(--accent1-color);
}

/* table format */

.continer {
  display: flex;
  flex-direction: column;
  place-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  margin-top: 15px;
  max-width: 500px;
  padding: 20px;
}

.serie {
  width: 15%;
  background-color: #606c38;
  color: #fff;
  font-size: 14px;
  font-family: var(--heading-font);
  cursor: pointer;
}

.valor {
  width: 25%;
  font-family: var(--heading-font);
  border: 1px solid #606c38;
}

.agregar {
  display: inline-block;
  height: 30px;
  width: 60%;
  background-color: #606c38;
  border: none;
  color: #fff;
  font-size: 18px;
  margin-top: 15px;
  cursor: pointer;
  font-family: var(--heading-font);
}

.crear-grafico {
  float: right;
  width: 20%;
  background-color: #606c38;
  border: none;
  padding: 10px;
  color: #fff;
  margin-top: 15px;
  cursor: pointer;
  font-size: 18px;
  font-family: var(--heading-font);
}

/* style tables */

@media only screen and (max-width: 500px) {
  body {
    max-width: 100vw;
    margin: 0 auto;
    background-color: #faf60538;
    padding: 0em;
  }

  /* Hide the images by default */
  .mySlides {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 9;
    display: none;
    position: relative;
    height: 60vw;
  }

  .grid-continer {
      display: grid;
      grid-template-columns: 10vw 80vw 10vw;
      grid-template-rows: repeat(10, 8vw);
      place-content: center;
      justify-content: center;  
  }

  img {
    width: 80vw;
    padding-top: 10px;
    padding-bottom: 10px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 5;
    padding-top: 1vw;
    padding-bottom: 1vw;
    position: relative;
  }

  .text {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 8;
    width: 80vw;
    height: 4.5vw;
    font-size: 3.4vw;
    position: relative;
    text-align: center;
    color: #05c9fa;
    background-color: #1016c06a;
  }


  .stateEx  {
    text-align: center;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 10;
    grid-row-end: 11;
    font-size: 4vw;
  }

  .control-point {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 8;
    grid-row-end: 9
  }

  form {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 10;
    unicode-bidi: isolate;
}


h6 {
  font-size: 2.5vw;
  padding: 0px;
  margin: 0px;
}

  /* Number text (1/3 etc) */
  #numbertext {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 8;
    grid-row-end: 9;
    font-size: 3vw;
    padding: 8px 12px;
    color: #05fae6;
    -webkit-text-stroke: 0.8px rgb(8, 131, 246);
    position: relative;
    bottom: 2vw;
    text-align: center;
  }

  /* Progress Bar */

  #myProgress {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 8;
    grid-row-end: 9;
    width: 80vw;
    position: relative;
  }

  /* Progress Bar */

  #myBar {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 10;
    width: 10%;
    height: 10px;
    /* background: #04AA6D; */
    text-align: left;
    line-height: 30px;
    color: white;
    position: absolute;
  }

  select {
    width: 43vw;
    display: block;
    margin: 0 auto;
    font-size: 12px;
    padding: 5px;
  }

  table {
    border: 1px solid #606c38;
    background-color: #eeeeee;
    width: 100%;
    text-align: center;
    font-family: var(--heading-font);
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
  }

  table td,
  table th {
    border: 1px solid #aaaaaa;
    padding: 3px 2px;
  }

  table tbody td {
    font-size: 9.5px;
    font-family: var(--heading-font);
  }

  table thead {
    background: #606c38;
    border-bottom: 2px solid #444444;
  }

  table thead th {
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    border-left: 2px solid #d0e4f5;
  }

  table thead th:first-child {
    border-left: none;
  }

  #hide-me {
    display: none;
  }
}
