.tabinator {
    margin-top: 40px;
}

.tabinator input {
    display: none;
}

.tabinator label {
    box-sizing: border-box;
    display: inline-block;
    padding: 15px 25px;
    color: #fff;
    margin-bottom: -1px;
    margin-left: -1px;
    text-transform: uppercase;
    font-family: "Josefin Sans",sans-serif;
    font-size: 11px;
    line-height: 1.4em;
    letter-spacing: .2em;
    transition: color .2s ease-out,background-color .2s ease-out;
}

.tabinator label:before {
    content: '';
    display: block;
    width: 100%;
    height: 15px;
    position: absolute;
    bottom: -11px;
    left: 0;
    z-index: 10;
}

.tabinator label:hover {
    cursor: pointer;
}

.tabinator input:checked + label {
    position: relative;
    color: #ffffff;
    border-bottom: 1px solid #fff;
}

.tabinator input:checked + label:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.tab-content {
    display: none;
    border-top: 1px solid #41392e;
    color: #c0bcb7;
    padding-top: 15px;
}

#tab-1:checked ~ #content-1,
#tab-2:checked ~ #content-2,
#tab-3:checked ~ #content-3,
#tab-4:checked ~ #content-4,
#tab-5:checked ~ #content-5
{
    display: block;
}
