body {
    font-family: "Chivo", sans-serif;
    background-image: url('drugs.gif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
}

header {
    position: sticky; 
    top: 0; 
    background-color: #068d57; 
    z-index: 1000; 
    padding: 10px 0;
}

.header-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
}

.header-container h1 {
    font-family: "Chivo", sans-serif;
}

.logo {
    display: flex; 
    align-items: center; 
}

.logo img {
    max-height: 50px; 
    margin-right: 10px; 
}

.logo h1 {
    margin: 0;
    color: white; 
}

.nav-links {
    display: flex; 
    align-items: center;
}

.nav-links a {
    margin-left: 20px; 
    transition: transform 0.3s ease; 
    text-decoration: none;
}

.nav-links a:hover {
    transform: scale(1.1); 
}

.nav-icon {
    max-height: 30px; 
    width: auto; 
    vertical-align: middle; 
    transition: opacity 0.3s ease; 
}

.nav-links a:hover .nav-icon {
    opacity: 0.8;
}

h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #068d57;
}

h4 {
    text-align: justify;
    margin-bottom: 10px;
    color: #068d57;
}

p {
    margin: 10px 0;
}

.calculator-container {
    max-width: 610px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.table-container {
    max-width: 600px;
    margin: 20px auto;
    overflow-x: auto;
    background: rgba(6, 141, 87, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(6, 141, 87, 0.3);
    backdrop-filter: blur(8px);
}

.table-container table {
    width: 100%; 
    border-collapse: separate;
}

.table-container th,
.table-container td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(6, 141, 87, 0.3);
    color: #000000; 
}

.table-container th {
    background-color: #068d5761;
    color: white;
    font-weight: bold;
}

.table-container tr:nth-child(even) {
    background-color: rgba(6, 141, 87, 0.1);
}

.table-container tr:hover {
    background-color: rgba(6, 141, 87, 0.2);
}



.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; 
}

.input-group label {
    flex: 1;
    margin-right: 10px;
}

.input-group input,
.input-group select {
    flex: 2;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.result {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
    background-color: #fff3cd33;
    border-radius: 10px;
    border: 1px solid #fff3cd4d;
    backdrop-filter: blur(5px);
}

.result p {
    margin: 0;
    color: #068d57;
}

.important-message {
    color: #000000; 
    font-size: 1em;
    align-items: center;
}

.equations {
    color: #ffffff;
    margin-top: 20px;
    padding: 15px;
    background-color: #068d57;
    border-radius: 5px;
    border: 1px solid #068d57;
}

footer {
    position: static; 
    background-color: #068d57;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer .social-icons {
    margin: 10px 0;
}

footer .social-icons img {
    width: 30px;
    margin: 0 10px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }

    .input-group label {
        margin-bottom: 5px;
    }

    .input-group input,
    .input-group select {
        flex: unset;
        width: 100%;
    }
}
