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

body {
    /* background-color: #e1e1e1; */
    background-image: linear-gradient(#e1e1e166), url(../Images/imgi_1_dots.webp);
    background-repeat: repeat;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.container {
    width: 80%;
    height: 100vh;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container h1 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 32px;
}

.calc-age {
    width: 60%;
    background-color: #eaeaea;
    box-shadow: -7px -7px 25px 5px #f0f0f0,
                7px 7px 25px -5px #cdcdcd;
    border-radius: 10px;
    padding-block: 25px;
    padding-inline: 40px;
    border-bottom-right-radius: 120px;
}

.calc-age .form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    height: 175px;
    position: relative;
}

.calc-age .form div {
    width: 25%;
}

.calc-age .form label {
    display: block;
    padding-bottom: 5px;
    text-transform: uppercase;
    color: #716f6f;
    font-weight: 600;
    font-size: 12px;
}

.calc-age .form input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-family: "Arimo", sans-serif;
    font-weight: 800;
    font-size: 28px;
    border: 2px solid rgb(219, 219, 219);
    outline: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.calc-age .form input:focus {
    border: 2px solid #cc6300;
}

.calc-age .form .invalid {
    display: none;
    color: #ff3b3b;
    text-align: center;
    padding-top: 7px;
    font-weight: 400;
    font-size: 10px;
}

.calc-age .form::before {
    content: "";
    width: 100%;
    border-bottom: 2px solid rgb(198, 198, 198);
    position: absolute;
    bottom: 40px;
}

.calc-age .form button {
    background-color: #cc6300;
    border-radius: 50%;
    padding-inline: 19px;
    padding-block: 12px;
    margin-top: 20px;
    cursor: pointer;
    align-self: end;
    border: 0;
    position: relative;
    transition: all 0.5s;
}

.calc-age .form button:hover {
    background-color: #472300;
    transition: all 0.5s;
}

.calc-age .form button .fa-arrow-down {
    font-size: 50px;
    color: white;
}

.calc-age .form input::placeholder {
    color: rgb(219, 219, 219);
    font-family: "Arimo", sans-serif;
    font-weight: 800;
    font-size: 28px;
}

.container .calc-age .age {
    font-weight: 900;
    font-size: 57px;
    font-style: italic;
    text-align: center;
}

.container .calc-age .age span {
    color: #cc6300;
    padding-right: 15px;
}