:root{
    --primary-color: #0f0f10;
    --secondary-color: #18181b;
    --border-color: #303036;
    --contrast-color: #e6e6e6
}


body{
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--contrast-color);
    font-family: "Manrope", sans-serif;
}

.container{
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    width: 40%;
    border-radius: 8px;
}

.container > *{
    margin: 20px 10px 0 10px;
}

h1{
    font-weight: 600;
}

p, input, textarea, label{
    font-weight: 400;
}

.lyrics{
    display: flex;
    flex-flow: column nowrap;
}

.generate-lyric{
    width: 40%;
    
    
}

button{
    margin: 10px 0;
    height: 40px;
    background-color: var(--contrast-color);
    border-radius: 8px;
}

textarea{
    resize: vertical;
    background-color: var(--primary-color);
    color: var(--contrast-color);
    font-size: 14px;
}

textarea:focus{
    outline: none;
}

.results{
    
    width: 40%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    
}




.song{
    
    display: flex;
    flex-direction: column;
    width: 40%;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-top: 10px;

}

input[type="checkbox"]{
    margin-right: 10px;
}

.generate-lyrics{
    display: flex;
    flex-direction: column;
    width: 90%;
}


.spinner{
    right: 0;
    left: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 9px solid;
    border-color: #dbdcef;
    border-right-color: #474bff;
    animation: spinner-d3wgkg 1s infinite linear;
}

.pdownload{
    text-align: center;
}

@keyframes spinner-d3wgkg {
    to {
       transform: rotate(1turn);
    }
 }

@media only screen and (max-width: 820px){
    
    

    .container{
    
        width: 90%;
    }
    .results{
        width: 90%;
        justify-content: space-around;
        
    }
    .song{
        width: 45%;
    
        
    }


}
