




.mySlides {
	position: relative;
	display: none;
	overflow: hidden;
}

.mySlides img {
	width: 100%;
    height: 100vh;
    object-fit: cover;
}

.slide-text {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 5vw;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


.flex {
    display: flex;
}

.flex-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.services {
    max-height: 600px;
    position: relative;
}

.service-text {
    position: relative;
    width: 50%;
}

.service-text .inner-text {
    position: relative;
    width: 80%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.service-text .inner-text h2 {
    color: var(--color-darkred);
    font-size: 2.1rem;
}

.service-text .inner-text h3 {
    font-size: 1.5rem;
}

.service-text .inner-text > * {
    margin-bottom: 20px;
}

.inner-text a {
    font-size: 1.2rem;
    color: var(--color-p);
}

.service-img {
    width: 50%;
}

.service-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Style for the read more link */
.read-more {
    cursor: pointer;
    text-decoration: underline;
    color: black;
}




@media only screen and (max-width: 1200px) {
    .intro  .pictext {
        width: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(255, 255, 255, .8);
    }
}


@media only screen and (max-width: 950px) {
    .intro  .pictext {
        max-width: 85%;
        width: 550px;
    }

    .intro .pictext p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .intro .pictext h2 {
        font-size: 1.5rem;
        line-height: 1.5;
    }

}

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

    .service-img {
        width: 100%;
    }

    .service-img img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .services {
        max-height: 800px;
        position: relative;
    }
    
    .service-text {
        position: relative;
        width: 100%;
        margin: 50px 0;
    }
    
    .service-text .inner-text {
        position: relative;
        width: 80%;
        top: 50%;
        left: 10%;
        transform: translateY(0);
    }
}

