form {
    transition: all 2s ease;
    display: grid;
    position: relative;
    margin-bottom: 20px;
    padding: 5px;
    width: 280px;
    grid-gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
#about-p > textarea{
    height: 8em;
}
@media screen and (max-width: 500px) {
    form {
        display: grid;
        justify-items: center;
        position: relative;
        margin-bottom: 20px;
        padding: 5px;
        max-width: 280px;
        grid-template-columns: 270px;
        grid-template-rows: repeat(5, min-content);
    }
}

@media screen and (max-width: 1000px) and (min-width: 500px){
    form {
        display: grid;
        position: relative;
        margin-bottom: 20px;
        padding: 5px;
        width: 540px;
        grid-template-columns: repeat(2, 250px);
        grid-template-rows: repeat(5, min-content);
    }
    #generate{
        grid-column: span 2;
    }
}

@media screen and (min-width: 1000px) {
    form {
        display: grid;
        position: relative;
        margin-bottom: 20px;
        padding: 5px;
        width: 870px;
        grid-template-columns: repeat(2, 250px);
        grid-template-rows: repeat(5, min-content);
    }
    #generate{
        grid-column: span 2;
    }
    #about-p{
        margin: 10px;
        grid-column-start: 3;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 5;
        grid-row: span 5;
        position: absolute;
    }
    #about-p > textarea{
        height: 35em;
    }

}

.main_content{
    display: flex;
    align-items: center;
    justify-content: center;
}
form > p {
    transition: all 2s ease;
}

form > p > input:focus {
    background-color: rgb(0, 255, 128);
}

.floating-squares {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-squares > div:nth-child(1) {
    width: 7%;
}

.floating-squares > div:nth-child(2) {
    width: 12%;
}

.floating-squares > div:nth-child(3) {
    width: 5%;
}

.floating-squares > div:nth-child(4) {
    width: 10%;

}

.floating-squares > div {
    width: 10%;
    aspect-ratio: 1/1;
    transition: all 2s ease;
    position: absolute;

    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 10px;
    z-index: -1;
}

