*{
  margin: 0;
  padding: 0;
}

body{
  /* overflow-y: hidden; removed - leonie*/
}

#all_slides{
    position: relative;
    /* height: 100vh; */
    height: 65rem; /* leonie */
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

@media only screen and (max-width: 1120px){
  /* #all_slides{ height: 60rem;} leonie */
}


@media only screen and (max-width: 550px) /* leonie*/
{
  #all_slides{ height: 45rem;} /* leonie */
}

@media only screen and (max-width: 450px) /* leonie*/
{
  #all_slides{ height: 35rem;} /* leonie */
}


.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.active{
    opacity: 1;
    z-index: 2;
}


.controls{
    display: none;
}

.slide{
    font-size: 40px;
    padding: 40px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    background-size: cover;
}

.slide:nth-of-type(1){
  background-image: url('../../../../images/slide_BuildingNamibia.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


.slide:nth-of-type(2){
  background-image: url('../../../../images/slide_ConstructionWindhoek.jpg');
  /*background-image: url('../../../../images/slide_MedicalTraining.jpg'); */
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

.slide:nth-of-type(3){
  background-image: url('../../../../images/slide_BuildingNamibia.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
}

@media only screen and (max-width: 1050px)
{
  .slide:nth-of-type(1){
    background-image: url('../../../../images/slide_BuildingNamibia_M.jpg');
  }
  .slide:nth-of-type(2){
    background-image: url('../../../../images/slide_ConstructionWindhoek_M.jpg');
  }
  .slide:nth-of-type(3){
    background-image: url('../../../../images/slide_BuildingNamibia_M.jpg');
  }
}

@media only screen and (max-width: 550px)
{
  .slide:nth-of-type(1){
    background-image: url('../../../../images/slide_BuildingNamibia_S.jpg');
  }
  .slide:nth-of-type(2){
    background-image: url('../../../../images/slide_ConstructionWindhoek_S.jpg');
  }
  .slide:nth-of-type(3){
    background-image: url('../../../../images/slide_BuildingNamibia_S.jpg');
  }
}

/* .slide:nth-of-type(4){
  background-image: url('../images/sea-2654890_1920.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat
} */



.controls{
  display: inline-block;
  position: relative;
  top: 1rem;
  right: .5rem;
  color: #FFFFFF;
  border: none;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 1.5rem;
  background: #3f1f10;
  width: 3rem;
  height: 3rem;
  margin-left: .5rem;
}


.controls:hover,
.controls:focus{
  background: #c74c21; /*eee;*/
  color: #FFFFFF; /* #333; */
}

.container{
  position: relative;
}

.buttons{
  position: absolute;
  bottom: 8rem;
  right: .5rem;
  /* top: 0px; */
  z-index: 10;
  font-size: 0px;
}

@media only screen and (max-width: 850px)
{
  .buttons{bottom: 6rem;}
}
@media only screen and (max-width: 550px)
{
  .buttons{bottom: 4rem;}
}
@media only screen and (max-width: 450px)
{
  .buttons{display: none;}
}



.fancy{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 7rem;
  height: 2rem;
  background: gold;
  color: #000;
  z-index: 3;
  transform: rotate(-45deg);
  border-radius: 1rem;
}