* {
    margin: 0px;
    padding: 0px;
}
body {
    background-color: rgb(212, 207, 207);
    font-family: 'Times New Roman', Times, serif;
}
nav ul {
    list-style-type: none;
}
nav ul li {
    padding: 4px;
}
nav ul li a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: rgb(70, 69, 69);
    font-family: 'Times New Roman', Times, serif;
}
nav ul li a:hover {
    background-color: gray;
    color: white;
}
header {
    display: block;
    width: 100%;
    background-color: rgba(111, 241, 30, 0.956);
}
#menue {
    width: 40%;
    padding: 20px;
    border: 0px solid;
    height: 100%;
}

header h1 {
    color: white;
    text-align: center;
    font-size: 200%;
}
.menue {
    display: block;
    width: 2.5%;
    padding: 5px;
    margin: 2px;
}
.menue:hover {
    background-color: white;
    border-radius: 5px;
}
#content h1{
     color: white;
    text-align: center;
    font-size: 200%;
    background-color:  rgba(111, 241, 30, 0.956);;
}
#dist,#branch{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
}
.input ,.output{
    float: left;                 /* Left side on desktop */
    width: 420px;                /* Fixed width for desktop */
    padding: 20px;
    margin-left:5px;
    background-color: #f9fbff;
    border: 1px solid #a2b8e1;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
#b-2,#b-1{
    display: none;
}
.output{
     width:58%;
}
.output h1{
    text-align: center;
}
.output svg,.output p{
    display: block;
    width:25%;
    margin: 0 auto;
    opacity: 0.5;
}
 label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

/* Inputs and Select box */
 input[type="number"], select,.btn, button{
    width: 95%;
    padding: 8px 6px;
    border: 1px solid #cfd6e4;
    border-radius: 6px;
    font-size: 14px;
}
input[type="text"]{
    padding: 10px;
    border-radius:25px;
}
.input button,.btn{
    margin-top: 10px;
    background-color: rgba(111, 241, 30, 0.956);
    color: white;
}
.input button:hover{
    background-color: white;
    color: rgba(30, 100, 241, 0.866);
}
.block button{
    background-color: rgba(111, 241, 30, 0.956);
    color: white;
}
.block button:hover{
    background-color:white;
    color: rgba(111, 241, 30, 0.956);
}
.btn:hover{
    background-color: white;
    color: rgba(30, 100, 241, 0.866);
}
/* Focus Effect */
.input input:focus,
.input select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 4px rgba(74,144,226,0.4);
}

/* Radio buttons spacing */
.input input[type="radio"] {
    margin-top: 8px;
    margin-right: 5px;
}

 br {
    display: none;  /* remove extra unwanted gaps */
}
#filter,#mediator{
    margin: 5% auto;
    border: 1px solid black;
    padding: 5px;
    width: 90%;
}
/* Add spacing manually */
.input input[type="radio"] + label {
    display: inline;
}
.block{
    outline: 1px solid gray;
    border-radius: 2%;
    padding: 20px;
    margin-top: 10px;
}
span{
    color: gray
}
table{
    width:100%;
}
th{
    background-color:rgba(30, 234, 241, 0.956);color: white;
}
td{
     text-align: center;      /* Horizontal center */
  vertical-align: middle; 
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .input,.output{
        float: none;          /* remove left float */
        width: 90%;           /* take 90% width */
        margin: 20px auto;    /* center align */
    }
}
h2 {
    color: rgba(30, 100, 241, 0.866);
    text-align: center;
}
.ql {
    display: flex;
    background-color: white;
    width: 99%;
    border-radius: 5px;
    margin: 20px auto;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}
.ql,
footer {
    display: flex;
    flex-direction: column;
    width: 99%;
    background-color: rgba(111, 241, 30, 0.956);
    padding: 20px;
    text-align: center;
}

.ql ul li {
    list-style-type: none;
}

footer {
    background-color: black;
    color: white;
    margin-top: 2px;
}

@media screen and (max-width:251px) {
    header h1 {
        font-size: medium;
    }
    .menue {
        width: 5%;
    }
}

@media screen and (max-width:177px) {
    h2,
    p,
    h1 {
        font-size: small;
    }
}
@media screen and (max-width:122px) {
    body {
        font-size: 15%;
    }
}