p {
  color: white;
  font-size: 7vh;
  text-align: center;
  margin-top: 40vh;
  font-weight: bolder;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");

:root {
    --primary-color: #6e00b3;
    --secondary-color: black;
}

* {
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--secondary-color);
    font-family: "Roboto", sans-serif;
    height: 100%;
    width: 100%;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

img {
    -webkit-user-drag: none;
}

::-webkit-scrollbar {
    display: none;
}

@media only screen and (min-width: 600px) {

    html{
        overflow: hidden;
    }

    #hider{
        display: none;
    }
    
    #counter{
        height: 100vh;
        width: 90vw;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2%;
        margin-top: 35vh;
        margin-left: 5vw;
    }

    #counter div{
        border: 2px solid var(--primary-color);
        /* border: 1px solid black; */
        height: 30vh;
        border-radius: 50px;
        overflow: hidden;
        transition: 200ms;
    }

    #counter div:hover{
        background-color: var(--primary-color);
        transition: 200ms;
    }

    #counter div p{
        color: var(--primary-color);
        font-size: 10vh;
        text-align: center;
        font-weight: bolder;
        margin-top: -0vh;
        padding-top: 9.5vh;
        height: 100%;
        width: 100%;
    }

    #counter div p:hover{
        color: var(--secondary-color);
        transition: 200ms;
    }
}

@media only screen and (max-width: 600px) {

    #hider{
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background-color: black;
        color: white;
        text-align: center;
        align-content: center;
        font-size: 10vh;
        transition: 1s;
    }

    #counter{
        height: 90vh;
        width: 90vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 6%;
        margin-top: 4vh;
        margin-left: 5vw;
    }

    #counter div{
        border: 2px solid var(--primary-color);
        /* border: 1px solid black; */
        height: 26vh;
        overflow: hidden;
        transition: 200ms;
    }

    #counter div:hover{
        background-color: var(--primary-color);
        transition: 200ms;
    }

    #counter div p{
        color: var(--primary-color);
        font-size: 8vh;
        text-align: center;
        font-weight: bolder;
        margin-top: -0vh;
        padding-top: 8.5vh;
        height: 100%;
        width: 100%;
    }

    #counter div p:hover{
        color: var(--secondary-color);
        transition: 200ms;
    }
}