*{
    margin: 0;
    padding: 0;
    font-family: "League Spartan", "sans-serif";
    font-size: 32px;
}

/*tema principal*/

body{
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: hsl(222, 26%, 31%);
}

.topcalc{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0.5rem;
    color: hsl(0, 0%, 100%);
}

.topcalc h1{
    margin-right: 9rem;
}

.topcalc label{
    font-size: 0.4rem;
    letter-spacing: 3px;
    top: 0;
    left: 0;
    transform: translate(230%, -180%);
}

.topcalc span{
    margin-right: 0.4rem; 
    font-size: 0.3rem;
}

.selector{
    display: flex;
    justify-content: space-between;
    width: 1.5rem;
    height: 0.5rem;
    background-color: hsl(224, 36%, 15%);
    border-radius: 1rem;
    padding: 0.1rem;
}

input[type="radio"]:checked {
    appearance: none;
    background-color: hsl(6, 63%, 50%);
    width: 15px;
    height: 15px; 
    border-radius: 10px;
    cursor: pointer;
    border: none;
  }

.result{
    background:hsl(224, 36%, 15%);
    width: 14.7rem;
    height: 1rem;
    margin: 0.1rem;
    margin-bottom: 0.5rem;
    font-size: 1.9rem;
    word-wrap: break-word;
    overflow: hidden;
    color: hsl(0, 0%, 100%);
    text-align: right;
    padding: 1.5rem 0.4rem 1rem 0.4rem;
    border-radius: 0.3rem;
}

.group-num{
    width: 14.5rem;
    height: 12.2rem;
    font-size: 1.5rem;
    margin: 0.1rem;
    background-color: hsl(223, 31%, 20%);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.num{
    width: 3rem;
    height: 1.8rem;
    border-radius: 0.3rem;
    font-size: 1.3rem;
    cursor: pointer;
    margin: 0.3rem;
    padding-top: 0.2rem;
    background-color: hsl(0, 23%, 97%);
    border: none;
    color: hsl(223, 31%, 20%);
}

.del{
    width: 3rem;
    height: 1.8rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0.3rem;
    background-color: hsl(222, 26%, 31%);
    border: none;
    color: hsl(0, 23%, 97%);
}

.reset{
    width: 6.8rem;
    height: 1.8rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0.1rem;
    background-color: hsl(222, 26%, 31%);
    border: none;
    color: hsl(0, 23%, 97%);
    margin-left: 0.3rem;
}

.equal{
    width: 6.8rem;
    height: 1.8rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0.1rem;
    background-color: hsl(6, 63%, 50%);
    border: none;
    color: hsl(0, 23%, 97%);
    margin-left: 0.3rem;
}

/*tema 1*/

.active1 {
    background-color: hsl(0, 0%, 90%);
}

.active1 p{
    background-color: hsl(0, 0%, 93%);
    color: hsl(223, 8%, 18%);
}
.active1 .group-num{
background-color: hsl(0, 5%, 81%);
}

.active1 h1{
    color: hsl(223, 8%, 18%);
}
.active1 label{
    color: hsl(223, 8%, 18%);
}

.active1 span{
    color: hsl(223, 8%, 18%);
}

.active1 .num{
    color: hsl(223, 8%, 18%);
}

.active1 .reset{
    background-color: hsl(185, 42%, 37%);
}

.active1 .equal{
    background-color: hsl(25, 98%, 40%);
}

.active1 .del{
    background-color: hsl(185, 42%, 37%);
}

.active1 input[type="radio"]:checked {
   background-color: hsl(25, 98%, 40%);
  }

  .active1 .selector{
    background-color: hsl(0, 5%, 81%);
  }



/*tema 3*/

.active3 {
    background-color: hsl(268, 75%, 9%);
}

.active3 p{
    background-color: hsl(268, 71%, 12%);
    color: hsl(52, 100%, 62%);
}
.active3 .group-num{
background-color: hsl(268, 71%, 12%);
}

.active3 h1{
    color: hsl(52, 100%, 62%);
}
.active3 label{
    color: hsl(52, 100%, 62%);
}

.active3 span{
    color: hsl(52, 100%, 62%);
}

.active3 .num{
    color: hsl(52, 100%, 62%);
    background-color: hsl(268, 47%, 21%);
}

.active3 .reset{
    background-color: hsl(281, 89%, 26%);
}

.active3 .equal{
    background-color: hsl(176, 100%, 44%);
}

.active3 .del{
    background-color: hsl(281, 89%, 26%);
}

.active3 input[type="radio"]:checked {
    background-color: hsl(176, 100%, 44%);
   }
 
   .active3 .selector{
     background-color: hsl(268, 71%, 12%);
   }

