* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: lightblue;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    position: relative;
    font-family: "Artifakt Element", sans-serif;
    min-height: 100vh;
}

.main-container {
    width: 70%;
    min-height: 95vh;
    border: solid grey; /* to be removed*/
    background-color: cadetblue;
    border-radius: 30px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.user-input {
    display: table;
    border-spacing: 10px;
    margin: 0.5rem auto;
}

.row {
    display: table-row;
}

.row > * {
    display: table-cell;
    font-size: 1rem;
    padding: 5px;
}

.row > *:first-child {
    text-align: right;
}

.user-input input {
    min-width: 25rem;
}

#calculate {
    padding: 8px;
    border-radius: 8px;
    border: none;
    font-size: 1.2rem;
    background-color: #DB7093;

}

.division-expr {
    /*border: 1px solid red;*/
    background-color: khaki;
    padding: 8px;
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
    border-radius: 10px;
    font-size: 0.8rem;
}

.comments {
    max-width: 70%;
    height: 18vh;
    margin: .5rem auto;
    background-color: lightgrey;
    padding: 12px;
    /*border-radius: 10px;*/
    overflow: scroll;
}

.comments p {
    line-height: 1.8rem;
    margin-left: 10px;
    margin-top: 0.5rem;
    font-size: 14px;
}

.steps {
    max-width: 70%;
    height: 45vh;
    margin: 0.5rem auto;
    background-color: lightgrey;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.controls {
    display: flex;
    justify-content: center;
}
.control-btn {
    padding: 8px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 6px;
}

.user-input {
    position: relative;
}

.toolTip ul {
    /*padding: 4px 4px 10px 20px ;*/
    padding-left: 20px;
    line-height: 1.4rem;
}

.toolTip ul li {
    list-style-type: square;
}

.toolTip1 {
    display: none;
    z-index: 1;
    position: absolute;
    top: 54px;
    right: -20%;
    max-width: 18rem;
    background-color: darkgoldenrod;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    animation: fadeIn 0.6s;
}

.toolTip2 {
    display: none;
    z-index: 1;
    position: absolute;
    top: 95px;
    right: -20%;
    max-width: 18rem;
    background-color: darkgoldenrod;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    animation: fadeIn 0.6s;
}

.toolTip1:before, .toolTip2:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -10px;
    border: 8px solid transparent;
    border-bottom: 8px solid darkgoldenrod;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}