@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=PT+Sans&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:wght@400;700&family=Wendy+One&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

::selection{
    background-color: black;
    color: rgb(255, 255, 255);
}

.container{
    height: 103vh;
    width: 100%;
    padding: 1vw;
    background-color: rgb(138, 138, 138);
}

header{
    height: 60px;
    width: 50%;
    background-color: rgb(255, 255, 255);
    margin: auto;
    padding: 1vw ;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header button{
    height: 40px;
    width: 30%;
    border-radius: 30px;
    background-color: rgb(165, 164, 164);
    border:none;
    cursor: pointer;
    font-size: 1.2vw;
    font-weight: 600;

}

header button:hover{
    transition: 0.3s;
    background-color: rgb(26, 25, 25);
    color: #fff;
}

.text-boxes{
    height: 45%;
    width: 100%;
    margin-top: 1vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    border-radius: 20px;
    overflow: hidden;

}

.box-1{
    height: 100%;
    width: 50%;
    position: relative;

}

.box-2{
    height: 100%;
    width: 50%;
    position: relative;

}

.box-1 textarea{
    min-height: 100%;
    width: 100%;
    resize: none;
    padding: 1vw;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    font-size: 17px;
    font-weight:400;
}

.box-1 button{
    position: absolute;
    bottom: 2.5vw;
    right: 2.5vw;
    height: 30px;
    width: 50px;
    border-radius: 4px;
    padding: 4px;
    border: none;
    cursor: pointer;
    background-color: #919191;
    font-weight: 600;
    text-transform: uppercase;
}

.box-1 button:active{
    transition: 0.3s;
    background-color: rgb(26, 25, 25);
    color: #fff;

}


.box-2 textarea{
    min-height: 100%;
    width: 100%;
    resize: none;
    padding: 1vw;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    font-size: 17px;
    font-weight:400;
}

.box-2 button{
    position: absolute;
    bottom: 2.5vw;
    right: 2.5vw;
    height: 30px;
    width: 50px;
    border-radius: 4px;
    padding: 5px;
    border: none;
    cursor: pointer;
    background-color: #919191;
    font-weight: 600;
    text-transform: uppercase;
}

.box-2 button:active{
    transition: 0.3s;
    background-color: rgb(26, 25, 25);
    color: #fff;
}

#generateBtn{
    height: 50px;
    width: 100%;
    margin-top: 1vw;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background-color: rgb(10, 10, 10);
    color: #fff;
    text-transform: uppercase;
} 

#generateBtn:hover{
    transition: 0.3s;
    background-color: rgb(97, 97, 97);
    border: 3px solid rgb(0, 0, 0);
}

.result-box{
    height: 29%;
    width: 100%;
    margin-top: 1vw;
    border-radius: 8px;
    overflow: hidden;
    border: none;

}

.result-box textarea{
    height: 100%;
    width: 100% ;
    resize: none;
    border-radius: 8px;
    padding: 1vw;
    font-size: 17px;
    font-weight:400;
    border:none;
    outline: none;
}

.result-box span {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    height: 1rem;
    width: 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.result-box button:hover{
    transition: 0.3s;
    background-color: rgb(26, 25, 25);
    color: #fff;
}


.popup {
    visibility: hidden;
    width: 80px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 70px;
    right: 50px;
    opacity: 0;
    transition: opacity 0.3s;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}
