body {
    background-color: #56b983;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
}

.text_head {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.titlHead {
    display: flex;
    padding: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}

.imag_head {
    width: 6vw;
    margin-left: 1vw;
    margin-right: 1vw;
    display: flex;
}

.title_firs {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 3vw;
}

.title_seco {
    margin: 0;
    padding: 0;
}

.bodyDocum {
    height: 73vh;
    padding: 1vw;
    border: 1px solid #000;
}

.menuIcon22 {
    width: 2vw;
}

.mnugen {
    width: 100vw;
    padding-top: 1vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

input[type=radio] {
    display: none;

    &:checked+label {
        &:before {
            transform: translateY(-1vh) scale(1);
            transition: transform 200ms 100ms ease;
        }

        span {
            animation: scaleanim 200ms ease;
        }
    }
}

nav {
    position: relative;
    display: flex;
    justify-content: space-around;
    background: white;
    padding-bottom: 2vh;

    label {
        top: 0.5vh;
        left: 2.5vw;
        height: 5vh;
        width: 0vw;
        text-align: center;
        z-index: 2;
        display: flex;
        justify-content: center;
        position: relative;
        cursor: pointer;

        &:before {
            content: '';
            z-index: -1;
            position: absolute;
            background: white;
            border-radius: 3vw;
            width: 4vw;
            height: 7vh;
            top: 0;
            left: -2vw;
        }
    }

    span {
        font-size: 2vw;
    }
}

.cursor {
    position: absolute;
    top: -1.5vh;
    left: -0.4vw;
    height: 9vh;
    width: 5.6vw;
    background: #56b983;
    border-radius: 0 0 100% 100%;
    z-index: 1;
    transition: transform 300ms ease;

    svg {
        position: absolute;
        top: 12px;
        fill: #56b983;

        &:first-child {
            right: calc(100% - 1px);
            transform: scaleX(-1);
        }

        &:last-child {
            left: calc(100% - 1px);
        }
    }
}

#item1:checked~.cursor {
    transform: translateX(12.5vw);
}

#item2:checked~.cursor {
    transform: translateX(37.5vw);
}

#item3:checked~.cursor {
    transform: translateX(62.5vw);
}

#item4:checked~.cursor {
    transform: translateX(87.5vw);
}

@keyframes scaleanim {

    0%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(0.4);
    }

    60% {
        transform: scale(1.2);
    }
}

@media (max-width: 900px) {
    .bodyDocum {
        height: 85vh;
    }

    .mnugen {
        padding-top: 3vw;
    }

    .menuIcon22 {
        width: 6vw;
    }

    nav {
        padding-bottom: 1vh;

        label {
            top: 0;
            left: 5.2vw;
            width: 2vw;
            height: 5vh;

            &:before {
                top: 0.2vh;
                left: -3.7vw;
                width: 9vw;
                height: 5vh;
                border-radius: 4vw;
            }
        }
    }

    .cursor {
        height: 6vh;
        width: 11vw;
    }

    @media (orientation: landscape) {
        .bodyDocum {
            height: 64vh;
        }

        .mnugen {
            padding-top: 1vw;
        }

        .menuIcon22 {
            width: 4vw;
        }

        nav {
            label {
                height: 11vh;

                &:before {
                    top: 0.2vh;
                    left: -3.5vw;
                    width: 9vw;
                    height: 12vh;
                    border-radius: 4vw;
                }
            }
        }

        .cursor {
            top: -3.5vh;
            height: 16vh;
        }
    }
}