* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 62.5%;
}

.nav-bar {
    padding-top: 1rem;
}

.main-container {
    background-color: #a7eefc47;
}


.horizontal-row {
    border: none;
    height: 4px;
    background: linear-gradient(to right, orange, white, green);
    width: 80%;
    margin: 2rem auto;
    border-radius: 5px;
}
.company-name {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-name h1 {
    text-transform: uppercase;
    font-size: clamp(1rem, 3vw + 0.5rem, 4rem);
    white-space: nowrap;
    background: linear-gradient(to bottom, orange, white, green);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}

.company-name h2 {
    font-size: clamp(1rem, 2vw + 0.75rem, 3rem);
    white-space: nowrap;
    padding-top: 1rem;
}

.company-name h3 {
    font-size: clamp(0.9rem, 1vw + 0.75rem, 2rem);
    white-space: nowrap;
}

.company-details-text {
    margin-top: 2rem;
    padding: 1rem;

}

.company-details-text p {
    font-size: clamp(0.9rem, 1vw + 1rem, 2rem);
}

/* @media(max-width: 700px) {
    .company-name h1 {
    font-size: 1.5rem;
} 
}

@media(min-width: 400px) and (max-width: 700px) {
    .company-name h1 {
    font-size: 2rem;
    }
} */

/* @media (400px <= width <= 700px) {

} */

.container {
    /* background-color: #a7eefc47; */
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-rows: 1; */
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow-x: hidden;
    color: #000;
}

.header {
    margin-top: 1rem;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.header-text {
    
    text-align: center;
    background: rgb(255, 255, 255);
    padding: 1rem;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 1rem;


}

.grid-container-items {
    display: grid;
    grid-template-columns: 3fr 7fr;
    align-items: stretch;
    gap: 1rem;
    padding: 0 1rem;
    /* border: 2px solid red; */

    
}

.grid-container-items__text {
    font-size: 1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}



.grid-container-items:nth-child(even) {
    grid-template-columns: 7fr 3fr;
}

.grid-container-items:nth-child(even) .image-content {
    order:2; /*Move to the right*/
}

.grid-container-items:nth-child(even) .grid-container-items__text {
    order: 1; /*Move to the left*/
}

.grid-container-items:nth-child(odd) {
    grid-template-columns: 3fr 7fr;
}

.grid-container-items:nth-child(odd) .image-content {
    order:1; /*Move to the right*/
}

.grid-container-items:nth-child(odd) .grid-container-items__text {
    order: 2; /*Move to the left*/
}



.image-content {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-top-right-radius: 20%;
    border-bottom-left-radius: 20%;
    border: 2px solid black;
    /* border: 5px solid; */
    /* border-image: linear-gradient(to bottom, orange, white, green) 1; */
}

.company-details {
    margin-top: 1rem;
}
.address-details {
    display: flex;
    gap: 1rem;
    font-size: clamp(0.9rem, 1vw + 0.5rem, 2rem);
    align-items: center;
    justify-content: center;
}

.address-details i {
    color: green;
}


