
p {
    font-family: 'Montserrat Bold', sans-serif;
}

a {font-family: 'Montserrat Bold', sans-serif;}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

h1 {
    font-family: 'Montserrat Bold', sans-serif;
}

h2 {
    font-family: 'Montserrat Bold', sans-serif;
    color: saddlebrown;
}

h3 {
    font-family: 'Montserrat Bold', sans-serif;
    color: saddlebrown;
}

/* For Internet Explorer and Edge */
.no-scrollbar {
    -ms-overflow-style: none;

    /* For Firefox */
    scrollbar-width: none;
}

body {
    margin: 0;
    height: 100vh;
    overflow: auto;
}

/* Master flex container */
.container {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Narrow left panel */
.sidebar-left {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to right, #f3e9d5, #ffffff);
    flex-shrink: 0;
}

/* Central scrolling content */
.main-content {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    background-color: #ffffff;
    margin-right: 7px;
    margin-left: 7px;
}

/* Narrow right panel */
.sidebar-right {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to left, #f3e9d5, #ffffff);
    flex-shrink: 0;
    overflow-y: auto; /* Allows independent scrolling if needed */
}

@media screen and (min-width: 700px){
    .sidebar-left {
        width: 10%;
    }
    .sidebar-right {
        width: 10%;
    }
}

@media screen and (min-width: 1000px){
    .sidebar-left {
        width: 15%;
    }
    .sidebar-right {
        width: 15%;
    }
}

@media screen and (min-width: 1300px){
    .sidebar-left {
        width: 20%;
    }
    .sidebar-right {
        width: 20%;
    }
}

@media screen and (min-width: 2000px){
    .sidebar-left {
        width: 25%;
    }
    .sidebar-right {
        width: 25%;
    }
}

.houselogo {
    float: left;
    width: 150px;
    height: auto;
    padding-bottom: 15px;
}

.headerfont {
    font-family: 'Montserrat Bold', sans-serif;
    text-align: center;
}

.header {
    display: flex;
    justify-content: space-evenly;
    background-color: #f3e9d5;
    border-radius: 8px;
    border: 2px solid #c6a080;
}

.header a {
    font-family: 'Montserrat Bold', sans-serif;
    text-decoration: none;
    font-size: 14px;
    padding: 7px 4px;
    color: saddlebrown;
}

@media screen and (min-width: 650px) {
    .header a {font-size: 16px;}
}

@media screen and (min-width: 1000px) {
    .header a {font-size: 18px;}
}

.header2 {
    display: flex;
    justify-content: space-evenly;
    background-color: white;
    border: none;
}

.header2 a {
    font-family: 'Montserrat Bold', sans-serif;
    text-decoration: none;
    font-size: 12px;
    padding: 0;
    color: saddlebrown;
}

@media screen and (min-width: 650px) {
    .header2 a {font-size: 14px;}
}

@media screen and (min-width: 1000px) {
    .header2 a {font-size: 16px;}
}

.background-section {
    /* Set the background image */
    background-image: url('../graphics/carols-senior-care-milam-county-tx.png');

    /* Make the image cover the entire area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Give the section a height so the image is visible */
    min-height: 400px;

    /* Use flexbox to center the text perfectly */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Optional: Add a dark overlay so white text is easier to read */
    background-blend-mode: overlay;

    /* Text styling */
    color: white;
    text-align: center;
}

.navbar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    overflow: auto;
}

.navbar button {
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-size: 16px;
    color: saddlebrown;
    background-color: white;
    border-radius: 8px;
    border: 2px solid #af7a53;
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
}

.navbar button:hover {
    background-color: #af7a53;
    color: white;
}

.estimate {
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 16px;
    color: saddlebrown;
    background-color: white;
    border-radius: 8px;
    border: 2px solid #af7a53;
    padding: 5px;
    text-decoration: none;
}

.estimate:hover {
    background-color: #af7a53;
    color: white;
    cursor: pointer;
}

.arrow {
    width: 4%;
    height: auto;
    margin-top: 42%;
    padding: 5px;
}

@media screen and (min-width: 600px) {
    .arrow {
        margin-top: 27%;
    }
}

@media screen and (min-width: 900px) {
    .arrow {
        margin-top: 20%;
    }
}

@media screen and (min-width: 1200px) {
    .arrow {margin-top: 14%; width: 3%;}
}

@media screen and (min-width: 1500px) {
    .arrow {margin-top: 10%; width: 2%;}
}

@media screen and (min-width: 1900px) {
    .arrow {margin-top: 7%;}
}

.arrow:hover {background-color: lightblue;}

.image {width: 85%}

@media screen and (min-width: 600px) {
    .image {width: 60%}
}

@media screen and (min-width: 900px) {
    .image {width: 40%}
}

@media screen and (min-width: 1200px) {
    .image {width: 30%}
}

@media screen and (min-width: 1500px) {
    .image {width: 20%}
}

@media screen and (min-width: 1900px) {
    .image {width: 15%}
}
