body {
    font-family: arial;
    font-size: 16px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

main {
    width: 1200px;
    margin: 20px auto;
}

section.options {
    display: flex;
    justify-content: space-around;
}

.options div {
    display: flex;
align-items: center;
justify-content: center;
}

section.options label {
    font-weight: 700;
    margin-right: 5px;
}

section.options input {
    width: 400px;
    border: none;
    border-bottom: solid 1px #333;
    outline: none;
}

section.pros-and-cons {
    width:  100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: min-content;
    border: solid 3px #333;
    background-color: #333;
    gap: 2px;
    border-radius: 10px
}

section.pros-and-cons div.quadrant {

    min-height: 300px;
    position: relative;
}


section.pros-and-cons textarea{
    width: 100%;
    min-height: 100%;
    margin: 0;
    resize: none;
    border: none;
    padding: 30px 20px 10px 20px;
    outline: none;
    line-height: 1.3
}

.pros-a textarea {
    border-radius: 7px 0 0 0;
}

.pros-b textarea {
    border-radius: 0 7px 0 0;
}

.cons-a textarea {
    border-radius: 0 0 0 7px;
}

.cons-b textarea {
    border-radius: 0 0 7px 0;
}

.pros-and-cons .pros-a textarea, .pros-and-cons .cons-a textarea {
    padding-right: 150px;
}

.pros-and-cons .pros-b textarea, .pros-and-cons .cons-b textarea {
    padding-left: 150px;
}

.pros-a input[type=range][orient=vertical] {
    position: absolute;
    bottom: 0;
    right: 100px;
    z-index: 1;
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 100px;
    padding: 0 5px;
    transform: translateY(53%)
}

.pros-b input[type=range] {
    position: absolute;
    bottom: 100px;
    left: 0px;
    z-index: 1;
    height: 8px;
    width: 100px;
    padding: 0 5px;
    transform: translateX(-53%)
}

.cons-a input[type=range] {
    position: absolute;
    top: 100px;
    right: 0px;
    z-index: 1;
    height: 8px;
    width: 100px;
    padding: 0 5px;
    transform: translateX(53%)
}

.cons-b input[type=range][orient=vertical] {
    position: absolute;
    top: 0;
    left: 100px;
    z-index: 1;
    writing-mode: bt-lr; /* IE */
    -webkit-appearance: slider-vertical; /* WebKit */
    width: 8px;
    height: 100px;
    padding: 0 5px;
    transform: translateY(-53%)
}

.weighting, .score {
    font-weight: 700;
    border: 2px solid rgba(51, 51, 51, 0.5);
    width: 40px;
    height: 40px;
    padding: 10px 4px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    color: rgba(51, 51, 51, 0.5)
}

.pros-a .a-v-a {
    bottom: 10px;
    right: 50px;
}

.pros-a .a-v-b {
    bottom: 50px;
    right: 10px;
}

.pros-b .b-v-a {
    bottom: 50px;
    left: 10px;
}

.pros-b .b-v-b {
    bottom: 10px;
    left: 50px;
}

.cons-a .a-v-a {
    top: 10px;
    right: 50px;
}

.cons-a .a-v-b {
    top: 50px;
    right: 10px;
}

.cons-b .b-v-b {
    top: 10px;
    left: 50px;
}

.cons-b .b-v-a {
    top: 50px;
    left: 10px;
}

.score {
    color: rgba(51, 51, 51, 0.75);
    border-color: rgba(51, 51, 51, 0.75);
}



.options .score {
    position: inherit;
    margin-left: 10px;
    transition: color 0.5s, border-color 0.5s;
}

.score.win {
    color: rgba(81, 202, 70, 0.75);
    border-color: rgba(81, 202, 70, 0.75);
}

.score.lose {
    color: rgba(202, 70, 103, 0.75);
    border-color: rgba(202, 70, 103, 0.75);
}

.pros-a .score {
    bottom: 5px;
    right: 5px;
}

.pros-b .score {
    bottom: 5px;
    left: 5px;
}

.cons-a .score {
    top: 5px;
    right: 5px;
}

.cons-b .score {
    top: 5px;
    left: 5px;
}

.quadrant label {
    position: absolute;
    padding: 10px;
    color: rgba(51, 51, 51, 0.5);
}

.pros-b label, .cons-b label {
    right: 0;
}

footer {
    text-align: center;
    line-height: 1.25;
}
