.cont {
    height: 700px;
    width: 380px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(#6E5EBF, #91EFFB);
    margin: 0;
    font-family: 'Arial', sans-serif;
}

button {
    height: 100px;
    width: 100px;
    border-radius: 12px;
    border: 2px solid #007BFF;
    background-color: #FFFFFF;
    color: #007BFF;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #007BFF;
    color: #FFFFFF;
    transform: scale(1.1);
}

.cont-box {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 15px;
}

.clr {
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #28A745;
    background-color: #FFFFFF;
    color: #28A745;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    right: 40px;
}

.clr:hover {
    background-color: #28A745;
    color: #FFFFFF;
    transform: scale(1.1);
}

.txt {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

textarea {
    width: 260px;
    height: 100px;
    border-radius: 12px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #007BFF;
    outline: none;
    resize: none;
}

.result {
    margin-top: 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 24px;
    color: #007BFF;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.restart {
    position: relative;
    bottom: 297px;
    left: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #28A745;
    background-color: #FFFFFF;
    color: #28A745;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.restart:hover {
    background-color: #28A745;
    color: #FFFFFF;
    transform: scale(1.1);
}

@media only screen and (max-width : 830px) {
    .cont-box {
        position: relative;
        bottom: -14px;
    }

    .clr {
        position: relative;
        top: 10px;
    }

    textarea {
        position: relative;
    }

    .result {
        position: relative;
    }

    .restart {
        bottom: 287px;
    }
}