/* Base styles for HTML and Body to enable full height and flex layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    padding-bottom: 60px;
    color: bisque;
}

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer.main-footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    background-color: #ffffff00;
    border-top: 1px solid #dee2e6;
    padding: 1rem 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

main {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.container-fluid {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nav-button-img {
    height: 80px;
    width: auto;
    vertical-align: middle;
    border: none;
    margin: -5px 0;
}

.nav-link:hover .nav-button-img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.my-container {
    background-color: #EED9C4;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.9;
}

.myImage1 {
    float: left;
    height: 35%;
    width: 35%;
    font-family: Veranda;

    margin-right: 30px;
}

.myImage2 {
    float: right;
    height: 35%;
    width: 35%;
    font-family: Veranda;
    margin-left: 40px;
}

.myImage3 {
    position: relative;
    display: inline-block; /* Limits the container to the image size */
    width: 90%; /* Matches the image width */
    max-width: 400px; /* Prevents excessive growth */
    margin: 0 auto; /* Centers the container */
}

.myImage4 {
    position: relative;
    height: auto;
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
}

.myImage5 {
    float: left;
    height: 35%;
    width: 35%;
    position: relative;
    display: inline-block;
    padding-bottom: 2%;
}

.myImage6 {
    float: right;
    height: 85%;
    width: 25%;

}

.parent {
    position: relative;
    top: 0;
    left: 0;
}

.image7 {
    position: relative;
    top: 0;
    left: 0;
    /*border: 1px red solid;*/
}

.image8 {
    position: absolute;
    top: 30px;
    left: 30px;
    /* border: 1px green solid;*/
}

.image-container img {
    width: 90%;
    height: auto;
}

.text-overlay {
    position: absolute; /* Position text relative to its parent .radial-button */
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%) /*rotate(45deg)*/; /* Center the text and then rotate by 45 degrees */
    color: black; /* Choose a color that contrasts well with your button images */
    font-size: 1.9em; /* Adjust font size as needed */
    font-weight: bold;
    text-align: left;
    white-space: nowrap; /* Prevent text from wrapping */
    pointer-events: none; /* Allows mouse clicks to pass through the text to the underlying <a> tag */
    z-index: 20; /* Ensure text is above the image and other elements */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* Add shadow for better readability over busy images */
    transition: transform 0.3s ease; /* Smooth transition for hover effects if any */
}

.text-overlay1 {
    position: absolute;
    top: 50%;
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the text precisely */
    color: black;
    font-size: clamp(1.2em, 3vw, 1.9em); /* Responsive font size between 1.2em and 1.9em */
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
    pointer-events: none;
    z-index: 20;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

p {
    color: black;
    font-size: 20px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5)

}

a {
    color: black;
}

div {
    width: 100%;
    /* border: 1px solid blue;*/
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.justify {
    text-align: justify;
}

.parent {
    display: flex;
    justify-content: center;
    border: 2px;
}

.child {
    border: 2px;
}

.baseVerticalIndent {
    margin-bottom: 5%;
}

@media (max-width: 992px) {
    .myImage3 {
        width: 80%; /* Increase relative size on smaller screens */
        max-width: 400px;
    }

    .text-overlay1 {
        font-size: clamp(2.0em, 2.5vw, 2.5em); /* Smaller font on mobile */
    }
}

@media (max-width: 768px) {
    .myImage3 {
        width: 80%; /* Increase relative size on smaller screens */
        max-width: 300px;
    }

    .text-overlay1 {
        font-size: clamp(1.8em, 2.5vw, 1.5em); /* Smaller font on mobile */
    }
}

@media (max-width: 480px) {
    .myImage3 {
        width: 80%; /* Larger relative size on very small screens */
        max-width: 250px;
    }

    .text-overlay1 {
        font-size: clamp(1.4em, 2.5vw, 1.5em); /* Even smaller font */
    }
}





