/* ------------------- */
/* Reset               */
/* ------------------- */
/* https://piccalil.li/blog/a-modern-css-reset/ */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0;
}

/* set up the body */
body {
    line-height: 1.5;
    min-height: 100vh;
}

/* make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
    font: inherit;
}

/* remove animations for people who've turned them off */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

.text-uppercase {
    text-transform: uppercase;
}


body {
    font-style: normal;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: #2d2d2d;
    font-weight: 300;
    margin: 0;
}

a {
    background: transparent;
    color: #aaa;
}

.content-wrapper {
    padding: 41px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #e5e5e5;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0.15em 0.35em 0 rgba(0, 0, 0, 0.133);
}

section {
    margin: auto;
    width: 77%;
    padding: 10px;
}

header {
    background-color: black;
    color: white;
    padding: 5px 10px;
}

nav {
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

nav h1, nav h2 {
    margin: 0;
}

nav h2 {
    font-size: 20px;
    font-weight: 400;
}

nav div.mainTitle {
    color: #ffffff;
    font-size: 30px;
    margin: 0;
    width: 25rem;

    h2 {
        font-size: 16px;
    }
}

ul.topNav {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

h1.mainH1 {
    text-align: center;
}

.sectionContent {
    display: flex;
    margin-top: 40px;
    align-items: center;

}

div.inner-main-title {
    background-image: url("https://ucarecdn.com/977e9b8b-868f-4cdf-a462-c87149160e33/-/preview/1000x655/");
    object-fit: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 400px;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 50px;
    font-size: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

section.devider > span > svg > path {
    fill: rgba(121, 184, 170, 1);
}

div.text {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    font-size: 15.5px;
    font-weight: 400;

    p {
      margin-bottom: 1em;
    }
}

div.text, div.image {
    width: 50%;
}

section h2 {
    text-align: center;
    position: relative;
    font-weight: 400;
    font-size: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 3px;
    background: #000;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: auto;
}

div.image {

    display: flex;
    justify-content: flex-end;

    img {
        aspect-ratio: auto 512 / 512;
        max-width: 100%;
        height: auto;
    }
}

footer {
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    font-size: 16px;
    font-weight: bolder;
    text-align: center;
    background-color: #2d2d2d;
}

@media (max-width: 1080px) {
    .sectionContent {
        align-items: flex-start !important;
    }
}

@media (max-width: 770px) {
    .sectionContent {
        flex-direction: column;
        align-items: center !important;
    }

    div.text, div.image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    div.image {
        text-align: center;

        img {
            aspect-ratio: auto 512 / 512;
            max-width: 100%;
            height: auto;
        }
    }

    section {
        width: 95%;
    }
}