/* body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0px;
    margin: 0px;
}
 */

@media only screen and (max-width: 1199px) {
    .animation {
        padding: 0px !important;
    }


    .pie_graph {
        padding-top: 35%;
    }

}


@media only screen and (max-width: 700px) {
    .animation {
        padding: 0px !important;
    }


    .pie_graph {
        padding-top: 40%;
    }

}

.animation {
    padding: 0px;
}

.class_bg {
    width: 100%;
    height: 40vw;
    background-image: url(./teacher_124.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.bar_graph_div {
    width: 50%;
    float: left;
}

.pie_graph {
    width: 100%;
    padding-top: 28%;
    padding-left: 10%;
}

.pie_chart img {
    width: 20%;
    animation: float 6s infinite;

}


/* Bar Graph Vertical */
.bar-graph {
    width: 100%;
    padding-top: 22%;
    padding-left: 70%;
}

.bar-graph .year {
    -webkit-animation: fade-in-text 2.2s 0.1s forwards;
    -moz-animation: fade-in-text 2.2s 0.1s forwards;
    animation: fade-in-text 2.2s 0.1s forwards;
}

.bar-graph-vertical {
    max-width: 100%;
}

.bar-graph-vertical .bar-container {
    float: left;
    height: 12vw;
    margin-right: 1vw;
    position: relative;
    text-align: center;
    width: 2.5vw;
}

.bar-graph-vertical .bar {
    border-radius: 3px;
    bottom: 10%;
    position: absolute;
    width: 100%;
    overflow: hidden;
}

.bar-graph-vertical .year {
    bottom: 0;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.bar-graph-two .bar::after {
    -webkit-animation: fade-in-text 2.2s 0.1s forwards;
    -moz-animation: fade-in-text 2.2s 0.1s forwards;
    animation: fade-in-text 2.2s 0.1s forwards;
    color: #fff;
    content: attr(data-percentage);
    font-weight: 700;
    font-size: 1.5vw;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-align: left;
    top: 20%;

    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.bar-graph-two .bar-one .bar {
    background-color: #FFCC00;
    /* Light Yellow */
    height: 40%;
    -webkit-animation: show-bar-one-vertical 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    -moz-animation: show-bar-one-vertical 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    animation: show-bar-one-vertical 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.bar-graph-two .bar-two .bar {
    background-color: #FF9900;
    /* Yellow-Orange */
    height: 55%;
    -webkit-animation: show-bar-two-vertical 4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    -moz-animation: show-bar-two-vertical 4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    animation: show-bar-two-vertical 4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.bar-graph-two .bar-three .bar {
    background-color: #FF6600;
    /* Orange */
    height: 68%;
    -webkit-animation: show-bar-three-vertical 2.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    -moz-animation: show-bar-three-vertical 2.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    animation: show-bar-three-vertical 2.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.bar-graph-two .bar-four .bar {
    background-color: #FF3300;
    /* Dark Orange */
    height: 82%;
    -webkit-animation: show-bar-four-vertical 3.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    -moz-animation: show-bar-four-vertical 3.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    animation: show-bar-four-vertical 3.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

/* Bar Graph Vertical Animations */
@keyframes show-bar-one-vertical {

    0%,
    100% {
        height: 40%;
    }

    50% {
        height: 35%;
    }
}

@keyframes show-bar-two-vertical {

    0%,
    100% {
        height: 55%;
    }

    50% {
        height: 50%;
    }
}

@keyframes show-bar-three-vertical {

    0%,
    100% {
        height: 68%;
    }

    50% {
        height: 63%;
    }
}

@keyframes show-bar-four-vertical {

    0%,
    100% {
        height: 82%;
    }

    50% {
        height: 77%;
    }
}

@keyframes fade-in-text {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}





@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20%);
    }

    100% {
        transform: translatey(0px);
    }
}