
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#loader {
    margin-top: 20px;
    text-align: left;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
    animation: flash 1s infinite ease-in-out alternate;
}

@keyframes flash {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

#introduction {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Create two columns */
    gap: 20px; /* Space between the boxes */
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

.intro-box {
    background-color: #f4f7f6; /* Light background for the boxes */
    border: 1px solid #d3d3d3; /* Light grey border */
    border-radius: 12px; /* Rounded corners */
    padding: 15px;
    margin-bottom: 20px; /* Space below each box */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    transition: all 0.3s ease-in-out;
}

    .intro-box:hover {
        background-color: #e9eff1; /* Slightly darker background on hover */
        transform: translateY(-3px); /* Slight lift effect on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    #introduction {
        grid-template-columns: 1fr; /* Stack boxes in one column on small screens */
    }
}

footer.footer {
    border-top: 3px solid #d3d3d3; /* Top border for distinction */
    text-align: center; /* Center the text horizontally */
    background-color: #f4f7f6; /* Light background for the footer */
    padding: 10px 0; /* Padding above and below the text */
    margin-top: 50px; /* Space between the content and footer */
    clear: both; /* This will ensure the footer clears previous floats */
}

.footer .container {
    display: flex; /* Use flexbox to center contents */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Take the full height of the footer */
}

.web3-section h2 {
    color: #fff;
    font-weight: bold;
}

.web3-box {
    background-color: #121212; /* Dark theme for web3 look */
    border: 1px solid #333; /* Slight border for depth */
    border-radius: 0.5rem;
}

    .web3-box ol {
        counter-reset: web3-counter;
    }

    .web3-box li {
        counter-increment: web3-counter;
        position: relative;
    }

        .web3-box li::before {
            content: counter(web3-counter);
            position: absolute;
            left: -1.5em; /* Adjust based on actual padding/spacing */
            top: 0;
            background-color: #4a00e0; /* A vibrant color typical of web3 designs */
            color: #fff;
            border-radius: 50%;
            width: 1.2em;
            height: 1.2em;
            text-align: center;
            line-height: 1.2em;
            font-size: 0.75em;
        }

    .web3-box p {
        color: #bbb; /* Lighter text for readability */
    }

/* Responsive tweaks might be necessary depending on the content */
@media (max-width: 768px) {
    .web3-box {
        padding: 1rem;
    }
}
#dropZone {
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}
#pasteArea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}
.footer div {
    flex: 1;
}

.dermatologydecoder-row-flex {
    display: flex;
}

.dermatologydecoder-col-lg-6 {
    display: flex;
    flex: 1; /* Ensures that columns take equal width */
}

.card {
    width: 100%; /* Makes the card expand to fill the column */
}
.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.image-panel {
    display: flex; /* Use flexbox to arrange child elements in a row */
    justify-content: center; /* Center the card containers horizontally */
    gap: 20px; /* Adds space between the card containers */
}


.card img {
    width: 100%; /* Make the image fill the card width */
    height: auto; /* Adjust height automatically */
}

figcaption {
    padding: 10px; /* Adds padding inside the figcaption */
}
