@keyframes transition_image {
    0%   {opacity: 0.8;}
    50% {opacity: 0.5;}
    100% {opacity: 0.8;}
  }

img.transition_image {
    object-fit: cover;
    left: 0px;
    top:0px;
    position: absolute;
    width: 100vw;
    height: 100vh;
    opacity: 0.8;
    animation-name: transition_image;
    animation-timing-function: linear; 
    animation-duration: 6s;
    animation-iteration-count: infinite;
  }

img.max_size {
    left: 0px;
    top:0px;
    object-fit: cover;
    position: relative;
    height: 100vh;
    width: 100vw;
}

div{
    display: block;
    position: relative;
    width: auto;
    height: auto;
}

body {
    margin: 0;
    padding: 0;
    background-color: #222831;
    color: #EEEEEE;
    font-family: Arial, Helvetica, sans-serif;
  }

.main_title{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position: absolute;
}

#far0 {
    right: 3vw;
    top: -7vh;
    object-fit: cover;
    position: relative;
    height: 25vw;
    rotate: -24deg;
  }

#andreas0 {
    right: 0vw;
    top: -10vh;
    object-fit: cover;
    position: relative;
    height: 22vw;
    rotate: 23deg;
  }

.wrapper{
    padding-top: 10vh;
    display: block;
}
.nextbox{
    display: block;
    width:100%;
    height:100%;
}

.center{
    text-align: center;
}

h1{
    margin: 0.5vw;
    font-size: 8vw
}
h2{
    margin: 0.5vw;
    font-size: 6vw
}

h3{
    margin: 0.5vw;
    font-size: 3vw
}
@keyframes slide_show {
    0%   {}
    100% {}
  }

img.friend_picture {
    object-fit: cover;
    width: 100vw;
  }


  /* CSS */
.button-27 {
    appearance: none;
    background-color: #000000;
    border: 2px solid #1A1A1A;
    border-radius: 15px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-height: 60px;
    min-width: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
  }
  
.button-27:disabled {
    pointer-events: none;
  }
  
.button-27:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    transform: translateY(-2px);
  }
  
.button-27:active {
    box-shadow: none;
    transform: translateY(0);
  }

  
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

.always_follow{
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  padding-top: 1vh;
  padding-right: 1%;
}


@media only screen and (orientation: landscape) {


  img.friend_picture {
    object-fit: cover;
    width: 40vw;
  }

  #far0 {
    right: 0vw;
    top: 9vh;
    object-fit: cover;
    position: relative;
    height: 25vw;
    rotate: -24deg;
  }

  #andreas0 {
      top: 10vh;
      object-fit: cover;
      position: relative;
      height: 22vw;
      rotate: 23deg;
    }

  .wrapper{
    padding-top: 10vh;
    display: block;
    float: left;
  }
  .nextbox{
      display: block;
      float: left;
      width:50%;
      height:50%;
  }

  .center{
      text-align: center;
  }

  h1{
      text-align: center;
      margin: 0.5vw;
      font-size: 7vw
  }
  h2{
      margin: 0.5vw;
      font-size: 3vw
  }

  h3{
      margin: 0.5vw;
      font-size: 1vw
  }
}