/* CSS Document */
*, *:before, *:after {margin: 0; padding: 0; box-sizing: border-box; position: relative;}

body {
  font-family: sans-serif;
  font-size: 12px;  
  color: #fff;
  	}

.wrapper {
    width: 70%;
    height: 300px;
  margin: 0 auto;
  box-shadow: 0 0 25px #222;
  margin-top: 5%;
  overflow: hidden;
    }

    .btn {
      width: 33.3%;
      float: left;
      line-height: 30px;
      text-decoration: none;
      color: inherit;
      text-align: center;
        }
        .active {
            font-weight: bold;
             background: #ccc;
            }

hr {
  display: block;
  height: 0;
  clear: both;
  border: none;
    }

.slides {
  width: 100%;
  height: 100%;
  overflow: hidden;
    
	}
  .sld {
    width: 100%;
    height: 100%;
    transition: margin .3s;
           }

    .sld:first-of-type {
    background: #fff;
    }
    .slides .sld:nth-of-type(2) {
    background: #fff;
    }
    .slides .sld:nth-of-type(3) {
    background: #fff;
    }
  
.btn.active ~ .slides .sld:first-of-type {
  margin-top: 0;
    }
.btn:nth-of-type(2).active ~ .slides .sld:first-of-type {
  margin-top: -300px;    
    }
.btn:nth-of-type(3).active ~ .slides .sld:first-of-type {
  margin-top: -600px;

    }?

