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

body {
    background: linear-gradient(135deg, rgba(124, 4, 148, 0.91), rgba(1, 16, 150, 0.91));
    background-repeat: no-repeat;
    font-family: Verdana, Tahoma, sans-serif;
    text-align: center;
    height: 100vh;
    display: flex;
}

.container {
    text-align: center;
    border-radius: 10px;
    background-color: white;
    padding: 30px;
    margin: auto;
    max-width: 350px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.205);
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 20px;
}

h2 {
    font-size: 1.5rem;
    color: hsl(240, 98%, 66%);
    font-weight: 600;
}


#temp {
    display: inline;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid rgb(218, 218, 218);
    border-radius: 4px;
    outline-color: hsl(240, 100%, 76%);
    text-align: center;
}

.selection {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.unitGroup {
    display: inline-block;
    padding: 0.6rem;
    border: 1px solid rgb(218, 218, 218);
    border-radius: 4px;
}

.unitGroup,
.unitGroup input,
.unitGroup label,
button {
    cursor: pointer;
}

.indicator {
    display: flex;
    flex-flow: column;
    gap: 2px;
    color: rgba(124, 4, 148, 0.91);
}

label {
    font-size: 1rem;
    font-weight: medium;
}

button {
    margin-top: 20px;
    border: none;
    padding: 10px 32px;
    background: linear-gradient(135deg, rgba(170, 0, 204, 0.91), rgba(1, 23, 212, 0.91));
    color: white;
    border-radius: 4px;
    font-size: 1.2rem;
}

#tempResult {
    font-size: 1.1rem;
    font-weight: medium;
    margin-top: 10px;

}