body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 500px;
    text-align: center;
    transition: all 0.3s ease;
}

.container:hover {
    transform: scale(1.05);
}

h1 {
    color: #ff6347;
    font-size: 2em;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ffeb3b;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    box-sizing: border-box;
    border: 2px solid #007bff;
    border-radius: 4px;
    background-color: #f0f0f0;
}

input:focus {
    border-color: #ff6347;
    outline: none;
}

button {
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #218838;
}

#result {
    margin-top: 20px;
    font-weight: bold;
    color: #ff6347;
}

.diagram {
    margin-top: 40px;
    width: 300px;
    height: 300px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.outer-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 10px solid #007bff;
    border-radius: 50%;
    background-color: rgba(0, 123, 255, 0.1);
    top: 0;
    left: 0;
    transition: width 0.3s, height 0.3s;
}

.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 10px solid #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
