/* styles.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /*font-family: 'Merriweather', serif;*/
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #2c5f2d;
    color: white;
}

header h1 {
    font-size: 2em;
    margin-bottom: 5px;
}

header p {
    font-size: 1.2em;
}

main {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
}

strong {
    font-weight: bold;
    color: #000; /* výrazná barva pro důraz */
}

h2 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

/* Flex container for hours and contact */
#info-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

#contact-hours, #contact-info {
    padding: 15px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    border-radius: 8px;
    flex: 1 1 100%; /* Default to full width on smaller screens */
}

#contact-hours {
    flex: 1 1 55%; /* 60% width on larger screens */
}

#contact-info {
    flex: 1 1 40%; /* 35% width on larger screens */
}

#contact-hours table {
    width: 100%;
    border-collapse: collapse;
}

#contact-hours table td {
    padding: 8px 10px;
}

#contact-hours p {
    margin-top: 10px;
    font-style: italic;
}

#contact-info a {
    color: #2c5f2d;
    text-decoration: none;
}

#contact-info a:hover {
    text-decoration: underline;
}

#about-doctors {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #2c5f2d;
    color: white;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #info-section {
        flex-direction: column;
    }

    #contact-hours, #contact-info {
        flex: 1 1 100%;
    }
}
