*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

body{
    background-color: rgb(126, 173, 157);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    width: 90%;
    max-width: 700px;
    margin: 80px auto;
    animation: fadeIn 0.8s ease;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255,255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from{
        opacity: 0;
        transform: translate(20px);
    }
    to{
        opacity: 1;
        transform: translate(0);
    }
}

.display{
    width: 100%;
    margin-top: 50px;
    margin-bottom: 30px;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 20px;
    border-radius: 12px;
    gap: 10px;
}

.container h1{
    font-weight: 500;
    font-size: 3rem;
}

.container h1 span{
    color: azure;
    border-bottom: 4px solid  #019;
    padding-bottom: 7px;
}

.display img{
    width: 30px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.display img:hover{
    transform: scale(1.15);
}

.display input{
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 1.3rem;
}

.options{
    margin-bottom: 20px;
}

.length-box{
    margin-bottom: 20px;
}

.length-box label{
    display: flex;
    font-size: 18px;
    margin-bottom: 10px;
    justify-content: space-between;
    align-items: center;
}

#length-slider{
    width: 100%;
    cursor: pointer;
}

.length-box input{
    width: 80px;
    padding: 8px;
    font-size: 16px;
}

.container button img{
    width: 24px;
    margin-right: 10px;
}

.container button{
    border: 0;
    outline: 0;
    background: #019f55;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container button:hover{
    transform: translate(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#copy-message{
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    display: none;
}