body{
background:#dfe5f1;
font-family:Arial;
}

.container{
display:flex;
justify-content:center;
margin-top:40px;
}

.card{
background:white;
padding:50px;
border-radius:25px;
width:1000px;
text-align:center;
box-shadow:0 0 20px rgba(0,0,0,0.15);
}

.fraction-line{
display:flex;
justify-content:center;
align-items:center;
gap:60px;
margin:40px 0;
}

.fraction{
display:flex;
flex-direction:column;
align-items:center;
font-size:52px;
min-width:150px;
font-weight:bold;
}

.fraction hr{
width:100%;
border:3px solid black;
margin:10px 0;
}

.sign{
font-size:70px;
font-weight:bold;
}

.btn{
background:#2563eb;
color:white;
padding:18px 35px;
border:none;
border-radius:15px;
font-size:30px;
cursor:pointer;
font-weight:bold;
}

.btn:hover{
background:#1d4ed8;
}

.rowbox{
font-size:36px;
margin:30px 0;
}

.factor{
background:#eef4ff;
padding:18px 25px;
border-radius:15px;
font-size:42px;
display:inline-block;
margin:6px;
font-weight:bold;
}

.crossed{
text-decoration:line-through;
opacity:0.5;
}

.choice{
display:block;
font-size:38px;
margin:18px;
padding:15px;
background:#eef4ff;
border-radius:15px;
cursor:pointer;
font-weight:bold;
}

.choice:hover{
background:#dbeafe;
}

.double-layout,
.split{
display:flex;
justify-content:space-around;
margin-top:40px;
gap:30px;
}

.block{
background:#f7f7f7;
padding:30px;
border-radius:20px;
width:45%;
}

.big-fraction input,
.result-input{
padding:18px;
font-size:34px;
width:320px;
text-align:center;
border-radius:15px;
border:2px solid #2563eb;
}

.error{
color:red;
font-size:28px;
margin-bottom:20px;
font-weight:bold;
}

.gray{
background:gray;
}

input[type="radio"]{
transform:scale(2.8);
margin-right:18px;
cursor:pointer;
}

select{
font-size:30px;
padding:15px;
border-radius:15px;
margin-top:15px;
}

button{
font-size:30px !important;
padding:18px 30px !important;
margin-top:20px;
}

h1{
font-size:54px;
color:#2563eb;
margin-bottom:25px;
}

h2{
font-size:42px;
margin-bottom:20px;
}

h3{
font-size:34px;
margin-bottom:20px;
}