/* Css for Animation Button */

.animate{
    flex: 2 3 auto;
    border: 3px solid black;
    border-radius: 0%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto 10% auto 10%;
    background-color: rgb(241, 234, 234);
}

.animate:hover{
    background-color: rgb(224, 215, 215); 
    cursor: pointer;  
}
.animate h2{
    font-size:large;
    padding: 10px;
}
.switch {
    padding: 10px;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
}

.slider{
    position: absolute;
    cursor: pointer;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before{
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left:  7px;
    bottom: 3.5px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider{
    background-color: #2196F3;
}

input:focus + .slider{
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before{
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}  

.slider.round:before {
    border-radius: 50%;
} 

