label{
    font-family: SpaceReg;
    text-transform: uppercase;
    font-size: 20px;
}
.FilterMagContain{
    margin-top: -5rem;
    display: flex;
    padding: 0 100px;
}
.filter{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 100px;
}
.magContain{
    display: flex;
    flex-direction: column;
}
.mag{
    width: fit-content;
    height: fit-content;
    background-color: #ffffff0a;
    border-radius: 20px;
    display: flex;
    cursor: pointer;
    align-items: center;
    padding: 20px;
    justify-content: space-between;
    margin-bottom: 50px;
    border: 1px solid #191b1b3a;
}
.magImg{
    width: 270;
    height: fit-content;
    margin-right: 30px;
    border-radius: 10px;
}
.magTextContain{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 380px;
    width: 350px;
}
.magTextP{
    overflow: hidden;
    margin-top: 20px;
}
.PricenDateContain{
    display: flex;
}
.PricenDateContain p{
    margin-right: 10px;
}
.PricenDateContain h1{
    font-size: 25px;
}
.downloadBtnMag{
    width: fit-content;
    padding: 10px 30px;
    font-family: spacereg;
    border-radius: 10px;
    border: 1px solid #191b1b3a;
    background-color: white;
}
/* Hide the default checkbox */
input[type="checkbox"] {
    display: none;
  }

  /* Style the label as a button */
  label.checkbox-button {
    display: flex;
    justify-content: center;
    padding: 10px;
    max-width: min-content;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
    border-radius: 20px;
    margin-bottom: 10px;
    transition: all 0.4s;
    transition-timing-function: linear;
  }
  label.checkbox-button.active{
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* When the checkbox is checked, change the button color */
  input[type="checkbox"]:checked + label.checkbox-button {
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s;
    transition-timing-function: linear;
  }
  label.dark-theme{
    transition: all 0.4s;
    transition-timing-function: linear;
    color: #0D1011;
}


  @media screen and (max-width: 475px){
    .FilterMagContain{
    margin-top: -4rem;
    flex-direction: column;
    padding: 0 30px;
    }
    label{
        font-size: 16px;
    }
    .filter{
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-right: 100px;
    }
    .mag{
        cursor: pointer;
        align-items: center;
        padding: 20px;
        justify-content: space-between;
        margin-bottom: 50px;
        flex-direction: column;
    }
    .magImg{
        width: 270;
        height: fit-content;
        margin-right: 0px;
        border-radius: 16px;
    }
    .magTextContain{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: fit-content;
        width: fit-content;
        margin-top: 1rem;
    }
    .PricenDateContain h1{
        font-size: 20px;
    }
    .magTextP{
        display: none;
    }
    .downloadBtnMag{
        width: max-content;
        padding: 10px 100px;
        font-family: spacereg;
        border-radius: 10px;
        border: 1px solid #191b1b3a;
        background-color: white;
        color: #1c1d1d;
        margin-top: 2rem;
    }
  }