:root {
    --prim-color: #58467a;
    --sec-color: #c6a767;
    --tert-color: #4d5e68;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
}

html,
body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.txtfield {
    padding: 5px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    height: 40px;
}

.txtarea {
    padding: 5px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
}

.prim-btn {
    border: none;
    height: 40px;
    min-width: 150px;
    background: var(--prim-color);
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.prim-btn:hover {
    background-color: var(--tert-color);
}

.prim-btn-rev {
    border: none;
    height: 40px;
    min-width: 150px;
    background: var(--sec-color);
    border-radius: 5px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.prim-btn-rev:hover {
    background-color: var(--tert-color);
}

/*
    Navbar start
*/

.navbar {
    width: 100%;
    padding: 10px 0;
    background-color: #ffffff;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.navbar ul li {
    margin: auto 10px;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: var(--prim-color);
}

.navbar ul li a:hover {
    color: var(--sec-color);
}

/* Navbar Mobile */

.navbar-mob {
    display: none;
    padding: 10px 0px;
    position: sticky;
    top: 0;
    background-color: var(--prim-color);
    z-index: 2000;
    height: 45px;
    transition: all ease 0.5s;
    overflow-y: hidden;
}

.navbar-mob ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    padding: 30px;
    gap: 10px;
}

.navbar-mob ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

/*
    Navbar end
*/

/* Footer */
footer {
    background-color: var(--prim-color);
    padding: 25px 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.links-con {
    display: flex;
}

.links-col {
    display: flex;
    flex-direction: column;
    margin: auto 25px;
    justify-content: start;
    align-items: start;
    list-style: none;
    gap: 10px;
}

.social-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media i {
    color: var(--sec-color);
    margin: auto 15px;
    font-size: 25px;
    cursor: pointer;
}

.social-media i:hover {
    color: var(--tert-color);
}

.links-col a {
    text-decoration: none;
    font-weight: bold;
    color: var(--sec-color);
}

.links-col a:hover {
    color: var(--tert-color);
}

/*
    footer section end
*/

/*
    Admin Panel styles
*/

.admn-cntnr {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 100vh;
}

/* Sidebar start */
.sidebar {
    width: 15%;
    background: var(--prim-color);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 25px;
}

.sidebar-btn,
.sidebar-btn a {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

.sidebar-btn:nth-child(1) {
    margin-top: 50px;
}

.sidebar-btn {
    margin: 20px 0;
    cursor: pointer;
}

/* Sidebar end */

.content {
    width: 85%;
}

.container {
    padding: 20px;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
    .navbar-mob {
        display: block;
        width: 100%;
    }

    .navbar {
        display: none;
    }
}

/* Mobile screens */
@media screen and (max-width: 600px) {
    .navbar-mob {
        display: block;
        width: 100%;
    }

    .navbar {
        display: none;
    }

    .links-con {
        flex-direction: column;
    }

    .links-col {
        margin: 10px auto;
    }

    .social-media {
        margin: 10px auto;
    }
}
