@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500&family=Open+Sans:wght@400;500;600;700;800&family=Orbitron:wght@400;500&family=Outfit:wght@200;400;700&family=Playfair+Display:wght@400;500;600&family=Poppins:wght@200;300;400;500;600&family=Raleway:ital,wght@0,200;0,300;0,400;0,600;0,800;0,900;1,700&family=Roboto:wght@300;500;700&display=swap');

:root {
    --bg-clr: white;
    --prim-clr: #7F27FF;
    --sec-clr: #9F70FD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: open sans;
}

.input {
    /* background-color: green; */
    width: 100%;
    height: 5rem;
}

#inp {
    outline: 0;
    padding: 0 2rem;
    border-radius: 30px;
    height: 3rem;
    width: 27rem;
    border: 2px solid black;
}

#inp:focus {
    border: 2px solid var(--prim-clr);
}

#btn {
    width: 2.5rem;
    height: 2.5rem;
    outline: 0;
    border-radius: 50%;
    position: relative;
    right: 45px;
    background: var(--sec-clr);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all .36s;
}

#btn:hover {
    background: var(--prim-clr);
}

#btn:active {
    transform: scale(.92);
}

.main-word {
    /* background-color: blueviolet; */
    height: 4rem;
    column-gap: 2rem;
}

.forClickBtn {
    display: inline-block;
    background: #dedede;
    border: 1.2px solid #848484;
    box-shadow: 1px 1px 5px 1px #7b7b7b;
    padding: 0.45rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: all .25s;
}

.forClickBtn:active {
    transform: scale(.975);
}

.main-sound-btn {
    width: 3rem;
    height: 3rem;
    border: 0;
    outline: 0;
    border-radius: 50%;
    color: white;
    background-color: var(--prim-clr);
    transition: all .25s;
}

.main-sound-btn:active {
    background-color: var(--sec-clr);
}

.read-more-btn {
    background-color: var(--prim-clr);
    width: 8rem;
    height: 2.5rem;
    border-radius: 10px;
}

.read-more-btn:hover {
    background-color: var(--sec-clr);
}

.read-more-btn:active {
    transform: scale(.95);
}

/* Media Queries */


@media only screen and (max-width: 320px) {
    #inp {
        width: 10rem;
    }
}

@media only screen and (min-width: 321px) and (max-width: 425px) {
    #inp {
        width: 15rem;
    }
}

@media only screen and (min-width: 426px) and (max-width: 768px) {
    #inp {
        width: 15rem;
    }
}