body {
    /* background-color: #212121; */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* START OF TABS */

@keyframes content-opacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes content-pop-out {
    0% {
        opacity: 1;
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        opacity: 1;
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.tabs-wrapper {
    margin-bottom: 3%;
}

.tabs-wrapper input[type="radio"] {
    display: none;
}

.tabs-wrapper label {
    transition: background 0.4s ease-in-out, height 0.2s linear;
    display: inline-block;
    cursor: pointer;
    color: #dbdbd3;
    width: 20%;
    height: 3em;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: #525252;
    text-align: center;
    line-height: 3em;
}

.tabs-wrapper label:last-of-type {
    border-bottom: none;
}

.tabs-wrapper label:hover {
    background: #667876;
    /*@include transform (translate(0,-0.2em));*/
}

@media screen and (max-width: 1600px) {
    .tabs-wrapper label {
        width: 15%;
    }
}

@media screen and (max-width: 900px) {
    .tabs-wrapper label {
        width: 20%;
    }
}

@media screen and (max-width: 700px) {
    .tabs-wrapper label {
        width: 100%;
        display: block;
        border-bottom: 2px solid #4d4c47;
        border-radius: 0;
    }
}


#tab-rules:checked + label,
#tab-facilities:checked + label,
#tab-documents:checked + label,
#tab-cancel:checked + label {
    background: var(--color-B);
    color: #f2f2f2;
}

.tab-body {
    position: absolute;
    top: -9999px;
    opacity: 1;
    padding: 30px;
}

.tab-body p{
    text-align: justify;
}

.tab-body-wrapper {
    background: var(--color-A);
    border: 1px solid var(--color-B);
    border-top: var(--color-B) 5px solid;
    border-radius: 5px 0 5px 5px;
}

.tab-body-wrapper li{
    margin: 10px 0;
    padding-bottom: 4px;
}

@media screen and (max-width: 600px) {
    .tab-body-wrapper {
        border: none;
        border-radius: 0;
    }
}

#tab-rules:checked ~ .tab-body-wrapper #rules,
#tab-facilities:checked ~ .tab-body-wrapper #facilities,
#tab-documents:checked ~ .tab-body-wrapper #documents,
#tab-cancel:checked ~ .tab-body-wrapper #cancel {
    position: relative;
    top: 0;
}

h1{
    font-size: 1.3rem;
    margin: 0;
    padding: 20px;
}

h2{
    font-size: 1.3rem;
    margin-bottom: 15px;
}

h3{
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 15px;
    color: var(--color-B);
}