body{
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.container{
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to right, #ade76d, #5f49bb);
}
.text-container{
    height: 90vh;
    display: flex;
    align-items:center;
    justify-content: space-around;
}
#color-code{
    color: white;
    font-size: 1.2rem;
}

#click{
    background: none;
    padding: 1rem;
    border: none;
    color: white;
    outline: none;
}
#click:hover{
    cursor: pointer;
}
#click:active{
    animation: rotation 200ms linear;
}
#pressSpace{
    display: none;
}
#tooltip{
   visibility: hidden;
   position: absolute;
   font-size: 1rem;
   top: 240px;
   left: 360px;
   color: white;
   background: black;
   padding: 0.4rem;
   border-radius: 0.3rem;

}
#color-code-text:hover #tooltip{
    visibility: visible;
    opacity: 1;

}



/* .rotate{
    animation: rotation 2s linear;
} */

@keyframes rotation {
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(90deg);
    }
}

/* Responsive properties */

@media only screen and (min-width:740px)  {
    .text-container{
        justify-content: center;
    }
    #color-code{
        font-size: 2rem;
    }
    #tooltip{
        position: absolute;
        top: 240px;
        left: 340px;
        color: white;
        background: black;
        padding: 0.4rem;
        border-radius: 0.3rem;

    }
   
}

@media (min-width: 992px) { 
    #pressSpace{
        display: block;
        color: white;
    }
 }