body {
    font-family: montserrat, sans-serif;
    font-size: 20px;
    color: #454545;
    background-color: #fff;
    background-size: cover;
}

.about {
    font-weight: 800;
    text-decoration: solid underline #A1D2CE 2px;
  }

/*Content*/
.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.bodytext {
    width: 50%;
    display: inline-block;
    padding-right: 7%;
}

.bodytext p {
    font-size: 16px;
}

.bodyimage {
    width: 20%;
    margin-top: 5%;
    display: inline-block;
}

.bodyimage img {
    width: 100%;
}

h5 {
    color: teal;
    margin-bottom: 1px;
}


.nomargin p {
    margin-top: 10px;
    font-size: 16px;
}

.nomarginmobile p {
    margin: 2% 5%;
    font-size: 16px;
}

.nomarginmobile {
    display: none;
    text-align: center;
}

/*Tiles*/
.wrap {
    margin: 50px auto 100px auto;
    width: 80%;
    display: flex;
    justify-content: center;
    max-width: 1500px;
}

.tile {
    width: 80%;
    height: 275px;
    margin: 2px;
    background-color: #141414;
    display: inline-block;
    background-size: cover;
    position: relative;
    cursor: default;
    transition: all 0.4s ease-out;
    box-shadow: 0px 30px 50px -12px rgba(0, 0, 0, 0.33);
    overflow: hidden;
    color: white;
    font-family: montserrat, sans-serif;
}

.tile img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.4s ease-out;
}

.tile .text {
    /*   z-index:99; */
    position: absolute;
    padding: 30px;
    height: calc(100% - 80px);
}

.tile h1 {
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 30px;
}

.tile h2 {
    font-weight: 100;
    margin: 20px 0 0 0;
    font-style: italic;
    transform: translateX(200px);
    font-size: 20px;
}

.tile p {
    font-weight: 200;
    margin: 20px 0 0 0;
    line-height: 25px;
    /*   opacity:0; */
    transform: translateX(-200px);
    transition-delay: 0.2s;
    font-size: 15px;
}


@media only screen and (max-width: 700px) {
    .main {
        display: flex;
        flex-direction: column-reverse;
    }

    .bodyimage {
        width: 50%;
    }

    .bodytext {
        width: 75%;
        margin: 5% auto auto auto;
        padding-right: 0%;
        text-align: justify;
        font-size: 14px;
    }

    h5 {
        font-size: 16px;
    }

    .nomargin {
        display: none;
    }

    .nomarginmobile {
        display: block;
    }

    .wrap {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 10%;
        margin-bottom: 25%;
        gap: 2px;
    }

    .tile {
        max-width: 33%;
        height: 200px;
    }

}

/*Tablet*/
@media only screen and (min-width: 700px) and (max-width: 1025px) {
    .main {
        display: flex;
        flex-direction: column-reverse;
    }

    .bodyimage {
        width: 40%;
    }

    .bodytext {
        width: 85%;
        margin: 3% auto auto auto;
        padding-right: 0%;
    }

    .nomargin {
        display: none;
    }

    .nomarginmobile {
        display: block;
    }
    .wrap {
        margin: 50px auto 100px auto;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 2px;
    }
    .tile {
        width: 25%;
        height: 250px;
    }

}

/*Big Screen*/
@media only screen and (min-width: 1600px) {
    .tile {
        width: 15%;
    }

    .bodyimage {
        width: 15%;
        margin-top: 5%;
        display: inline-block;
    }

    .bodytext {
        width: 750px;
    }
    .wrap {
        margin: 50px auto 100px auto;
        width: 75%;
        display: flex;
        justify-content: space-evenly;
        max-width: 1500px;
    }

}

