* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    background-color: #fafafa;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 85%;
    margin: 1rem auto;
    padding: 3rem 0 0 0rem;
    display: grid;
    grid-template-columns: 1fr 2.4fr;
}

.input_contant {
    background-color: #fff;
    width: 90%;
    border-radius: .9rem;
    margin: 0 auto;
    padding: 4rem 3rem;
    line-height: 1.5;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.algorithm_fieldset {
    border: none;
}

.algorithm_label {
    font-size: 1.6rem;
    color: #434242;
}

.algorithm_div {
    border: 1px solid #bababa;
    width: 100%;
    height: 4rem;
    border-radius: .4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    margin-top: .6rem;
    overflow:hidden;
}

.algorithm_div p {
    flex: 1;
    font-size: 1.5rem;
    color: #434242;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 1rem;
}

.algorithm_div span:nth-child(2){
    background-color: #bababa;
    width: .1rem;
    height: 2.4rem;
}
.algorithm_div .angle_down {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    filter: opacity(0.3);
}

.input_field1, .input_field2 {
    margin-top: 1.8rem;
    border: none;
}

.Arrival_Times_label, .Burst_Times_label {
    display: block;
    font-size: 1.6rem;
    color: #434242;
    margin-bottom: .6rem;
}

#Arrival_Times, #Burst_Times {
    outline: none;
    width: 100%;
    height: 4rem;
    border-radius: .4rem;
    padding: 0 1.6rem;
    font-size: 1.4rem;
    transition: all .2s ease-in-out;
    border: 1px solid #bababa;
}

#Arrival_Times:hover, #Burst_Times:hover {
    background-color: rgb(250, 250, 250);
}

#Arrival_Times:focus {
    border: 1px solid rgb(44, 81, 247);
}

#Burst_Times:focus {
    border: 1px solid rgb(24, 64, 241);
}

.solve_button {
    background-color: #2694ff;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    width: 9rem;
    height: 4rem;
    transition: background-color 0.2s ease-out;
    margin-top: 1.8rem;
    border: none;
    font-size: 1.6rem;
}

.solve_button:hover {
    background-color: rgb(0, 91, 255);
}

.output_contant {
    background-color: #fff;
    width: 100%;
    height: 20vh;
    border-radius: 1.4rem;
    padding: 4rem;
    margin: 0 auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.output_contant p {
    font-size: 1.6rem;
    color: #434242;
    padding: 1rem 0;
}

.footer_section {
    margin-top: 3rem;
}

.footer_contant {
    margin: 0 auto;
    max-width: 82%;
    display: flex;
    padding: 1rem 0;
    align-items: center;
}

.footer_contant > * {
    font-size: 1.6em;
    color: #434242;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer_contant > span {
    width: 1.9px;
    height: 1.6rem;
    background-color: #454343;
    margin: 0 1rem;
}

.footer_contant > a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.active {
    border: 2px solid #2694ff;
    box-shadow: 0 0 5px 0 rgba(23, 103, 252);
}

.selection_div {
    border-radius: .5rem;
    height:26.6%;
    position: absolute;
    top: 22rem;
    z-index: 999;
    width: 17.8%;
    height: 29.8vh;
    background-color: #fff;
    border: 1px solid #bababa;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.select_box {
    padding: 1rem;
}

.select_box .para {
    font-size: 1.4rem;
    color: #434242;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.select_box .para:hover {
    background-color: #e6f3ff;
}

