/* stimart_style.css */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fff; /* Set the background color of the main page */
}

h2 {
    color:rgb(0, 145, 145);
}

header {
    background-color: rgb(0, 145, 145);
    color: #fff;
    text-align: center;
    padding: 1em;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 10px;
    background-color: rgb(255, 192, 0);
}

#logo {
    width: 250px; /* Adjust the size as needed */
}

.menu-icon {
    cursor: pointer;
    display: block;
}

.menu-icon img {
    width: 25px;
    height: 25px;
}

.menu-x-icon {
    cursor: pointer;
    display: block;
}

.menu-x-icon img {
    width: 25px;
    height: 25px;
}

.menu-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 2;
    flex-direction: column; /* Set the direction to column */
}

.menu-header {
    background-color: rgb(0, 145, 145);
    color: #fff;
    text-align: center;
    padding: 1em;
    position: relative;
    height: 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 10px;
    background-color: rgb(255, 192, 0);
}

.menu-pane {
    display: flex;
    flex-direction: column; /* Set the direction to column */
    overflow-y: auto;
    background-color: #44546a;
    margin: 100px 25px;
}

.menu {
    list-style: none;
    padding: 0px;
    margin: 0px;
    text-align: center;
}

.menu li {
    margin: 1em 0;
    float: left;
    text-align: center;
}

.menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    display: block;
    text-align: center;
    padding: 16px;
}

.menu li a:hover {
    text-decoration: underline;
    background-color: #111111;
}

section {
    padding: 1.2em 2em;
}

#home p {
    text-align: justify;
}


#contact{
    padding: 5em 2em;
}

#slider {
    max-width: 60%;
    margin: 0 auto;
    padding: 1.2em 0;
    overflow: hidden;
}

#slider img {
    width: 100%;
    height: auto;
    display: none;
}

footer {
    background-color: rgb(0, 145, 145);
    color: #fff;
    text-align: center;
    padding: 1em;
    position: fixed;
    width: 100%;
    bottom: 0;
    overflow: hidden; /* Ensure the pseudo-element doesn't overflow */
}

footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 20px; /* Adjust the height as needed */
    background: linear-gradient(to right, #dddddd, #e6e6e6, #e6e6e6, #dddddd); /* Grayscale double-sided gradient */
    z-index: -1;
}

a {
    color: rgb(0, 145, 145);
    text-decoration: none;
}

a:hover {
    color: #333;
}

/* Media query for responsive design */
@media only screen and (max-width: 768px) {
    .menu {
        flex-direction: row; /* Display menu items horizontally on small screens */
    }

    .menu-container {
        top: 60px;
    }
    
    .menu-pane {
        width: 100%;
    }
}
