html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;

    font-family: Arial, sans-serif;
    background-color: #fefefe;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefefe;
} */

        footer{
            margin: 0;
            padding: 0;
            text-align: center;
        }

        h1{
            margin-top: 20px;
            margin-bottom: 10px;
            font-size: 30px;
        }

        h3{
            margin-top: 0;
            margin-bottom: 0;
            font-size: 19px; 
            color: #2b2b2b;
        }

        .container {
            max-width: 500px;
            margin: 0 auto;
            padding: 20px;
            text-align: center;
        }

        .button {
            padding: 10px 20px;
            font-size: 18px;
            background-color: darkred;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .button:hover {
            background-color: #a00;
        }

        .textInp {
            margin-top: 10px;
            padding: 12px 20px;
            border: 2px solid  darkred;
            border-radius: 5px;
            width: 90%;
            max-width: 300px;
            box-sizing: border-box;
            font-size: 18px; 
        }

        .textInp:focus {
            border-color: #8d0404;
            outline: none;
            box-shadow: 0 0 6px rgba(255, 107, 107, 0.5);
        }

        #response {
            margin-top: 20px;
            padding: 10px;
            border: 1px solid #ddd;
            background-color: #f9f9f9;
        }

        /* Segmented button group */

.segmented {
    display: inline-flex;
    margin: 4px 0 4px 0;
    border: 2px solid #1b1b1b;
    border-radius: 8px;
    overflow: hidden;
}

.segmented input {
    display: none;
    /* position:absolute;
    opacity:0;
    width:0;
    height:0; */
}

.segmented label {
    min-width: 58px;
    padding: 4px 20px;
    background: white;
    color: #1b1b1b;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;

    /* display: flex; */
    justify-content: center;
    align-items: center;

    /* trying */
    display:block;
    line-height:34px;
    text-align:center;
}

/* Divider between buttons */
.segmented label + input + label,
.segmented label + label {
    border-left: 2px solid #1b1b1b;
}

.segmented input:checked + label {
    background: #757575;
    color: white;
}

.segmented label:hover {
    background: #cecece;
}

.group-title {
    margin-top: 8px;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: bold;
}
