﻿@media only screen and (max-width: 600px) {
    #info-header {
        font-size: 40px;
    }

    #companyheader {
        font-size: 45px;
    }

    #secondcontent {
        padding: 10px;
    }

    #divsecondcontent {
        margin: 0px;
    }

    #imgdiv {
        padding: 0px;
    }

    #divcontainer {
        justify-content: center;
        display: flex;
        padding: 0px;
        padding-right: 10px;
    }

    #company-img-div {
        padding: 0px;
    }

    #companywdiv {
        padding-left: 0px;
    }
}

.footer-info {
    background-image: url('/Assets/Imgs/infobackground.jpg');
    background-repeat: no-repeat;
    background-size: cover
}

.info-header {
    box-sizing: border-box;
    margin: .67em 0;
    line-height: 1.3;
    margin-top: 30px;
    color: #a3a317;
    font-size: 55px;
    font-weight: 900;
    margin-bottom: 30px;
}

.footer-info-header {
    box-sizing: border-box;
    margin: .67em 0;
    line-height: 1.3;
    margin-top: 30px;
    color: #a3a317;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.companyheader {
    box-sizing: border-box;
    margin: .67em 0;
    line-height: 1.3;
    margin-top: 30px;
    color: #021628;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: -6px 8px 16px rgba(0,0,0,.3);
}

.content {
    font-size: 20px;
    line-height: 1.7;
    color: black;
}


.About-row h4 {
    font-weight: bold;
    font-size: 1.8rem;
}

.About-row p.content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-top: 10px;
}

.About-row img {
    width: 100%;
    border-radius: 10px;
}

@media only screen and (max-width: 768px) {
    .About-row {
        text-align: center;
    }

        .About-row img {
            margin-top: 20px;
            max-width: 70%;
        }
}

/* Ensure image container takes full width and height of column */
.image-container {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide overflow to maintain aspect ratio */
}

/* Style for the image to ensure it fills the container correctly */
img {
    width: 100%; /* Fill the width of the container */
    height: auto; /* Maintain aspect ratio */
    max-height: 500px; /* Prevent the image from exceeding the container height */
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
}
