
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

body{
    background-color:#272727;
}


header{
    margin:12px;
}
header .title{
    color:#fff;
    text-align: center;
    font-family: "Playfair Display", serif;
}

main{
    display: flex;
    flex-direction: column;
    gap:30px;
    align-items: center;
    justify-content: center;
}


.form-wrapper{
    /* background-color: #eee3e3; */
    width:400px;
    margin:0 auto;
    border:2px solid #D2D8B3;
    padding:0.5em;
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    gap:5px;
}

form .number{
    font-size:25px;;
}

form input{
    padding: 0.5em 0.1em;
    font-size: 20px;
    text-align: center;
    /* background-color:#0cf484; */
    font-weight: 500;
    border:none;
    display:block;
    border-radius: 2px;

}

label,#number,#conver-btn{
    margin-bottom:3px;
}
form label{
    color:#fff;
    margin-top:5px;
}

form button{
    padding:0.5em;
    font-size:18px;
    cursor: pointer;
    background-color: #A2E3C4;
    border:none;
    border-radius: 10px;
}

#output{
    width:400px;
    height:120px;
    border:2px solid #ed0000;
    display: none;
    color:#fff;
    text-align: center;
}

#output p{
    margin-top:25px;
    font-size: 2rem;
}