header {
    padding: 5px;
    text-align: left;
    background: #e09137;
    color: white;
    font-size: 15px;
}

h1 {
    font-family:'Trebuchet MS', 'Lucida Sans unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
    color: #ff0000;
    text-align: center;
}

.card {
    border: 3px solid black;
    margin: 10px;
    background-color: #e9dfde;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    font-size: 20px;
}

.cards {
    border: 3px solid black;
    margin-left: 10px;
    margin-right: 10px;
    margin: 10px;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    padding: 10px;
}

table {
    margin-top: 20px;
    width: 80%;
    margin-left: 10%;
}

select {
    border-radius: 5px; }
.AND {
    background-color: white; }
.OR {
    background-color: white; }
.NAND {
    background-color: white; }
.NOR {
    background-color: white; }
.XOR {
    background-color: white; }
.XNOR {
    background-color: white; }
.NOT {
    background-color: white; }
.IF {
    background-color: white; }

.contenedor {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

/* Compuerta 1 */

.switchesdoble {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imagen-com-doble {
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.focoDoble {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: gray;
    box-shadow: 0 0 10px #000;
}

/* Compuerta 2 */

.switcheUnico {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imagen-com-unica {
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.focoUnico {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: gray;
    box-shadow: 0 0 10px #000;
}

.switch {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .imagen-compuerta {
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .foco {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: gray;
    box-shadow: 0 0 10px #000;
  }