version-3
by velo_ninja
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Futuristic Production Calculator</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap">
<style>
body {
margin: 10px;
padding: 5px;
display: flex;
justify-content: center;
align-items: center;
overflow-y: auto;
background-color: white;
}
.div-main {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 15px;
padding: 10px;
border-radius: 10px;
text-align: center;
background-color: lightgrey;
}
.div-title {
font-family: 'Roboto', sans-serif;
font-size: 25px;
font-weight: bold;
margin: 3px;
border-radius: 10px;
text-align: center;
}
.div-y {
display: flex;
flex-direction: column;
margin: 10px;
border-radius: 10px;
text-align: center;
background-color: white;
}
.input-field {
width: 50%;
padding: 5px;
border-radius: 5px;
border: none;
background-color: #ecf0f1;
text-align: center;
font-size: 12px;
}
.row {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 1px;
font-family: 'Roboto', sans-serif;
background-color: transparent;
width: auto;
min-width: 40vw;
color: black;
...