/* :root{
    --background-color:#1c2128;
    --primary:#2bb4f3;
    --footer:#7c87f2;
    --link:#0ea3e6;
    --success:#2fd0ba;
    --error:#f170b1;
    --nav:#21da83;
    --button:linear-gradient(120deg, #939dfb 0%, #575af5 100%);
    --grad:linear-gradient(65deg,#41ce8c, #647eff,#647eff,#c2ccff);
    --DM-font:"Cardo", serif;
} */

/* Layout */
.contact-dashboard {
    /* display: flex;
    background-color: #000000;
    min-height: 100vh;   100% of viewport height */
    display: flex;
    gap: 2rem;  
    padding:2rem 0 0 0;
}

.sidebar-container {
    flex: 1;
}

/* Sidebar */
.sidebar {
    margin-top: 7em;
    margin-left: 7em;
    width: 280px;          
    padding: 1rem;
    border-radius: 0.5rem;

}



.sidebar .contact-list {
    margin-top: 1rem;
    text-align: left;
    list-style: none;
    padding: 0;
}

.contact-card{
    margin-top: 1rem;
    text-decoration: none;
    background: #1e2028;
    padding:1rem 2rem 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.contact-top{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap:2rem;
}
.contact-card svg{
    fill: #624db0;
    display: inline-block;
    width:28px;
}
.contact-card h5{
    display: inline-block;
}

.contact-card p{
    font-size: 18px;

}
.contact-card:hover{
    animation: slideIn .6s linear;
}

/* @keyframes slideIn {
    0% {
      transform: translateY(10px);
    }
    100% {
      transform: translateY(0px);
    }
} */

/* Main content */
.contact {
    color: aliceblue;
    flex: 4;
    padding: 1rem 10% 1rem 10%;
    text-align: center;
    animation: slideIn .8s linear;

}

.contact-head h2 {
    display: inline-block; 
    color: rgb(160, 160, 160);
    font-size:2rem;
}

.contact-head p{
    margin-top: 0;
    font-size: 23px;
}

.contact-form{
    font-size: 18px;
    display: flex;
    flex-direction: column;
    padding:3rem;
    border-radius: 0.5rem;
    background: #1e2028;


}

.name-wrap{
    display: flex;
    justify-content: space-between;

}
.name-section{
    width:46%;
    display: inline-flex;
    flex-direction: column;
}

.name-section label{
    text-align: left !important;
}

label{
    margin-top:0.5rem;
    text-align: left;
    
}

input,
textarea{
    margin-top:0.5rem;
    border-radius: 0.2rem;
    border: 0;
    width:100%;
    border-radius: 0.2rem;
    color:whitesmoke;
    background-color: #131111;
    border-color: #624db0;
}
.contact-form hr{
    border: none;
    border-top:1px dashed #f0e9e9;
    margin-top:1rem;
    width:100%;
}
.contact-form input{
    height: 30px;
    width:100%;
    margin-top:0.5rem;
    border-radius: 0.2rem;
    border: 0;
    height: 2rem;
    color:whitesmoke;
    background-color: #131111;
    border-color: #624db0;
}

.edit-btn{
    margin-top: 2rem;
    width: 100%;
    padding-top:0.3rem;
    text-align: center;
    height: 40px;
    border-radius: 5px;
    border: 1px solid;
    background: var(--button);
    color: white;
    cursor: pointer;
    font-size: 16px;
}


.edit-btn:hover{
    transform: scale(1.01);
    box-shadow: 0 0px 5px rgba(255, 255, 255, 0.918);

}


