body {
  color: #333;
  text-align: center;
  font-family: Arial;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

#cabecera {
  background: rgb(26, 135, 243);
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.5);
  height: 40px;
  color: white;
  font-weight: bold;
  margin: 0;
  padding: 0.5em;
}

#cabecera #tagline {
  padding: 0 0 0 1em;
  font-weight: normal;
  font-size: 0.8em;
}

#cabecera #logo
{
  width: 40px;
  float: right;
}

#container {
  width: 70%;
  padding: 1em;
  text-align: left;
  /* border: 1px solid #ddd;*/
  margin: 0 auto;
}

#footer
{
  
  text-align: center;
  background:rgb(165, 164, 164);
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: normal;
  margin: 0;
  padding: 0.5em;
  
}

#container h1 {
  font-size: 20px;
  text-align: center;
}

.button {
  border: none;
  border-radius: 12px;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
}

.button1:hover {
  background-color: #e7e7e7;
}

#cards {
  margin-top: 2em;
  margin-bottom: 2em;
}

.t-comands thead td {
  border: none;
  text-align: center;
  font-weight: bold;
  width: 50%;
  padding: 10px 0;
  margin: 1em;
  background-color: rgb(133, 133, 133);
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.5);
  color: white;
}

#detalle:hover {
  color: #ffffff;
  background: #898989;
  border-left: 7px solid #333a;
}

#comando:hover {
  color: #ffffff;
  background: #898989;
  border-left: 7px solid rgb(26, 135, 243);
}

.t-comands tbody td {
  border: none;
  text-align: left;
  width: 50%;
  padding: 10px 0;
  margin: 1em;
}

tr:nth-child(odd) {
  background-color: #f2f2f2;
}
tr:nth-child(even) {
  background-color: #fbfbfb;
}

.col1 {
  display: none;
}
.col2 {
  display: none;
}
.col3 {
  display: none;
}

table.show1 .col1 {
  display: table-cell;
}
table.show2 .col2 {
  display: table-cell;
}
table.show3 .col3 {
  display: table-cell;
}

/* Cards Responsive*/

.cardBox {
  float: left;
  font-size: 1.2em;
  margin: 1% 0 0 1%;
  perspective: 800px;
  transition: all 0.3s ease 0s;
  width: 23.7%;
}

.cardBox:hover .card {
  transform: rotateY(180deg);
}

.card {
  margin-top: 2em;
  margin-bottom: 2em;
  background: rgb(83, 84, 85);
  cursor: default;
  height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease 0s;
  width: 100%;
  -webkit-animation: giro 1s 1;
  animation: giro 1s 1;
}

.card p {
  margin-bottom: 1.8em;
}

.card .front,
.card .back {
  backface-visibility: hidden;
  box-sizing: border-box;
  color: white;
  display: block;
  font-size: 1.2em;
  height: 100%;
  padding: 0.8em;
  position: absolute;
  text-align: center;
  width: 100%;
}

.card .front strong {
  background: #fff;
  border-radius: 100%;
  color: #222;
  font-size: 1.5em;
  line-height: 30px;
  padding: 0 7px 4px 6px;
}

.card .back {
  transform: rotateY(180deg);
}

.card .back a {
  padding: 0.3em 0.5em;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 1px;
  font-size: 0.9em;
  transition: all 0.2s ease 0s;
}

.card .back a:hover {
  background: #fff;
  color: #333;
  text-shadow: 0 0 1px #333;
}

.cardBox:nth-child(1) .card .back {
  background: tomato;
}

.cardBox:nth-child(2) .card .back {
  background: cornflowerblue;
}

.cardBox:nth-child(3) .card .back {
  background: orange;
}

.cardBox:nth-child(4) .card .back {
  background: yellowgreen;
}

.cardBox:nth-child(2) .card {
  -webkit-animation: giro 1.5s 1;
  animation: giro 1.5s 1;
}

.cardBox:nth-child(3) .card {
  -webkit-animation: giro 2s 1;
  animation: giro 2s 1;
}

.cardBox:nth-child(4) .card {
  -webkit-animation: giro 2.5s 1;
  animation: giro 2.5s 1;
}

@-webkit-keyframes giro {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY(180deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

@media screen and (max-width: 767px) {
  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 46%;
  }
  .card {
    height: 285px;
  }
  .cardBox:last-child {
    margin-bottom: 3%;
  }
}

@media screen and (max-width: 480px) {
  .cardBox {
    width: 94.5%;
  }
  .card {
    height: 260px;
  }
}

