
*,
*:before,
*:after {
    box-sizing: border-box;
}

.aos-all {
    width: 1000px;
    max-width: 98%;
    margin: 10vh auto 0 auto;
}

.aos-item {
    display: inline-block;
    float: left;
    width: 33.3333%;
    height: 300px;
    padding: 20px;
}

.aos-item__inner {
    position: relative;
    width: 100%;
    height: 100%;
    float: left;
    background: #1da4e2;
    line-height: 260px;
    text-align: center;
    color: #fff;
}

@media screen and (max-width: 800px) {
    .aos-item {
        width: 50%;
    }
}

/* Container holding the image and the text */
.ti-container {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.txt-bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.txt-top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.txt-top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.txt-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.txt-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 50px;
    background-color: #ffffff;
    border: 1px solid black;
    opacity: 0.6;
}

.page-image {
    max-width: 1000px;
    max-height: 500px;
}

@media screen and (max-width: 1366px) {
    .page-image {
        max-width: 800px;
        max-height: 650px;
    }
}

@media screen and (max-width: 811px) {
    .page-image {
        /*display: none;
        visiblity: hidden;*/
        max-width: 600px;
        max-height: 400px;
    }
}

@media screen and (max-width: 430px) {
    .page-image {
        display: none;
        visiblity: hidden;
        max-width: 350px;
        max-height: 150px;
    }
}

.page-image-div {
    position: absolute;
    bottom: 0;
    width: 100%;
    place-items: center;
}

@media screen and (max-width: 810px) {
    .page-image-div {
        width: 100%;
        /*max-height: 900px;*/
        position: absolute;
        bottom: 0px;
    }
}

@media screen and (max-width: 430px) {
    .page-image-div {
        width: 100%;
        /*max-height: 100%;*/
        position: absolute;
        bottom: 0px;
    }
}

.page-animated-row {
    margin: 0px;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    position: relative;
}

@media screen and (max-width: 811px) {
    .page-animated-row {
        margin: 0px;
        width: 100%;
        min-height: 300px;
        text-align: center;
        position: relative;
        /*place-items: center;*/
    }
}

@media screen and (max-width: 430px) {
    .page-animated-row {
        margin: 0px;
        width: 100%;
        min-height: 300px;
        text-align: center;
        position: relative;
        place-items: center;
    }
}
