* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth !important;
}

.overflow, .circle-square {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.overflow {
    z-index: 9998;
    width: 100vw;
    height: 100vh;
    background-color: whitesmoke
}

.circle-square {
    z-index: 9999;
    width: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.red,.green,.yellow,.blue{
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 5px;
}

.red {
    background-color: #EA4335;
    animation: movingRed 1s infinite alternate;
  
}

.blue {
    background-color: #4285f4;
    animation: movingBlue 1s infinite alternate;
   
}

.green {
    background-color: #34A853;
    animation: movingGreen 1s infinite alternate;
  
}

.yellow {
    background-color: #FBBC05;
    animation: movingYellow 1s infinite alternate;
    
}

.text-afiari-green{
    color: #084333;;
}
.btn-afiari-green{
    background-color: #084333;
    color: white
}

main {
    background-color: blueviolet;
}

div.banner {
    position: relative;
    background-color: #0a503d00;
    background: url(../../assests/welcome-banner.jpg) no-repeat center center;
    background-size: cover;
    color: white;
    /* padding-top: 8rem;
    padding-bottom: 8rem */
}

div.banner .overlay {
    position: absolute;
    background-color: rgba(15, 15, 15, 0.493) !important;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.history-btn:hover {
    background-color: #52ae95;
    color: black !important;
}

.m-img {
    margin: auto !important;
}


.chart-size {
    height: 55vh !important;
    width: 95vw !important;
}

.bounce {
    position:relative;
    /* left:50%; */
    bottom:0;
    margin-top:-25px;
    margin-left:-25px;
    height:50px;
    width:50px;
    /* background:red; */
    -webkit-animation:bounce 1s infinite;
  }
  
  @-webkit-keyframes bounce {
    0%       { bottom:5px; }
    25%, 75% { bottom:15px; }
    50%      { bottom:20px; }
    100%     {bottom:0;}
  }


/* CSS ANIMATION */

@keyframes movingRed {
    from {
    
        top: 0px;
        left: 0px;
        
    }

    to {
        
        top: 50px;
        left: 50px;
    }
}

@keyframes movingYellow {
    from {
    
        top: 0px;
        left: 0px;
        
    }

    to {
        
        top:-50px;
        left:-50px;
    }
}

@keyframes movingGreen {
    from {
    
        top: 0px;
        left: 0px;
        
    }

    to {
        
        top:-50px;
        left:50px;
    }
}

@keyframes movingBlue {
    from {
    
        top: 0px;
        left: 0px;
        
    }

    to {
        
        top:50px;
        left:-50px;
    }
}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 600px){ 
    .nav-menu{
        display: flex !important;
    }
    .nav-menu-icon{
        width: 20% !important;
        padding: 0px 5px 0px 5px;
    }
    .nav-menu-text{
        width: 80% !important;
    }
    .logo{
        width: 102%;
    }
 }
