﻿.warpper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab {
    cursor: pointer;
    padding: 10px 20px;
    margin: 0px 2px;
    background: #6c7585;
    display: inline-block;
    color: #fff;
    border-radius: 3px 3px 0px 0px;
    box-shadow: 0 0.5rem 0.8rem #00000080;
}

.panels {
    background: #fffffff6;
    box-shadow: 0 2rem 2rem #00000080;
    min-height: 200px;
    width: 100%; 
    border-radius: 3px;
    overflow: hidden;
    padding: 20px;
}

.panel {
    display: none;
    animation: fadein .8s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.panel-title {
    font-size: 1.5em;
    font-weight: bold
}

.radio {
    display: none;
}

#one:checked ~ .panels #one-panel,
#two:checked ~ .panels #two-panel,
#three:checked ~ .panels #three-panel,
#four:checked ~ .panels #four-panel,
#five:checked ~ .panels #five-panel,
#six:checked ~ .panels #six-panel,
#seven:checked ~ .panels #seven-panel,
#eight:checked ~ .panels #eight-panel,
#nine:checked ~ .panels #nine-panel {
    display: block
}

#one:checked ~ .tabs #one-tab,
#two:checked ~ .tabs #two-tab,
#three:checked ~ .tabs #three-tab,
#four:checked ~ .tabs #four-tab,
#five:checked ~ .tabs #five-tab,
#six:checked ~ .tabs #six-tab,
#seven:checked ~ .tabs #seven-tab,
#eight:checked ~ .tabs #eight-tab,
#nine:checked ~ .tabs #nine-tab
 {
    background: #fffffff6;
    color: #000;
    border-top: 3px solid #000;
}

label#one-tab  {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#one:checked ~ .tabs label#one-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}

label#two-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#two:checked ~ .tabs label#two-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#three-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}
#three:checked ~ .tabs label#three-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#four-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#four:checked ~ .tabs label#four-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#five-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#five:checked ~ .tabs label#five-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#six-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#six:checked ~ .tabs label#six-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#seven-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#seven:checked ~ .tabs label#seven-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}
label#eight-tab {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#eight:checked ~ .tabs label#eight-tab::before {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00c";
    background: green;
    padding: 3px;
    color: white;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    padding-left: 5px;
    margin-right: 8px;
}

.tabs {
    position: absolute;
    right: 33px;
}