﻿
.home-body {
    top: 0;
    left: 45vh;
    width: 50%;
    height: 100vh;
    object-fit: contain;
    z-index: -1;
    position: fixed;
    filter: grayscale(100%);
    opacity: 5%;
}

.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
}

.tabset .tab-panel {
    display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6),
.tabset > input:nth-child(13):checked ~ .tab-panels > .tab-panel:nth-child(7),
.tabset > input:nth-child(15):checked ~ .tab-panels > .tab-panel:nth-child(8) {
    display: block;
}

/*
 Styling
*/

.tabset > label {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    text-align:center;
    border-bottom: 0;
    cursor: pointer;
    max-width: 280px;
    font-weight: 600;
    color: #6C6D6C;
}

.tabset > label::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    bottom: 10px;
    width: 30%;
    height: 2px;
    background: #ae433c;
    transition: 0.5s;
}

input:focus-visible + label {
    outline: 2px solid rgba(0,102,204,1);
    border-radius: 3px;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
    background-color: #317e74;
    color: #fff;
    transition: 0.5s;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
    background: #eee;
    width: 70%;
}

.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    background-color: #317e74;
    color: #eee;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.3);
}

.tab-panel {
    padding: 30px 10%;
    text-align: justify;
    text-justify: inter-word;
    border-top: 1px solid #ccc;
    letter-spacing: 1px;
    word-spacing: 2px;
}

.tab-panel > ul > li > div {
    margin-top: 5px;
      
}
.tab-panel > ul > li > div > a {
    text-decoration: none;
    color: #777;
    letter-spacing: 2px;
    word-spacing: 3px;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 1px 5px 1px 5px;
    list-style-type:none;
}

.tab-panel > ul > li > div > a:hover {
    text-decoration: underline;
    text-decoration-color: #ae433c;
    letter-spacing: 2.3px;
    transition: 0.1s;
    color: #777;
}
