body, html {
    height: 100%;
    margin: 0;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    line-height: 1.8em;
    color: #666;
}

.images1, .images2, .images3, .images4, .images5{
    position: relative;
    opacity: 0.70;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* fixed = parralax, scroll = normal */
    background-attachment: fixed;
}

.images1 {
    background-image: url('../img/image1.jpg');
    min-height: 100%;
}

.images2 {
    background-image: url('../img/image2.jpeg');
    min-height: 400px;
}

.images3 {
    background-image: url('../img/image3.jpg');
    min-height: 400px;
}

.images4 {
    background-image: url('../img/image4.jpeg');
    min-height: 400px;
}

.images5 {
    background-image: url('../img/image5.jpg');
    min-height: 400px;
}





.section{
    text-align: center;
    padding: 50px 80px;
}

.section-light{
    background-color: #f4f4f4;
    color: #666;
}

.section-dark{
    background-color: #282e34;
    color: #ddd;
}

.allText {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 27px;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.allText .border{
    background-color: rgb(72, 123, 219);
    color: #fff;
    padding: 20px;
}

.allText .border.trans{

    background-color: rgb(72, 123, 219);
    
}

.buttons{
    text-decoration: none;
    background-color: rgb(72, 123, 219);
    color : #fff;
    text-align : center;
    padding: 5px;
    font-size: 27px;
    letter-spacing: 8px;
    display: inline-block;
    border-radius: 12px;
    text-transform: uppercase;
}

.a:hover {
    background-color: lightblue;
}

.myTextSlide1, 
.myTextSlide2, 
.myTextSlide3,
.myTextSlide4 {
	position: relative;
    display: block;
    text-align: center;
	top: 2em;
  
  width: 60%;
  
  font-size: 2em;

	animation-duration: 15s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}


.myTextSlide1{
	animation-name: anim-1;
}

.myTextSlide2{
	animation-name: anim-2;
}

.myTextSlide3{
	animation-name: anim-3;
}

.myTextSlide4{
	animation-name: anim-4;
}

@keyframes anim-1 {
	0%, 8.3% { left: -100%; opacity: 0; }
    8.3%,25% { left: 25%; opacity: 1; }
    33.33%, 100% { left: 110%; opacity: 0; }
}

@keyframes anim-2 {
	0%, 33.33% {left: -100%; opacity: 0; }
  41.63%, 58.29% { left: 25%; opacity: 1; }
  66.66%, 100% { left: 110%; opacity: 0; }
}

@keyframes anim-3 {
	0%, 66.66% { left: -100%; opacity: 0; }
  74.96%, 91.62% { left: 25%; opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@keyframes anim-4 {
	0%, 66.66% { left: -100%; opacity: 0; }
  74.96%, 91.62% { left: 25%; opacity: 1; }
  100% { left: 110%; opacity: 0; }
}





@media(max-width:800px){

    .images1, .images2, .images3, .images4, .images5 {
        background-attachment: scroll;
    }

    .border {
        line-height: 3;
    }

    .allText, .buttons {
        font-size: 20px;
        letter-spacing: 6px;
        text-align: center;
    }
}

