body {
    font-family: Arial, sans-serif;
    background-color: #e5e5f8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1{
    font-family:Georgia, Times, serif ;
    letter-spacing: 2px;
    font-variant: small-caps;
    color: #DCDCDC;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}
nav {
    background-color: #333;
    width: 100%;
}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.menu li {
    position: relative;
    flex-grow: 1;
    text-align: center;
}
.menu li a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    background-color: #333;
}
.menu li:hover > a {
    background-color: #444;
}
.dropdown {
    display: none;
    position: absolute;
    background-color: #444;
    width: 100%;
    padding: 0;
}
.dropdown li {
    width: 100%;
    list-style-type: none;
}
.dropdown li a {
    padding: 12px 16px;
    display: block;
    color: white;
    text-align: center;
}
.dropdown li a:hover {
    background-color: #555;
}
.menu li:hover .dropdown {
    display: block;
}
.background-main {
    background-image: url('../style/HomePageMain.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text{
    padding: 20px;
    max-width: 900px;
    margin: auto;
    background: #ececec;
    border-radius: 8px;
}
section {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;

}
h2 {
    color: #333;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1px;
    width: 100%;
}
input[type="button"] {
    background-color: #008CBA;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin: 15px 0;
    border-radius: 5px;
    transition: 0.3s;
}

input[type="button"]:hover {
    background-color: #005f73;
}

img {
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

#radio {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    text-align: left;
}

input[type="radio"] {
    margin-right: 5px;
}

label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

#vastus {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

#kogusInput {
    margin-top: 20px;
}

input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 16px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 5px;
}

#vastus2 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
}
.container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

#vastus3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background-color: #e0e0e0;
    padding: 10px;
    border-radius: 5px;
}
.kalkulaator {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}
















