/* Main Container */
#fog-calculator-container {
    background: linear-gradient(135deg, #3a7bd5, #00d2ff);
    border-radius: 10px;
    padding: 25px;
    max-width: 700px;
    margin: 50px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-family: 'Arial', sans-serif;
}

/* Title */
#fog-calculator-container h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Text Area Styling */
#fog-text {
    width: 100%;
    height: 150px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Text Area Focus */
#fog-text:focus {
    border-color: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

/* Button */
#calculate-fog {
    background-color: #00d2ff;
    color: #fff;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    width: 100%;
}

/* Button Hover and Active State */
#calculate-fog:hover {
    background-color: #0079b0;
    transform: scale(1.05);
}

/* Results Section */
#fog-result {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Result Blocks */
#fog-result div {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect for Result Blocks */
#fog-result div:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Styling for Labels */
#fog-result strong {
    color: #0079b0;
    font-size: 18px;
}

/* Animation for Result Display */
#fog-result {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    #fog-result {
        grid-template-columns: 1fr;
    }
}