* {
    box-sizing: border-box;
    
}
body {
    margin: 0;
    padding: 0;
 
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
   overflow: hidden;
    background-image: url("images/centerjohndf.png");
    background-position:center;
    background-size: 100px;
    background-repeat: no-repeat;
}


figure {
 

    text-align: center;
    
    font-size: 30%;
    text-indent: 0;

    caption-side: top;
  }

.container11 {

    text-align: center;
    text-align: center;
   
    font-size: smaller;
    text-indent: 0;
   font-size:500%;
   font-family:'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
   text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.608);
   display: block;
   margin: 50px;
   top:0%;
   position: absolute;
   caption-side: top;
   

  }

.gifs-container1 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 100;
}
.gifs-container {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 100;
}
.gifs-container3 {
    position: absolute;
   
    top: 0;
    height: 100%;
    display: flex;

    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
}


.left-gif,
.right-gif {
    width: 100px;
    height: 100px;
    margin: 10px 0;
}


.sources    {

    text-align: center ;
    font-size: 150%;
    z-index: 3;
    margin: 0 140px 10px;
    top: 100px;
    position: absolute;
    line-height: 50px;
    text-shadow: 10px 26px 10px black ;
}

.bottompage {
    text-align: center;
    font-size: 150%;
    z-index: 3;
    margin: 0 140px 10px;
  bottom: 100px;
    position: fixed;
    line-height: 50px;
    text-shadow: 10px 26px 10px black ;

}

.centered-content {
    text-align: center;
    font-size: 150%;
    z-index: 3;
    margin: 0px 180px 10px;
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 500px;
    margin-bottom: 500px;

    background-color: #ffffff;
    max-height: 80%;
    position: absolute;
    line-height: 40px;
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
    box-shadow: 1px 1px 50px 10px rgba(0, 0, 0, 0.402);
    background-image: url("images/sun.png");
    background-position:center;
    background-size: 300%;
    background-repeat: no-repeat;
    overflow: scroll;
   
}


.start {
    position: absolute;
  
    
    animation: slideVert2 10.4s linear alternate-reverse infinite, slideHori2 10.78s linear alternate-reverse infinite, colorChange 30s linear infinite; 
    z-index: 5;
  
  
  }
  
  .this4 {
    position: absolute;
 
    color: blue;
    
    animation: slideVert 19.6s linear alternate infinite, slideHori 12.78s linear alternate infinite, colorChange 30s linear infinite;

    z-index: -6;
  }

  .this5 {
    position: absolute;
 
    color: blue;
    
    animation: slideVert 19.6s linear alternate infinite, slideHori 12.78s linear alternate infinite, colorChange 30s linear infinite;
   
    z-index: -6;
  }

  .bouncy {
    z-index: 600;
    position: fixed;
    display: block;
    -webkit-user-select: none;
    max-height: 100%;

  }



  @keyframes slideVert {
    from {
      top: 4px;
    }
    to {
      top: calc(100% - 100px)  ;
    }
  }
  @keyframes slideHori {
    from {
      left: 0;
    }
    to {
      left: calc(100% - 100px);
    }
  }
  
/* Media query for iPhones */
@media screen and (max-width: 768px) {
    .container1 {
        width: 100%; /* Take up the full width of the screen */
        font-size: 150%; /* Reduce the font size for smaller screens */
    }

    .box {
        width: 100%; /* Take up the full width of the screen */
        font-size: 150%; /* Reduce the font size for smaller screens */
    }
}