body {
    padding-top: 84px;
}
.navbar {
    padding: 0;
}
.nav-item {
    background-color: white;
    border-right: black 1px solid;
    border-bottom: black 1px solid;
    width: 20%;
}
.nav-item:first-child {
    border-left: black 1px solid;
}
.nav-item.active {
    background-color: black;
}
.nav-item a {
    color: black;
    font-weight: bold;
}
.nav-item a:hover {
    background-color: black;
    color: white;
}
.nav-item.active a {
    color: white;
}
.fill {
    background: no-repeat center center fixed;
    height: 100%; width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#home-carousel .carousel-item {
    height: calc(100vh - 84px);
    background-color: #fff !important;
}
.flip3D-y, .flip3D-x, .flip3D-yr, .flip3D-xr {
    width: 100%;
    height: 17.8vw;
    float: left;
}
.front {
    position:absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 250px;
    top:0;
    bottom: 0;
    text-align: center;
    opacity: 1;
    color: #fff;
    overflow: hidden;
}
.back {
    position:absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(244, 98, 58, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 250px;
    top: 0;
    bottom: 0;
    text-align: center;
    opacity: 1;
    color: #fff;
    overflow: hidden;
}
.flip3D-y > .front{
    -webkit-transform: perspective( 1000px ) rotateY( 0deg );
    transform: perspective( 1000px ) rotateY( 0deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-y > .back{
    -webkit-transform: perspective( 1000px ) rotateY( 180deg );
    transform: perspective( 1000px ) rotateY( 180deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-y:hover > .front{
    -webkit-transform: perspective( 1000px ) rotateY( -180deg );
    transform: perspective( 1000px ) rotateY( -180deg );
}
.flip3D-y:hover > .back{
    -webkit-transform: perspective( 1000px ) rotateY( 0deg );
    transform: perspective(1000px ) rotateY( 0deg );
}
.flip3D-yr > .front{
    -webkit-transform: perspective( 1000px ) rotateY( 0deg );
    transform: perspective( 1000px ) rotateY( 0deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-yr > .back{
    -webkit-transform: perspective( 1000px ) rotateY( -180deg );
    transform: perspective( 1000px ) rotateY( -180deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-yr:hover > .front{
    -webkit-transform: perspective( 1000px ) rotateY( 180deg );
    transform: perspective( 1000px ) rotateY( 180deg );
}
.flip3D-yr:hover > .back{
    -webkit-transform: perspective( 1000px ) rotateY( 0deg );
    transform: perspective(1000px ) rotateY( 0deg );
}
.flip3D-x > .front{
    -webkit-transform: perspective( 1000px ) rotateX( 0deg );
    transform: perspective( 1000px ) rotateX( 0deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-x > .back{
    -webkit-transform: perspective( 1000px ) rotateX( 180deg );
    transform: perspective( 1000px ) rotateX( 180deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-x:hover > .front{
    -webkit-transform: perspective( 1000px ) rotateX( -180deg );
    transform: perspective( 650px ) rotateX( -180deg );
}
.flip3D-x:hover > .back{
    -webkit-transform: perspective( 1000px ) rotateX( 0deg );
    transform: perspective( 650px ) rotateX( 0deg );
}
.flip3D-xr > .front{
    -webkit-transform: perspective( 1000px ) rotateX( 0deg );
    transform: perspective( 650px ) rotateX( 0deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-xr > .back{
    -webkit-transform: perspective( 1000px ) rotateX( -180deg );
    transform: perspective( 1000px ) rotateX( -180deg );
    transition: -webkit-transform .5s linear 0s;
    transition: transform .5s linear 0s;
}
.flip3D-xr:hover > .front{
    -webkit-transform: perspective( 1000px ) rotateX( 180deg );
    transform: perspective( 1000px ) rotateX( 180deg );
}
.flip3D-xr:hover > .back{
    -webkit-transform: perspective( 1000px ) rotateX( 0deg );
    transform: perspective( 1000px ) rotateX( 0deg );
}
.carousel-control-prev-icon {
    /* change fill="currentColor" to %23fff to make it white  */
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-left" fill="%23000" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/> </svg>') !important;
}
.carousel-control-next-icon {
    /* change fill="currentColor" to %23fff to make it white  */
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-right" fill="%23000" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>') !important;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    /* Use to adjust size of icons
    width: 3rem;
    height: 3rem;
    */
}
