@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');


body {
    margin-top: 50%;
    margin-right: 0px;
    margin-left: 0px;
    margin-bottom: 50%;
    font-family: "Open Sans", sans-serif;
}

.bg-img {
    background-image: url("images/jscounterbg.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top: 10px;
    width: 100%;
    height: 418px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    
}

.counter-container {
    text-align: center;
    border: 1px solid rgb(255, 255, 255);
    width: auto;
    height: 32%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    box-shadow: 3px 5px 10px black;
    padding: 47px 30px 38px 30px;
}
.counter-title {
    color: rgb(245, 246, 241);    margin: 0px;   font-size: 1.3rem;
    font-weight: bolder;
}
#current-count {
    color: rgb(2,128,2);     
    font-size: 75px; 
    margin: 0px; 
}
#lower-count, #add-count {
    background-color: rgb(12, 44, 83); 
    color: rgb(245, 246, 241);
    margin-bottom: 5px;
    border: 0px;
    border-radius: 3px;
    padding: 6px;
    font-size: 9px;
    box-shadow: 3px 4px 10px rgb(0, 0, 0);
    cursor: pointer;
}
.counter-container > a {
    cursor: pointer;
    margin: 10px;
}
 a:link, a:visited, a:active {
     color: rgb(0, 0, 0);
 }
 a:hover {
     color: rgb(12, 44, 83);
 }
@media (min-width: 600px) {
        body {
            margin-top: 20%;
        }
        .counter-container {
            height: 67%; 
        }
        .counter-title {
            font-size: 2.3rem;
        }
        #current-count {
            font-size: 130px;
        }
        #lower-count, #add-count {
            font-size: 14px;
        }
}
@media (min-width: 900px) {
    body {
        margin-top: 15%;
    }
    .counter-container {
        height: 75%;     padding: 46px 67px 42px 67px;
    }
    .counter-title {
        font-size: 2.3rem;
    }
    #current-count {
        font-size: 156px;
    }
    #lower-count, #add-count {
        background-color: rgb(12, 44, 83);
        color: rgb(245, 246, 241);
        margin-bottom: 5px;
        border: 0px;
        border-radius: 3px;
        padding: 6px;
        font-size: 18px;
        box-shadow: 3px 4px 10px black;
    }
}