
/* Container */
.dnscontainer {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   
    h1 {text-align: center;
    
}
    p {
  text-align: center;
}




/* Form */
form#dns-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form#dns-form label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

form#dns-form input[type="text"],
form#dns-form select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

form#dns-form input[type="text"]:focus,
form#dns-form select:focus {
    border-color: #2193b0;
    box-shadow: 0 0 5px rgba(33, 147, 176, 0.4);
}

/* Submit Button */
form#dns-form button[type="submit"] {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form#dns-form button[type="submit"]:hover {
    background: #0056B3;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Results Section */
#result {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none; /* Hidden by default */
}

#result p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-text h1 {
        font-size: 2rem;
    }

    form#dns-form input[type="text"],
    form#dns-form select,
    form#dns-form button[type="submit"] {
        width: 100%;
    }
}

