@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
* {
  box-sizing:border-box
}

body {
  background:linear-gradient(62deg,#fff 5%,#fff) fixed;
  font-family: 'Roboto', sans-serif;
  color: white;
}

img {
  width:100vw;
  height:98vh;
  display:block;
  aspect-ratio: 16 / 9;
}

.container {
  width:95%;
  display:block;
  margin: auto;
}

#before-after-slider {
  width:100%;
  position:relative;
  overflow:hidden;
  border:1px solid white;
}

#after-image {
  display:block;
}

#after-image-title {
    position:absolute;
    top: 50%;
    right: 5%;
    padding: 10px;
    background-color: white;
    color: black;
    font-size:x-large;
}
#after-image-title a {
    text-decoration: none;
    color: #3b88c3;
}
#after-image-title a:hover {
    text-decoration: underline;
    color: #3b88c3;
}

#before-image {
  position:absolute;
  width:50%;
  top:0;
  left:0;
  overflow:hidden;
  z-index:2;
}

#before-image-title {
    position:absolute;
    top: 50%;
    left: 5%;
    padding: 10px;
    background-color: white;
    color: black;
    font-size:x-large;
}

#before-image-title a {
    text-decoration: none;
    color: #dd2e44;
}
#before-image-title a:hover {
    text-decoration: underline;
    color: #dd2e44;
}

#resizer {
  position:absolute;
  display:flex;
  align-items:center;
  z-index:5;
  top:0;
  left:50%;
  height:100%;
  width:4px;
  background:white;
  /*Stop vertical scrolling on touch*/
  -ms-touch-action: pan-y;
    touch-action: pan-y;
}

#resizer:after {
  background:linear-gradient(62deg,#3b88c3 5%,#3b88c3);
  font-family: "Font Awesome 5 Free";
  content:'\f337';
  font-weight:900;
  display:flex;
  justify-content:center;
  align-items:center;
  color:white;
  position:absolute;
  margin: 0 0 0 -22px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:4px solid white;

}