@font-face {
    font-family: 'RobotoSlab';
    src: url('/Fonts/RobotoSlab/RobotoSlab-Regular.ttf');
}

:root {
    --primary-color: #6459ff;
    --secondary-color: #6157e7;
    --background-color: #E4E7F9;
    --text-color: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'RobotoSlab', sans-serif;
}

body {
    background-color: var(--background-color);
    color: #000;
}

/* Header Start */
header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);

    position: fixed;
}

header .logo {
    display: flex;
    align-items: center;
    margin: 10px;

    > a {
        text-decoration: none;
        color: #fff;
        font-size: 40px;
        font-weight: 600;
    }
}

header .search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 550px;
    height: 50px;
    border-radius: 25px;

    > input {
        width: 92%;
        height: 100%;
        padding: 0 10px;
        border: none;
        border-radius: 25px 0 0 25px;
        outline: none;
        text-indent: 20px;
        font-size: 20px;
        color: #000;
    }

    > button {
        width: 10%;
        height: 100%;
        background-color: var(--primary-color);
        border: 2px solid #ffffff;
        border-radius: 0 25px 25px 0;
        outline: none;
        cursor: pointer;
        font-size: 25px;
        color: #fff;
    }
}

header .loginLnk {
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    margin: 10px;
}

header .loginLnk:hover {
    text-decoration: underline;
}

header .user-menu {
    display: none;
    align-items: center;
    font-size: 40px;

    > .dropdown {
        display: none;
    }
}
/* Header End */

/* Sidebar Start */
.sidebar {
    background-color: var(--secondary-color);
    width: 250px;
    min-height: 93vh;
    position: fixed;
    top: 70px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

.sidebar.close {
    width: 70px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.sidebar ul li {
    list-style: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    > a {
        text-decoration: none;
        color: #fff;
        display: flex;
        align-items: center;
        gap: 20px;
        height: 40px;

        > i {
            font-size: 30px;
        }
    }
}

.sidebar .close {
    font-size: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    margin-top: 10px;
    margin-left: 7px;
    width: 90%;
    height: 50px;
    cursor: pointer;

    > i {
        font-size: 40px;
    }
}

.sidebar .mini-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    margin: 20px 10px;
    width: 90%;
    height: 70px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.mini-profile .profile-pic {
    width: 50px;
    height: 50px;
    justify-self: flex-start;
    margin: 10px;
    border-radius: 50%;
    overflow: hidden;

    > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.sidebar.close .mini-profile {
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 10px;
    justify-content: center;
    border-radius: 50%;
}

.sidebar.close .mini-profile .profile-pic {
    width: 50px;
    height: 50px;
    margin: 0;
}

.sidebar.close .mini-profile .profile-info {
    display: none;
}
/* Sidebar End */

@media screen and (max-width: 768px) {
    header .search-bar {
        > button {
            width: 15%;
        }
    }
}
