@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@100;200;300;400;500;600;700;800;900&display=swap');       
/* General Body Style */
body {
    font-family: 'Source Sans Pro', sans-serif;
}

/* Header and Footer Styles */
header {
    background-color: #ffffff;
    border-bottom: 2px solid #f1f1f1;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
a.brand-logo img {
    width: 250px;
}

footer {
    background-color: #ffffff;
    border-top: 2px solid #f1f1f1;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background-color: #f8f9fa;
    padding: 2rem 0 !important;
}

/* Bigger Buttons */
button.btn-lg {
    padding: 10px 24px;
    font-size: 1.2rem;
}


/* Mobile Menu Styles */
#mobileMenu {
    display: none; /* Hidden by default */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    width: 100%; /* Full width on mobile */
    padding: 1rem;
}

#mobileMenu.show {
    display: block !important;
    z-index: 99;
    position: fixed;
    top: 78px;
}

#navbarBurger {
    border: none; /* Remove default border */
    background: none; /* Transparent background */
}

section#checker {
    padding-top: 20px !important;
}

#editor-box {
    margin-bottom: 25px;
}

a#shareLink .fas {
    margin-right: 10px !important;
}
div#toastMessage {
    top: 70px !important;
}
#navbarBurger:hover {
    color: #000;
}
section#hero-section h1 {
    color: #000;
    font-weight: 400;
}

section#hero-section p {font-weight: 400;color: #9c9c9c;}

ul.nav .nav-link:hover,.social-icons a:hover {
    color: blue !important;
}

section#faq h5 {
    font-weight: 600;
}
section h2 {
    font-weight: 600;
}
section#about p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide desktop menu items on mobile */
    }

    #mobileMenu {
        display: block; /* Display mobile menu on small screens */
    }

    #mobileMenu .nav{
        display: block; /* Display mobile menu on small screens */
    }
}
/* Toast Notification */
.toast {
    width: 250px;
    opacity: 0.9;
    border-radius: 8px;
}

/* CodeMirror Styling */
.CodeMirror {
    height: 350px; /* Fixed height for the editor */
    min-height: 350px; /* Ensure minimum height is also set */
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #ffffff; /* White background */
    font-size: 14px; /* Smaller font size */
    line-height: 1.5; /* Better line spacing */
}

.CodeMirror-wrapper {
    height: 100%; /* Ensure wrapper takes full height */
}

/* Error Snippet */
pre {
    background-color: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    color: #721c24;
    white-space: pre-wrap; /* Ensure text wraps correctly */
}

/* Footer Social Icons */
footer .social-icons a {
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #007bff;
}

/* Tooltip Styles */
[data-bs-toggle="tooltip"] {
    cursor: pointer;
}

/* Add this CSS to style CodeMirror */
.CodeMirror {
    border-radius: 4px; /* Rounded corners */
}

/* Style for error highlighting in CodeMirror */
.CodeMirror .error-line {
    background-color: #fdd; /* Light red background for errors */
    border-left: 4px solid #d00; /* Red border to the left of the error line */
}

/* Error highlighting */
.error-line {
    background-color: #ffe6e6 !important; /* Light red for errors */
}

/* Error details */
.error-details {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
}

.highlight {
    font-weight: bold;
    color: #721c24;
    display: inline-block;
    width: 1em;
}

/* General button styles */
.btn-custom {
    background-color: #007bff; /* Blue background */
    color: #fff; /* White text */
    border: 1px solid transparent; /* Remove default border */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 20px; /* Padding for better button size */
    font-size: 14px; /* Adjust font size */
    text-align: center; /* Center text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transitions */
}

.btn-custom:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #004085; /* Darker border on hover */
}

/* Specific button sizes if needed */
.btn-lg-custom {
    padding: 12px 24px; /* Larger padding */
    font-size: 16px; /* Larger font size */
}

.btn-sm-custom {
    padding: 8px 16px; /* Smaller padding */
    font-size: 12px; /* Smaller font size */
}

/* Style for copy and download buttons */
#copyYaml, #downloadYaml {
    margin: 5px; /* Margin around buttons */
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .btn-custom {
        width: 100%; /* Full width on smaller screens */
        padding: 12px; /* Increase padding */
        font-size: 16px; /* Larger font size for readability */
    }
}
