/*Archivo css de Arhamis Santana Hernández*/
* {
  margin: 0px;
  padding: 0px;
}

body {
  display: grid;
  grid-template-areas:
    "h"
    "s"
    "s"
    "s"
    "f";
  grid-gap: 0.5em;
}

header {
  display: grid;
  grid-template-areas:
    "tit men men men";
  background-color: brown;
  color: white;
  grid-area: h;
}

section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 0.5em;
  grid-area: s;
  text-align: center;
}

footer {
  background-color: brown;
  color: white;
  grid-area: f;
  display: flex;
  flex-direction: row-reverse;
}

.menu2 {
  display: none;
}

.titulo {
  grid-area: tit;
  margin-left: 0.4em;
}

.menu1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 1em;
  list-style: none;
  grid-area: men;
  margin: 1em;
}

.tarjeta {
  background-color: red;
  color: white;
  display: grid;
  grid-template-rows: 0.25fr 1fr;
  grid-gap: 1em;
}

.tarjeta2 {
  background-color: rgb(210, 210, 0);
  color: white;
}

.tarjeta ul {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  grid-gap: 0.5em;
}

.titulo_tarjeta {
  border-top: 4px solid white;
  border-bottom: 4px solid white;
  margin-top: 10px;
}

.precio_tarjeta {
  background-color: white;
  color: red;
  position: relative;
  top: -1.3em;
}

ul {
  list-style: none;
}

a {
  color: white;
  text-decoration: underline;
  text-decoration-color: brown;
}

a:hover {
  text-decoration: underline;
  transition-property: all;
  transition-duration: 2s;
  transition-timing-function: ease;
}

@media screen and (max-width:1350px) {
  body {
    display: grid;
    grid-template-areas:
      "h"
      "s"
      "s"
      "s"
      "f";
    grid-gap: 0.5em;
  }

  header {
    display: grid;
    grid-template-areas:
      "tit men men men";
    background-color: brown;
    color: white;
    grid-area: h;
  }

  section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.5em;
    grid-area: s;
    text-align: center;
  }

  footer {
    background-color: brown;
    color: white;
    grid-area: f;
    display: flex;
    flex-direction: row-reverse;
  }

  .menu2 {
    display: none;
  }

  .titulo {
    grid-area: tit;
    margin-left: 0.4em;
  }

  .menu1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
    list-style: none;
    grid-area: men;
    margin: 1em;
  }

  .tarjeta {
    background-color: red;
    color: white;
    display: grid;
    grid-template-rows: 0.25fr 1fr;
    grid-gap: 1em;
  }

  .tarjeta2 {
    background-color: rgb(210, 210, 0);
    color: white;
  }

  .tarjeta ul {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 0.5em;
  }

  .titulo_tarjeta {
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    margin-top: 10px;
  }

  .precio_tarjeta {
    background-color: white;
    color: red;
    position: relative;
    top: -1.3em;
  }

  ul {
    list-style: none;
  }

  a {
    color: white;
    text-decoration: underline;
    text-decoration-color: brown;
  }

  a:hover {
    text-decoration: underline;
    transition-property: all;
    transition-duration: 2s;
    transition-timing-function: ease;
  }
}

@media screen and (max-width:1000px) {
  body {
    display: grid;
    grid-template-areas:
      "h"
      "s"
      "s"
      "s"
      "f";
    grid-gap: 0.5em;
  }

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: brown;
    color: white;
    grid-area: h;
  }

  section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.5em;
    grid-area: s;
    text-align: center;
  }

  footer {
    background-color: brown;
    color: white;
    grid-area: f;
    display: flex;
    flex-direction: row-reverse;
  }

  .menu2 {
    display: block;
    grid-area: men;
    color: white;
    text-align: right;
    margin-right: 0.4em;
  }

  .titulo {
    grid-area: tit;
    margin-left: 0.4em;
  }

  .menu1 {
    display: none;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
    list-style: none;
    grid-area: men;
    margin: 1em;
  }

  .tarjeta {
    background-color: red;
    color: white;
    display: grid;
    grid-template-rows: 0.25fr 1fr;
    grid-gap: 1em;
  }

  .tarjeta2 {
    background-color: rgb(210, 210, 0);
    color: white;
  }

  .tarjeta ul {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 0.5em;
  }

  .titulo_tarjeta {
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    margin-top: 10px;
  }

  .precio_tarjeta {
    background-color: white;
    color: red;
    position: relative;
    top: -1.3em;
  }

  ul {
    list-style: none;
  }

  a {
    color: white;

  }

  a:hover {
    text-decoration: none;
    transition-property: none;
    transition-duration: 2s;
    transition-timing-function: ease;
  }
}

@media screen and (max-width:900px) {
  body {
    display: grid;
    grid-template-areas:
      "h"
      "s"
      "s"
      "s"
      "f";
    grid-gap: 0.5em;
  }

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: brown;
    color: white;
    grid-area: h;
  }

  section {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5em;
    grid-area: s;
    text-align: center;
  }

  footer {
    background-color: brown;
    color: white;
    grid-area: f;
    display: flex;
    flex-direction: row-reverse;
  }

  .menu2 {
    display: block;
    grid-area: men;
    color: white;
    text-align: right;
    margin-right: 0.4em;
  }

  .titulo {
    grid-area: tit;
    margin-left: 0.4em;
  }

  .menu1 {
    display: none;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
    list-style: none;
    grid-area: men;
    margin: 1em;
  }

  .tarjeta {
    background-color: red;
    color: white;
    display: grid;
    grid-template-rows: 0.25fr 1fr;
    grid-gap: 1em;
  }

  .tarjeta2 {
    background-color: rgb(210, 210, 0);
    color: white;
  }

  .tarjeta ul {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 0.5em;
  }

  .titulo_tarjeta {
    border-top: 4px solid white;
    border-bottom: 4px solid white;
    margin-top: 10px;
  }

  .precio_tarjeta {
    background-color: white;
    color: red;
    position: relative;
    top: -1.3em;
  }

  ul {
    list-style: none;
  }

  a {
    color: white;
    
  }

  a:hover {
    text-decoration: none;
    transition-property: none;
    transition-duration: 2s;
    transition-timing-function: ease;
  }
}
