body {
    font-family: sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    font-size: 16px;

   
}

.container {
    max-width: 1880px;
    min-width: 370px;
    width: 100%;
    display: grid;
    grid-template-columns: 150px 1fr 150px; 
}

@media (max-width: 1100px) {
    .container {
        grid-template-columns: 40px 1fr 40px;
    }
}
@media (max-width: 500px) {
    .container {
        grid-template-columns: 2px 1fr 2px;
    }
}

.content {
    grid-column: 2; 
    padding: 0;
    font-family:'Times New Roman', Times, serif;
    padding-bottom: 24px;
}

.menu {
    display: flex; /* Use flexbox for horizontal layout */
    align-items: center; /* Vertically center logo and menu */
    background-color: #707078;
    height: 100px;
    font-family:Arial, Helvetica, sans-serif;
}
@media (max-width: 500px) {
    .menu {
        height: 60px;
    }
}

.logo-container {
    margin-right: 20px; /* Add spacing between logo and menu */
}
@media (max-width: 500px) {
    .logo-container {
        margin-right: 6px; /* Add spacing between logo and menu */
    }
}

.logo-container img {
    width: 250px;

}
@media (max-width: 500px) {
    .logo-container img {
        width: 120px;
    }
}

.hero-title {
    text-align: center;
    background-color: #e0e0e0;

}

.description {
    background-color: #e0e0e0;
    display: grid;
    grid-template-rows: auto 1fr auto; 
}

#top-section {
    grid-row: 1/2;
    height: auto;
}

#middle-section {
    grid-row: 2/3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    line-height: 1.6em;
    font-size: 1.2em;
    text-align: center;
}
@media (max-width: 500px) { 
    #middle-section {
        font-size: 1.1em;
    }
}
h2 {
    text-align: center;
    font-size: 1.8em
}
@media (max-width: 500px) { 
    h2 {
        font-size: 1.4em;
    }
}
.article-half {
    width: 44%;
    min-width: 360px;
    height: auto;
    padding: 0 10px;

}


#bottom-section {
    grid-row: 3/4;
}

.products {
    background-color: #e0e0e0;
    font-size: 1.2em;

}

h1 {
    text-align: center;
    font-size: 2.6em;
    margin: 18px 0 14px;
}
@media (max-width: 500px) { 
    h1 {
        font-size: 2.2em;
        margin: 8px 0 6px;
    }
}

hr {
    width: 160px;
    text-align: center;
}

.main-description {
    text-align: center;
    font-size: 1.5em;
    font-family:'Times New Roman', Times, serif;
    line-height: 2rem;
    padding: 0 80px;
    margin: 16px;
}
@media (max-width: 500px) {
    .main-description {
        font-size: 1.2em;
        padding: 0 8px;
    }
}

h3.desc-header {
    font-size: 1.2em;

}

.contacts {
    background-color: #606060;
    font-size: 1.25em;
    color: #f0f0f0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.horizontal-menu {
    list-style: none; 
    display: flex; 
    justify-content: center; 
    margin: 0; 
    padding: 0; 
}

.horizontal-menu li {
    margin: 0 12px; /* Adjust spacing between items */
    padding: 6px 2px;
}

@media (max-width: 1100px) {
    .horizontal-menu li {
        margin: 0 6px; /* Adjust spacing between items */
    }
} 
@media (max-width: 500px) {
    .horizontal-menu li {
        margin: 0 2px; /* Adjust spacing between items */
    }
}

a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    color: #f0f0f0;
    font-weight: 400;
    font-size: 16px;
}
a:hover {
    text-decoration-thickness: 4px;
}
@media (max-width: 500px) {
    a {
        font-size: 14px;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
    }
    a:hover, a:active {
        text-decoration-thickness: 3px;
    }
}

.gallery-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.item {
    width: 240px;
    height: 160px;
}


.gallery-item {
    width: 230px;
    align-self: center;
    justify-self: center;
}

.info {
    position:relative;
    top:-151px;
    left:0;
    z-index: 100;
    width: 230px;
    height: 139px;
    background-color: #606060;
    opacity: 0;
}

.info:hover, .info:active {
    opacity: 0.72;
}

h3.item-header {
    z-index: 100;
    padding: 2px;
    margin: 8px;
    color: white;
    background-color: #902020;
    width: 180px;
    font-size: 0.95em;
}

.flower-data{
    color: white;
    font-size: 0.85em;
    line-height: 1em;
    margin: 8px;
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 500px) {

    .item {
        width: 180px;
        height: 120px;
    }
    
    .info {
        top: -120px;
        width: 178px;
        height: 108px;
    }

    .flower-data {
        font-size: 0.75em;
        margin: 6px;
    }
    
    .gallery-item {
        width: 176px;
        align-self: center;
        justify-self: center;
    }

    h3.item-header {
        font-size: 0.8em;
        width: 160px;
    }
}

.services {
    background-color: #f0f0f0;
}

.serv-container {
    display: flex;
    flex-wrap: wrap;
    width:90%;
    margin-left:5%;
}

.img-container {
    flex-basis: 140px;
    padding: 10px;
    margin: auto;
    text-align: center;
}

.srv-image {
    width: 80px;
    height: auto;
}
.text-container {
    flex-basis: 300px;
    flex-grow: 2;
    font-size: 1.2em;
    padding: 8px 32px 8px 8px;
}

.desc-paragraph {
    margin: 8px 0 24px;
    line-height: 1.6em;
}

h2.desc-header {
    font-size: 1.5em;
    margin: 0;
    text-align: left;

}

@media (max-width: 500px) { 
    h2.desc-header {
        font-size: 1.3em;
    }
    .text-container {
        font-size: 1.1em;
    }

}

table.contact {
    margin: auto;
}

tr {
    height: 48px;
}

.contact-mail {
    font-size: 1em;
    text-decoration-thickness: 1px;
}

.contact-label {
    font-weight: 600;
    margin: 0;
}

.contact-text{
    margin: 8px 0 0 12px;
    text-decoration-thickness: 1px;
    font-size: 1.0em;
}
.contact-img {
    margin-top: 0;
}

.col1 {
    align-content: center;
    padding: 20px;
    max-width: 320px;
}

.col2 {
    flex-basis: 800px;
}

@media (max-width: 500px) {
    .col2 {
        flex-basis: 300px;
    }
    
}

@media (max-width: 1100px) {
    .col2 {
        flex-basis: 500px;
    }
}

h2.subtitle {
    font-size: 32px;
}