@import url('https://fonts.googleapis.com/css2?family=Space+Mono&family=Roboto:wght@400;700&display=swap');

body {
    font-family: "Roboto", sans-serif;
    color: #2d2d2d;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(65deg,
        hsl(204, 70%, 53%) 0%,
        hsl(199, 90%, 53%) 20%,
        hsl(190, 100%, 40%) 38%,
        hsl(180, 100%, 35%) 53%,
        hsl(170, 100%, 37%) 65%,
        hsl(160, 100%, 40%) 74%,
        hsl(150, 100%, 42%) 81%,
        hsl(140, 100%, 45%) 86%,
        hsl(130, 100%, 48%) 91%,
        hsl(120, 100%, 50%) 100%);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    box-shadow: -4px -1px 25px rgba(34, 193, 195, 0.3);
}

.calculator {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

h1 {
    color: #22c1c3;
}

.equation {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.inputs {
    color: #333333;
    margin-bottom: 20px;
}

.coordinate-set {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.coordinate-set label {
    margin: 0 5px;
}

input {
    margin: 5px;
    padding: 8px;
    border: 1px solid #22c1c3;
    border-radius: 5px;
    color: #2d2d2d;
    background-color: #f0f0f0;
    font-size: large;
    font-weight: bold;
}

button {
    background-color: #22c1c3;
    color: #ffffff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

button:hover {
    background-color: #20a4a4;
}

#roots {
    font-family: "Space Mono", monospace;
    margin-top: 20px;
    color: #ff6b6b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#roots h2 {
    margin-top: 0;
    margin-bottom: 2px;
}

#roots ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

#roots li {
    margin-bottom: 10px;
}

.sol {
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1.8px);
    -webkit-backdrop-filter: blur(1.8px);
    border-radius: 10px;
    width: 100%;
}

.css-button-rounded--yellow {
    font-size: large;
    min-width: 130px;
    height: 40px;
    color: #ffffff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 5px;
    border: 2px solid #ffc107;
    background: #ffc107;
    margin-top: 1rem;
}

.css-button-rounded--yellow:hover {
    background: #ffffff;
    color: #ffc107;
}
