@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;600;900&family=Raleway:wght@100;400&display=swap');
body{
    background: rgb(19,6,79);
    background: linear-gradient(90deg, rgba(19,6,79,1) 0%, rgba(89,20,176,1) 35%, rgba(70,16,138,1) 100%);
    background-image: url("img/background.svg") ;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    height: 100vh;
    display: grid;
    grid-template-columns:.6fr 1.2fr 1.4fr 1fr;
    grid-template-rows: .3fr 3.3fr .2fr .15fr;
    grid-gap: 1rem;
    grid-template-areas:
    "nav nav nav nav"
    "sidebar messageContent messageContent messageResult"
    "sidebar divBtns divBtns divBtnr"
    "footer footer footer footer"
    ;
    overflow: hidden;
}

header{
    display: flex;
    grid-area: nav;
    background-color: rgba(255,255,255,0.3);
    padding: 1rem;
    align-items: center;
    justify-content: space-around;
}

header h1{
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #000000;
    text-align: center;
}
#logo{
    width: 3rem;
}

#divHead{
    display: flex;
}

#divHead h1{
    margin-left: 2rem;
}

#sidebar{
    font-size: 1rem;
    margin: .5rem 0 0 2rem;
    grid-area: sidebar;
}

#sidebar p{
    font-family: 'Poppins', sans-serif;
    font-size: 2vh;
    font-weight: 400;
    line-height: 1.5rem ;
}

#messageContent{
    grid-area: messageContent;
}

#imageHolder{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: large;
    font-weight: thin;
    color: white;
    font-family: 'Raleway', sans-serif;
    
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 1rem;
    border: #7048b9 solid 5px;
    margin-right: 2rem;
    text-align: center;
    
}

#imageHolder img{
    width: 100%;
    opacity:  70%;
}

#imageHolder h5,h4{
    margin-top: 1.5rem;
    color: rgb(136, 130, 130);
    text-align: center;
}

#imageHolder h5{
    font-weight: bold;
}

#messageResult{
    margin-right: 2rem;
    grid-area: messageResult;
    display:none
}

#divBtns{
    text-align: center;
    grid-area: divBtns;
}

#divBtnr{
    margin-right: 2rem;
    text-align: center;
    grid-area: divBtnr;
    display:none;
}

textarea{
    font-size: large;
    font-weight: thin;
    color: white;
    font-family: 'Raleway', sans-serif;
    padding: 1rem 0 0 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 1rem;
    border: #7048b9 solid 5px;
}

button{
    margin: .5rem 0 1rem .5rem;
    border-radius: 1rem;
    padding: .5rem 3rem;
    background-color: #c210a0;
    font-size: 1rem;
    border: solid 2px #750960;
    color: white;
    transition: .3s;
}

button:hover{
    background-color: transparent;
    border: solid 2px white;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: footer;
    text-align: center;
    background-color: rgba(255,255,255,0.3);
}

footer p a{
    text-decoration: none;
    color: white;
}

@media only screen and (max-width: 1000px){
    body{
    grid-template-columns:1fr;
    grid-template-rows: 1fr 0.3fr 1.7fr 0.3fr 1.7fr 0.3fr .4fr;
    grid-template-areas:
    "nav"
    "sidebar"
    "messageContent"
    "divBtns"
    "messageResult"
    "divBtnr"
    "footer"
    ;
    }
    #messageResult,#divBtnr,#imageHolder,button,textarea{
        margin:0;
    }

    #messageContent{
        min-height: 9.375rem;
    }

    #imageHolder{
        flex-direction: row;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    #imageHolder h5, #imageHolder h4{
        margin: 0;
    }

    #imageHolder img{
        width: 100px;
    }
    
    header{
        flex-direction: column;
    }

    header h1{
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    #sidebar{
        padding: 0;
        margin: 0 0 0 .5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #sidebar p{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem ;
    }

    footer{
        text-align:center;
    }
}

@media only screen and (max-height: 740px){
    body{
        background-repeat: repeat;
    }
}