:root {
  font-size: 16px;
  font-family: 'Open Sans';
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
  --transition-speed: 600ms;
}
body::-webkit-scrollbar {
  width: 0.25rem;
}
body::-webkit-scrollbar-track {
  background: #1e1e24;
}
body::-webkit-scrollbar-thumb {
  background: #C0C0C0 ;
}
main {
  margin-left: 5rem;
}
a:link {
  text-decoration:none;
  color: silver;     
}
a:visited {
  text-decoration:none;
  color: silver;  
}
p a:link {
  font-weight:bold;
  text-decoration:none;
  color: gold;     
}
p a:visited {
  text-decoration:none;
  color: gold;  
}
/* Page 06.1 / Mitbewohner-Pet */
.box{
  background-image: url(../images/bg.jpg);
  border-radius: 20px;
  border-style: outset;
  color: #c0c0c0 ;
}
.picon{
  float:left;
  width:25px
}
h3{
  margin: 0 0 0 35px;
}
.b1{
  background-image:url(../images/bg_6.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.pet{
  margin: 10px 17% 2% 17%;
  padding: 10px 10px 10px 10px;
}
.bild{
  max-width: 50%;
  float:left;
  margin-right: 5px;
}
.video{
  max-width: 100%;
  float:left;
  margin-right: 5px;
}
.btn{
  padding: 10px 20px 10px 20px;
}
.btn b:hover{
  color: #ececec;
}
.tline{
  padding:15px;
  border-top-right-radius:0;
  border-bottom-right-radius:0;
  border-right: none;
  margin-left: 17%;
  margin-top: 2%;
}





i {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: -5px 10px 20px -15px rgba(0,0,0,1);
}
i:before, i:after {
  content: '<';
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  background: silver;
  color: grey;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
i:after {
  content: '>';
  left: auto;
  right: 1rem;
}
/* I haven't found a way for IE and Edge to let me style inputs that way */
input {
  appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform ease-in-out 400ms;
  z-index: 1;
}
input:focus {
  outline: none;
}
input:not(checked):before {
  content: '';
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  top: 50%;
  left: calc(-100% + 1rem);
}
input:checked:before {
  display: none;
  left: 1rem;
}
input:checked {
  transform: translateX(0);
  pointer-event: none;
  z-index: 0;
}
input:checked + input:before {
  left: -3rem;
}
input:checked + input ~ input:before {
  display: none;
}
