styles CSS
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
- {
margin: 0;
border: 0;
padding: 0;
box-sizing: border-box;
font-family: "Anton" , sans-serif;
}
body{
background:grey;
background-repeat: no-repeat;
min-height: 100vh;
min-width: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
main{
display: flex;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
}
.container{
display: flex;
flex-direction: column;
background:linear-gradient(45deg, #292031, #9b89be);
width: 400px;
height: 600px;
align-items: center;
justify-content: space-evenly;
border-radius: 20px;
box-shadow: 0 0 10px black;
}
.title {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 50px;
font: "Anton" , sans-serif ;
border-bottom: solid 5px black;
margin-bottom: 20px;
}
.input{
display: flex;
width: 300px;
height: 50px;
justify-content: space-between;
align-items: center;
}
.input input{
width: 200px;
height: 50px;
border-radius: 5px;
border: none;
outline: 0;
font: "Anton" , sans-serif;
text-align: center;
}
.input label{
font: "Anton" , sans-serif;
}
button{
width: 300px;
height: 40px;
font: "Anton" , sans-serif;
background:#000;
color: white;
outline: none;
border-radius: 5px;
cursor: pointer;
}
.result{
display: flex;
margin-top: 20px;
align-items: center;
width: 300px;
height: 150px;
border-radius: 5px;
font: "Anton" , sans-serif ;
box-shadow: 0px 0px 10px black;
color: white ;
padding: 20px;
box-sizing: border-box;
user-select: none;
}