@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300&family=Roboto+Condensed:wght@300&display=swap');

body{
    background-color: rgb(150, 0, 180);
    

}

/* Our main container */
.jokeContainer{
    height: 480px;
    width: 800px;
    background: rgb(169, 4, 190);
    border-radius: 10px;
    margin-left: 23%;
    margin-top: 50px;
    box-shadow: 5px 5px 15px -5px rgba(0, 0, 0, 0.3);
    position: absolute;
    transition: .3s;
    border: 1px solid white;

   

}

/* Our Button */
button{
    width: 200px;
    height: calc(1.33*35px);
    position: absolute;
    top: 80%;
    left: 49%;
    transform: translate(-50%,-50%) scale(1.4);
    background: rgb(255, 217, 0);
    border: 1px solid black;
    cursor: pointer;
    /* border-radius: 5px; */
    font-size: 1.2rem;
    font-weight: 600;
    transition: .3s;
    font-family: 'Rajdhani', sans-serif;

    font-family: 'Roboto Condensed', sans-serif;
    outline: none;
    background: transparent;
    
}

/* Joke Text Area */
h2{
    width: 70%;
    text-align: center;
    margin: auto;
    position: auto;
    left: 50%;
    transform: translate(-50%,-50%) ;
    top: 57%;
    color: white;
}
/* Joke Text Area */
#jokeText{
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 230px;
    margin-left: 50%;
    
}


/* Our Heading */
#emoji{
    font-size:50px;
    left: 25%;
   margin-top: 50px;
    position: absolute;
    font-family: 'Righteous', cursive;
    text-align: center;
    

}


/* Hover Effect To Button */
button:hover{
    transform: translate(-50%,-50%) scale(1.47);
    background: rgb(1, 217, 255);
    /* background-color: rgb(230, 230, 64); */
}

/* Hover Effect for Container */

.jokeContainer:hover{
    transform: translate(1%,1%) scale(1.1);

}


/* Media Query For Responsivness */
@media (max-width:768px){
    .jokeContainer{
        display: block;
        /* width: 300px; */
        height: 500px;
        margin-left: 9%;
        margin-top: 20px;
        width: 300px;
      
        position: fixed;


      
      
    }
    .jokeContainer:hover{
        /* transform: translate(-50%,-50%) scale(40); */
        transform: none;
    
    }
   
    button{
        font-size: 15px;
        background: rgb(1, 217, 255);
        border: 1px solid black;
       
    }
    .button:hover{
        transform: none;

    }
    #jokeText{
        font-size: 17px;
    }
    #emoji{
        font-size:25px;
        margin-left: -25px;
    }
    #jokeText{
        font-size: 20px;
    }
   

}

