@font-face {
    font-family: "ShortBaby";
    src: url(../DASHBOARD\ PROJECT/fonts/ShortBaby.ttf) format("truetype");
}
body{
    /* font-family:"Varela Round"; */
    font-family:"Sedan SC", serif;
    background-color:#f5f5f5;
}
main{
    display:grid;
    grid-template-columns: 1fr 5fr;
    gap:20px;
    padding:20px;
}
.left{
    /* since inside left section I have multiple stuffs about user so need to use flex properties. */
    display:flex;
    flex-direction:column;
    /* I want gap between all the div sections. */
    gap:10px;
    /* also I want the left section to be fixed from 20px of the top. */
    position:sticky;
    top:20px;
    background-color: black;
    height:90vh;
    border-radius:30px;
}
/* span{
    background-color:white;
} */

.profile{
    /* to make sure image and paras are inthe proper order columnwise. */
    display:flex;
    flex-direction:column;
    align-items:center;
    margin:10px;
}
.profile img{
    width:100%;
    height:100%;
    border-radius:50%;
}
.profile p{
    color:white;
    font-size:1.4rem;
    font-weight:250;
}
.nav{
    display:flex;
    flex-direction: row;
    padding-right:1.5rem;
    color:white;
    margin-left:2rem;
}
.nav:hover{
    color:gold;

}
.nav>a{
    padding-left:1.5rem;
    font-weight:400;
    font-size:1rem;
    color:white;
    text-decoration: none;
    margin-bottom:2rem;
}
.nav>a:hover{
    color:lightgray;
}
.nav{
    margin-top:30px;
}
.right{
    display:flex;
    flex-direction: column;
    gap:20px;
}
header{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
}
header>h1{
    margin-left:50px;
    margin-top:10px;
    font-size:35px;
    font-weight:700;
}
header>input{
    margin-right:10%;
    margin-top:15px;
    width:200px;
    height:25px;
    border-radius: 10px;
    border:0px solid white;
    background-color:white;
}
/* to add a green outline. */
header>input:focus{
    outline:none;
    border:3px solid greenyellow;
}
#board{
    width:85%;
    background-color:white;
    border-radius:25px;
    margin-left:50px;
    padding:10px;
}
#board img{
    width:100%;
    height:100%;
    object-fit:cover;
}
#data>h2{
    text-align:center;
    text-decoration: underline;
    
}
#data>h2:hover{
    text-decoration-color: goldenrod;
}
.card-container{
    display:flex;
    justify-content: space-between;
    gap:20px;
    flex-wrap:wrap;
    font-family:"ShortBaby";
}
.card{
    height:100px;
    width:180px;
    border-radius:20px;
}
.card1{
    background-color: #ddefe0;
}
.card2{
    background-color:#f4ecdd;
}
.card3{
    background-color:#efdada;
}
.card4{
    background-color:#dee0ef;
}
.card:hover{
    background:radial-gradient(circle, rgba(238, 174, 202, 1) 0%,
     rgba(148, 187, 233, 1) 100%);
}
.card>i{
    margin-left:150px;
    margin-top:20px;
}
.cardHead{
    margin:0;
    margin-left:10px;
    font-size:18px;
}
.cardData{
    margin-top:4px;
    font-size:16px;
    margin-left:10px;
}

#users{
    margin-top:50px;
    margin-left:70px;
}
/* table styling */
table{
    width:95%;
    border-collapse:collapse;
    background-color:white;
    border-radius:20px;
}
table th,
table td{
    padding:15px 100px;
}
table th{
    background-color:#a39696;
    font-weight:600;
}
table tbody tr:nth-child(even){
    background-color:#f9f9f9;
}
table tbody tr:hover{
    background-color: #eaeaea;
}

/* schedule part */
#schedule{
    background-color:white;
    border-radius:30px;
    height:450px;
    margin-top:80px;
    overflow-y: scroll;
    max-height: 400px;
    margin-left:70px;
}
.schedule-head{
    display:flex;
    flex-direction:row;
    justify-content: space-between;
    margin-top:40px;
}
.schedule-head>h3{
    margin-left: 20px;
    font-weight: 600;
    font-size:25px;
    margin-top:0;
    padding-top:0;
}
.schedule-head>p{
    margin-right:20px;
    font-weight:400;
    font-size:15px;
    margin-top:0;
}
.meets{
    margin-top:0;
    margin-bottom:1px;
    margin-left:10px;
}
.head{
    font-size: 20px;
    font-weight: 600;
}
.detail{
    font-size:16px;
    font-weight:400;
    color:#999999;
}
.schedule-details div:nth-child(odd){
    margin-left:20px;
    margin-bottom:10px;
    border-left:3px solid #9bdd7c;
}
.schedule-details div:nth-child(even){
    margin-left:20px;
    margin-bottom:10px;
    border-left:3px solid #6972c3;
}
/* contact */
.contact-inner{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
    margin-top:20px;
    margin-left:20px;
    margin-bottom:20px;
}
iframe{
    border-radius:30px;
}
.feedback-form{
    background-color:white;
    border-radius:30px;
    padding:20px;
}
.feedback-form h2{
    margin-top:0;
    margin-bottom:20px;
    font-size:24px;
}
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea{
    width:100%;
    padding:10px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}
.feedback-form textarea{
    resize:vertical;
    height:150px;
}
.feedback-form input[type="submit"]{
    width:100%;
    padding:10px;
    border:none;
    border-radius:5px;
    background-color:#9bdd7c;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

footer{
    width:100%;
    background-color:black;
    color:white;
    padding:20px 0;
    text-align:center;
}
footer div{
    margin-bottom:10px;
}
footer a{
    color:white;
    font-size:24px;
    margin:0 10px;
}
footer a:hover{
    color:lightgray;
}
footer a:first-child{
    margin-left:0;
}
footer a:last-child{
    margin-right:0;
}

article h2{
    text-align:center;
    text-decoration:underline;
}
article h2:hover{
    text-decoration-color: goldenrod;
    font-size:32px;
    transition:1s;
}

@media screen and (max-width:780px){
    main{
        display:block;
    }
    .left{
        position:static;
        height:auto;
    }
    .profile-img{
        width:16%;
        position:absolute;
        top:0.1rem;
    }
    .profile p{
        margin-top:5.5rem;
    }
    .navbar{
        display:flex;
        flex-direction:row;
        margin:0%;
        justify-content:space-around;
    }
    .nav{
        margin:0%;
        padding:0%;
    }
    .navbar i{
        display:none;
    }
}