*{
    margin: 0;
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h1{
    font-size: 36px;
    margin-bottom: 4px;
}

input{
    font-size: 16px;
    display: inline-block;
    padding: 0 10px;
    line-height: 30px;
    height: 32px;
    margin-bottom: 6px;
    border: 1px solid #222;
    border-radius: 4px;
    background-color: #fff;
    color: rgb(8, 7, 7);
    transition: border .1s linear,background-color .1s linear;
}

form{
    font-size: 20px;
    display: flex;
    align-items: flex-start;
    margin: 24px 0 10px;
}

input[type="radio"]{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.toggleArithmetics{
    font-family: "Ranchers", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    padding: 0.55rem 1.05rem;
    margin-bottom: 16px;
    border: 2px solid #222;
    border-radius: 0.25rem;
    transition: all 0.3s linear;
    color: #222;
    background: transparent;
    cursor: pointer;
}

.toggleArithmetics:hover, .resultButton:hover {
    transform: translateY(-1px);
    color: #fff;
    background: #222;
}

.heading{
    font-size: 20px;
    margin-top: 14px;
    margin-bottom: 4px;
}

.resultButton{
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    padding: 6px 14px;
    background-color: white;
    transition: all 0.3s linear;
    cursor: pointer;
}

.answer{
    font-size: 24px;
    margin-top: 24px;
}

.binaryArithmetics{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
}

label{
    padding-left: 4px;
    margin-right: 12px;
    cursor: pointer;
}

.hidden{
    display: none !important;
}
