/*************************/
/* GENERAL */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

/*************************/
/* BOX */

main {
    padding-top: 30px;
    width: 90%;
    margin: auto;
    overflow: hidden;
    flex-grow: 1;
}

.highlightBox {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 3px solid #e8491d;
    box-sizing: border-box;
}

/*************************/
/* CONTENT */

main p {
    font-size: 1em;
    margin: 1em 0;
    color: #444;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    color: #e8491d;
    margin: 0.5em 0;
    font-weight: bold;
}

main h1 {
    font-size: 2.5em;
}

main h2 {
    font-size: 2em;
}

main h3 {
    font-size: 1.75em;
}

main h4 {
    font-size: 1.5em;
}

main h5 {
    font-size: 1.25em;
}

main h6 {
    font-size: 1em;
}

/*************************/
/* BOX */

.highlight-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.highlight-text {
    flex: 1 1 70%;
    min-width: 250px;
    padding-right: 20px;
    box-sizing: border-box;
}

.highlight-image-container {
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.highlight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 800px) {
    .highlight-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .highlight-text {
        flex: 1 1 100%;
        padding-right: 0;
    }

    .highlight-image-container {
        flex: 1 1 100%;
        height: auto;
        margin-top: 15px;
    }

    .highlight-image {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 801px) {
  .measurement-section .highlight-image-container {
    flex: 1 1 40%;
    height: auto;
    overflow: visible;
  }
  .measurement-section .highlight-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}