@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
 :root {
    --main-bg-color: white;
}


/* Dashboard Design   */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

nav {
    padding: 5px 20px;
    width: 100%;
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between;
}

nav .menu-btn i {
    font-size: 25px;
    cursor: pointer;
    color: black;
    display: none;
}

nav .logo img {
    height: 100%;
    width: 100px;
    align-items: center;
}

nav ul {
    display: flex;
    align-items: center;
    z-index: 1000;
}

nav ul li {
    list-style: none;
}

nav ul li:hover {
    top: 65px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

nav ul li a {
    color: rgb(71, 68, 68);
    text-decoration: none;
    font-size: 18px;
    justify-content: center;
    align-items: center;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: black;
    color: white;
}

#chkClick {
    display: none;
}

@media only screen and (max-width: 600px) {
    nav .menu-btn i {
        display: block;
    }
    #chkClick:checked~.menu-btn i:before {
        content: "\f00d";
    }
    nav ul {
        position: fixed;
        top: 100px;
        left: -100%;
        background: #111;
        height: 100vh;
        width: 100%;
        display: block;
        text-align: center;
        transition: all 0.3s ease;
    }
    #chkClick:checked~* ul {
        left: 0%;
    }
    nav ul li {
        margin: 40px 0;
    }
    nav ul li a {
        font-size: 18px;
        color: white;
    }
    nav ul li a:hover {
        background: white;
        color: black;
    }
    .middlecontainer .box1 {
        height: 250px;
        position: relative;
    }
    .middlecontainer .box {
        height: 300px;
        position: relative;
    }
    
    
    .middlecontainer .button {
        cursor: pointer;
        position: absolute;
        transform: translate(-50%, -50%);
        top: 60%;
        left: 50%;
        background-color: rgb(35, 34, 34);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        height: 50px;
        width: 250px;
        border-radius: 4px;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
}

* .main-content {
    min-height: calc(100vh - 100px - 40vh);
}

.middlecontainer {
    padding: 0;
    margin: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.box {
    height: 500px;
    position: relative;
}

.box1 {
    height: 500px;
    position: relative;
}

.admin-dash-container {
    padding: 100px 20px 0 20px;
    height: 100%;
    margin: 0;
    width: 100%;
    display: flex;
    grid-gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.admin-dash-container a {
    background: linear-gradient(90deg, rgba(180, 137, 58, 1) 0%, rgba(241, 108, 25, 1) 50%, rgba(190, 42, 23, 1) 100%);
    display: flex;
    height: 200px;
    width: 300px;
    position: relative;
    border-radius: 8px;
    border: none;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.admin-dash-container a:hover {
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.middlecontainer h2 {
    margin: 0;
    text-transform: capitalize;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 40%;
    left: 50%;
    font-size: 20px;
}

.button {
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 55%;
    left: 50%;
    background-color: rgb(35, 34, 34);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 50px;
    width: 250px;
    border-radius: 4px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.button:hover {
    color: white;
    text-decoration: none;
}

.box img {
    height: 100%;
    width: 100%;
    -webkit-filter: brightness(50%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    object-fit: cover;
}

.box img:hover {
    -webkit-filter: brightness(100%);
}

footer {
    padding: 40px 10px 10px 10px;
    height: auto;
    width: 100vw;
    background: black;
    font-family: 'Lato', sans-serif;
    color: white;
    position: absolute;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-content h3 {
    font-size: 22px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}

.social {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 1rem 0;
}

.social li {
    margin: 0 10px;
}

.social a {
    text-decoration: none;
    color: #fff;
    word-spacing: 2px;
}

.social a i {
    font-size: 16px;
    transition: color 0.4s ease
}

.social a {
    font-size: 15px;
    transition: color 0.4s ease
}

.social a:hover i {
    color: crimson;
}

.footer-bottom {
    background: #000;
    width: auto;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 15px;
    word-spacing: 2px;
    text-transform: capitalize;
}

.footer-bottom-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 1rem 0;
}

.footer-bottom-menu li {
    margin: 0 10px;
}

.footer-bottom-menu a {
    text-decoration: none;
    color: #fff;
    word-spacing: 2px;
}

.footer-bottom-menu a i {
    font-size: 16px;
    transition: color 0.4s ease
}

.footer-bottom-menu li a {
    color: #fff;
    font-size: 15px;
    transition: color 0.4s ease
}

.footer-bottom-menu a:hover i {
    color: crimson;
}


/* Contact Page Design */

.contactbox {
    background: transparent;
    position: relative;
    display: flex;
}

.contactbox h3 {
    margin: 0;
    padding: 0;
    text-transform: capitalize;
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex;
}

.contactbox p {
    padding: 30px;
    font-size: 15px;
    word-spacing: 2px;
    text-transform: capitalize;
}

.contactbox img {
    padding: 10%;
    width: 80%;
    height: 100%;
    justify-content: center;
    display: flex;
    position: relative;
    align-items: center;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.contact-content h3 {
    font-size: 25px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
}

.contact-social {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 1rem 0;
}

.contact-social li {
    margin: 0 10px;
}

.contact-social a {
    color: #000;
    text-decoration: none;
    word-spacing: 2px;
}

.contact-social a i {
    font-size: 30px;
    transition: color 0.4s ease
}

.contact-social a {
    font-size: 20px;
    transition: color 0.4s ease
}

.contact-social a:hover i {
    color: crimson;
}


/* DASHBOARD CARD DESIGN */

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;
    display: inline-flex;
    height: 300px;
    width: 350px;
    margin: 20px 10px;
    cursor: pointer;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: darkslategrey;
}

.card:hover {
    color: darkslategrey;
}

.card img {
    border-radius: 10px;
    height: 240px;
    width: 100%;
    /* width: 240px; */
    padding: 7px;
    background-repeat: no-repeat;
    background-size:cover;
}

.card img:hover {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.card .card-body {
    padding: 0px 10px;
}

.card .card-body p {
    height: 60px;
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}