@import url('https://fonts.googleapis.com/css2?family=Playwrite+MX:wght@100..400&display=swap');

*{
    font-family: "Bebas Neue", serif;
    margin: 0;
    padding: 0;

}

body{
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h4{
    font-size: 4vw;
    font-weight: 900;
    background: linear-gradient(180deg, rgb(58, 53, 53), rgb(226, 226, 213));
    color: transparent;
    -webkit-background-clip: text;
}

textarea{
    height: 40vh;
    width: 50vw;
    margin-top: 3vh;
    outline: none;

    color: rgb(245, 243, 243);
    border: none;
    border-radius: 20px;
    padding: 1vw 2vw;
    font-size: 1.8vw;
    background-color: rgb(43, 43, 39);
    
}

.answer{
    color: ;
    font-size: 2.5vw;
    background-color: rgba(54, 46, 46, 0.274);
    padding: 0.2vh 2vw;
    margin-top: 2vh;
}

#btn-container{
    height: 10vh;
    width: 60vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3vh;
}

.btn{
    padding: 1vh 2vw;
    background: black;
    color: rgb(240, 225, 225);
    font-size: 1.2vw;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid black;
}


@media screen and (max-width:480px) {
    
    h4{
        font-size: 7vw;
        margin-top: 3vh;
    }
    
    textarea{
        height: 30vh;
        width: 80vw;
        font-size:4vw;
    }
    
    .answer{
        font-size: 4.5vw;
    }
    
    #btn-container{
        height: 30vh;
        width: 60vw;
        justify-content: space-evenly;
        flex-direction: column;
        margin-top: 3vh;
    }
    
    .btn{
        padding: 2vh;
        width: 45vw;
        font-size: 3.2vw;
        text-wrap: nowrap;
        margin-top: 2vh;
    }


}


@media screen and (min-width:481px) and (max-width:720px) {
    
    h4{
        font-size: 6vw;
        margin-top: 3vh;
    }
    
    textarea{
        height: 30vh;
        width: 70vw;
        font-size:3.5vw;
    }
    
    .answer{
        font-size: 3.5vw;
    }
    
    #btn-container{
        height: 20vh;
        width: 80vw;
        justify-content: space-evenly;
        margin-top: 3vh;
        gap: 2vw;
    }
    
    .btn{
        padding: 1vh 2vw;
        font-size: 2.2vw;
        text-wrap: nowrap;
        margin-top: 2vh;
    }


}


@media screen and (min-width:721px) and (max-width:1030px) {
    
    h4{
        font-size: 5vw;
        margin-top: 3vh;
    }
    
    textarea{
        height: 40vh;
        width: 60vw;
        font-size:2.5vw;
    }
    
    .answer{
        font-size: 2.5vw;
    }
    
    #btn-container{
        height: 20vh;
        width: 80vw;
        justify-content: space-evenly;
        margin-top: 3vh;
        gap: 2vw;
    }
    
    .btn{
        padding: 1vh 2vw;
        font-size: 1.9vw;
        text-wrap: nowrap;
        margin-top: 2vh;
    }


}