#zapisy {
    padding-top: 115px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form {
    margin-top: 50px;
    padding: 25px;
    border: 2px solid var(--textShadow);
    border-radius: 25px;
    position: relative;
}

.form > .options {
    position: absolute;
    top: 0;
    left: 45px;
    transform: translateY(-50%);
    display: flex;
}

.form > .options > div {
    font-size: 1.2em;
    padding: 4px 15px;
    background: var(--gradient);
    border-left: 2px solid var(--textShadow);
    transition: .4s;
    cursor: pointer;
    color: var(--johnCena);
    width: auto;
}

.form > .options > div.active,
.form > .options > div:hover {
    color: var(--text);
}

.form > .options > div:last-child {
    border-right: 2px solid var(--textShadow);
}

.form > .content {
    height: 100%;
    width: auto;
    overflow: hidden;
}

.form > .content > div > div > h2 {
    font-size: 3em;
    margin-left: 25px;
    color: var(--secondary)
}

.form > .content > div:not(.active) {
    display: none;
}

.form > .content > div.active {
    display: flex;
}

.form > .content > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
    margin: 10px 0;
}

.row-around {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
    margin: 10px 0;
}


.input {
    position: relative;
    max-width: calc(50% - 30px);
    margin: 15px;
}

.inputBox {
    min-width: var(--inputMinWidth);
}

.inputBox input {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid var(--johnCena);
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 1.2em;
    border-radius: 8px;
}

.inputBox span {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    padding: 10px;
    pointer-events: none;
    color: var(--johnCena);
    text-transform: uppercase;
    transition: .5s;
}

.inputBox > input:valid ~ span,
.inputBox > input:focus ~ span {
    color: var(--textShadow);
    transform: translate(20px, -10px);
    font-size: .8em;
    letter-spacing: .2em;
    padding: 0 10px;
    background: var(--gradient);
    border-left: 2px solid var(--textShadow);
    border-right: 2px solid var(--textShadow);
}

.inputBox > input:valid,
.inputBox > input:focus {
    border: 1px solid var(--textShadow);
}

.inputBox > textarea:valid ~ span,
.inputBox > textarea:focus ~ span {
    color: var(--textShadow);
    transform: translate(20px, -10px);
    font-size: .8em;
    letter-spacing: .2em;
    padding: 0 10px;
    background: var(--gradient);
    border-left: 2px solid var(--textShadow);
    border-right: 2px solid var(--textShadow);
}

.inputBox > textarea:valid,
.inputBox > textarea:focus {
    border: 1px solid var(--textShadow);
}

.switch {
    cursor: pointer;
    position: relative;
    height: calc(1.8em + 8px);
    min-width: var(--inputMinWidth);
    width: calc(50% - 30px);
}

.switch > .slider::after {
    position: absolute;
    width: 80px;
    height: 1.8em;
    padding: 4px;
    content: "";
    border-radius: 2em;
    background: var(--textShadow);
    opacity: .2;
    z-index: 1;
}

.switch > .slider::before {
    position: absolute;
    content: "";
    height: 1.8em;
    top: 4px;
    left: 4px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: var(--text);
    transition: .4s;
    z-index: 2;
}

.switch > input:checked ~ .slider::after {
    opacity: 1;
}

.switch > input:checked ~ .slider::before {
    transform: translateX(calc(80px - 1.8em));
}

.switch > .label {
    position: absolute;
    left: 107px;
    top: calc(0.9em + 4px);
    transform: translateY(-50%);
    font-size: .8em;
}

.select {
    width: 100%;
    min-width: var(--inputMinWidth);
    transition: .4s;
}

.no-show {
    position: relative;
    left: 100%;
}

.show {
    left: 0;
}

.select > .selected {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid var(--johnCena);
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    border-radius: 8px;
    cursor: pointer;
}

.select > .selected > span {
    color: var(--johnCena);
}

.select > .selected.choosen {
    border: 1px solid var(--textShadow);
}

.select > .selected.choosen > span {
    color: var(--text);
}

.select > .options_wrapper > .options {
    height: 100%;
    width: calc(100% - 2px);
    border-radius: 8px;
    border: 0;
    flex-direction: column;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--textShadow);
}

.select > .options_wrapper {
    position: absolute;
    top: calc(1.8em + 25px);
    width: calc(100% + 2px);
    transition: .4s;
    max-height: 0;
    overflow: hidden;
    border-radius: 8px;
    z-index: 4;
}

.select > .options_wrapper.showed {
    max-height: calc(3 * (1.4em + 10px));
    border-bottom: 1px solid var(--textShadow);
    border-top: 1px solid var(--textShadow);
    overflow-y: scroll;
    scrollbar-color: var(--text) rgba(255, 255, 255, 0);
}

.select > .options_wrapper.showed::-webkit-scrollbar {
    width: 4px;
}

.select > .options_wrapper.showed::-webkit-scrollbar-track {
    position: relative;
    right: 20px;
    background: transparent;
    margin-right: 10px
}

.select > .options_wrapper.showed::-webkit-scrollbar-thumb {
    background-color: var(--text);
    border-radius: 4px;
}

.select > .options_wrapper > .options > .option {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--primary);
}

.select > .options_wrapper > .options > .option > label {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-size: 1em;
    border-bottom: 1px solid var(--textShadow);
    cursor: pointer;
}

.select > .options_wrapper > .options > .option > label:hover {
    background-color: var(--textShadow);
}

.select > .options_wrapper > .options > .option:last-child > label
{
    border-bottom: 0;
}

.select > .options_wrapper > .options > .option > label.choosen {
    background-color: var(--textShadow) !important;
}

.error {
    color: var(--error);
    position: absolute;
    bottom: 0;
    left: 20px;
    transform: translateY(100%);
}

.error-input {
    border-color: var(--error) !important;
}

.submit {
    width: 200px;
    height: 50px;
}

textarea {
    padding: 10px;
    border: 1px solid var(--johnCena);
    width: calc(100% - 20px);
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 1.2em;
    border-radius: 8px;
    resize: none;
}

.inputBox > .button {
    width: 100%;
}

.labels > li {
    margin-top: 45px;
}

.labels > li > .label-content {
    max-height: 0;
    overflow: hidden;
    transition: .8s ease-in-out;
}

.labels > li > .label-content.active {
    max-height: 2000px;
}

.labels > li > label {
    width: 100%;
    border-bottom: 2px solid var(--textShadow);
    display: inline-block;
    padding-bottom: 10px;
    cursor: pointer;
    font-size: 1.4em;
}

.submit {
    font-size: 2em;
    font-family: pixel;
    background-color: var(--primary);
    border: 2px solid var(--secondary);
    cursor: pointer;
    border-radius: 20px;
}

.submit:hover {
    color: var(--text);
}

.submit::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: var(--textShadow);
    opacity: .0;
    filter: blur(8px);
}

.submit:hover:before {
    opacity: .22;
}

.row-strech {
    display: flex;
    justify-content: center;
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
    margin: 10px 0;
}

@media only screen and (max-width: 740px) {

    .form > .options > div {
        width: min-content !important;
    }

}


