html {
    scroll-behavior: smooth;
}

.float-nav {
    position: sticky;
    top: 20%;
    right: 0;
    float: right;
    background: transparent;
}

.float-nav ul {
    list-style-type: none;
    text-align: center;
}

.float-nav ul li {
    position: relative;
    width: 70px;
    cursor: pointer;
    background: crimson;
    text-transform: uppercase;
    transition: all .4s ease-out;
}

.float-nav ul li .label {
    position: absolute;
    background: white;
    color: crimson;
    top: 0;
    left: -70px;
    width: 70px;
    height: 100%;
    opacity: .5;
    text-align: center;
    transform: perspective(400px) rotateY(-90deg);
    transform-origin: 100% 100%;
    transition: all .4s ease-out;
}

.float-nav ul li .label {
    word-wrap: break-word;
    font-size: 12px;
    text-decoration: none;
}

.float-nav ul li:hover {
    transform: translateX(70px);
}

.float-nav ul li:hover .label {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg) scale(1);
}


.float-nav ul li>a {
    display: inline-block;
    padding: 25px 0;
    background: transparent;
}

.float-nav ul li a {
    position: relative;
}

h2 {
    font-size: 1.25rem !important;
}

h3.text-justify {
    font-size: 1.1rem !important;
}