:root {
    --bg-clr: #121212;
    --bg-clr-surface-1: #1e1e1f;
    --bg-clr-surface-2: #2a2a2b;
    --bg-clr-surface-3: linear-gradient(135deg, rgba(64, 64, 64, 0.13) 20%, rgba(64, 64, 64, 0.1) 48.44%);
    --text-clr2: #d6d6d6;
    --heading-clr: #fcfcfc;
    --accent-clr: #FFDB6E;
    --gradient-clr: linear-gradient(137.84deg, #FFDB6E 26.31%, #FFBC5E 93.75%);
}

@media (min-width:576px) {
    /* MEDIA CSS FOR HOME PAGE */

    .main aside .sidebar .contact-btn {
        border: none;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.041), rgba(0, 0, 0, 0.068));
        color: var(--accent-clr);
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px 13px;
        font-size: 12px;
        border-bottom-left-radius: 13px;
        border-top-right-radius: 13px;
    }

    .main aside .sidebar-basic-info {
        height: 120px;
    }

    .main aside .sidebar-basic-info .avatar-box {
        height: 100%;
        margin: 0 30px 0 0;
        border-radius: 25px;
    }

    .main aside .sidebar-basic-info .avatar-box img {
        height: 120px;
    }

    .main aside .sidebar-details {
        display: none;
    }

    .main .box-outer .navbar {
        justify-content: center;
        border: 1px solid rgba(153, 153, 153, 0.253);
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
        border-bottom: 1px solid #4444449c;
        position: fixed;
        top: calc(100% - 59px);
        left: 0;
        right: 0;
        z-index: 99;
        background-color: rgba(43, 43, 44, 0.75);
        backdrop-filter: blur(3px);
        padding: 0;

    }

    .main .box-outer .navbar a {
        margin-right: 32px !important;
        font-size: 14px !important;
    }

    .main .box-outer .about-content .about-item .item-inner .inner-img img {
        width: 40px;
        height: 40px;
    }

    .main .box-outer .client .client-item .owl-item a {
        width: 105px;
    }

    .main .box-outer .about-testimonial .heading,
    .main .box-outer .client .heading {
        font-size: 24px;
        margin-bottom: 0;
    }

    /* MEDIA CSS FOR ABOUT PAGE */

    .main .box-outer .page-heading {
        padding-bottom: 20PX;
    }

    /* MEDIA CSS FOR PORTFOLIO PAGE */

    .main .box-outer .portfolio-content .photo-gallery {
        grid-template-columns: 1fr !important;
        width: 100%;
    }


    .main .box-outer .portfolio-content .categories label {
        display: none;
    }

    #allproject {
        border: 1px solid #d6d6d650;
        border-radius: 14px;
        background-color: transparent;
        color: #d6d6d6;
        padding: 3px 16px;
        font-size: 14px;
        line-height: 38px;
    }

    #allproject:focus {
        box-shadow: none;
    }

    #allproject option {
        color: red;
        background-color: transparent;
    }

    .main .box-outer form input:first-child {
        margin-bottom: 27px;
    }

    .main .box-outer form button {
        float: initial !important;
        width: 100%;
        font-size: 14px;
        padding: 12px 18px;
        margin-bottom: 20px;
    }

    .main .box-outer {
        padding: 30px;
    }



}

@media (min-width:768px) {

    /* MEDIA CSS FOR HOME PAGE */

    .main aside .sidebar-details-info ul {
        flex-wrap: wrap;
    }

    .main aside .sidebar-details-info ul li {
        flex: 0 0 50%;
    }

    .main .box-outer .navbar a {
        margin-right: 32px !important;
        font-size: 15px !important;
    }

    .main aside .sidebar-details .sidebar-details-info ul li:nth-child(3) .details-info-item,
    .main aside .sidebar-details .sidebar-details-info ul li:last-child .details-info-item {
        margin-bottom: 0px;
    }

    .main .box-outer .client .client-item .owl-item a {
        width: 153px;
    }

    /* MEDIA CSS FOR PORTFOLIO PAGE */

    .main .box-outer .portfolio-content .photo-gallery {
        grid-template-columns: 1fr 1fr !important;
    }


    .main .box-outer .portfolio-content .categories label {
        display: inline-block;
    }

    #allproject {
        display: none;
    }

    .main .box-outer form button {
        width: initial;
        font-size: 14px;
        padding: 12px 18px;
        margin-bottom: 0;
    }

}

@media (min-width:992px) {

    /* MEDIA CSS FOR HOME PAGE */

    .main aside .sidebar-details-info ul li:last-child .details-info-item,
    .main aside .sidebar-details-info ul li:nth-child(3) .details-info-item {
        margin-bottom: 0;
    }

    .main .box-outer .navbar {
        padding: 0 38px;
        border: 1px solid rgba(153, 153, 153, 0.20);
        border-top-right-radius: 20px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 20px;
        position: absolute;
        right: 0;
        top: 0;
        left: initial;
        background-color: var(--bg-clr-surface-2);
    }

    /* MEDIA CSS FOR PORTFOLIO PAGE */

    .main .box-outer .portfolio-content .photo-gallery {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width:1200px) {

    /* MEDIA CSS FOR HOME PAGE */

    aside {
        margin-right: 20px;
    }

    .main aside .sidebar-basic-info {
        height: auto;
    }

    .main aside .sidebar-basic-info .avatar-box img {
        width: 100%;
        height: 100%;
    }

    .main aside .sidebar-basic-info .avatar-box {
        margin: 30px 30px 20px;
    }

    .main aside .sidebar-details .sidebar-details-info ul li:nth-child(3) .details-info-item,
    .main aside .sidebar-details-info ul li:nth-child(3) .details-info-item {
        margin-bottom: 30px;
    }

    .main aside .sidebar button {
        display: none;
    }

    .main aside .sidebar-details {
        /* height: auto !important; */
        display: block !important;
    }

    /* .about-item{
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .main .box-outer .about-content .about-item .item-inner{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .main .box-outer .about-content .about-item .item-inner .inner-content p {
        margin-bottom: auto !important;

    } */

}

@media (min-width:1400px) {}

@media (max-width:575px) {

    /* MEDIA CSS FOR HOME PAGE */
    .main .box-outer {
        padding: 15px;
    }

    .main .box-outer .page-heading {
        padding-bottom: 0;
    }

    .main .box-outer .page-heading .title {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .main .box-outer .page-heading .title::before {
        width: 30px;
        height: 3px;
        top: 43px;
    }

    .main .box-outer .about-content h2 {
        margin: 0 0 20px;
        font-size: 18px;
    }

    .main aside {
        padding: 15px;
        margin-bottom: 15px;
    }

    .main aside .sidebar-basic-info {
        height: 80px;
    }

    .main aside .sidebar-basic-info .avatar-box {
        height: 100%;
        margin: 0 15px 0 0;
        border-radius: 17px;
    }

    .main aside .sidebar-basic-info .avatar-box img {
        height: 80px;
    }

    .main aside .sidebar-basic-info .sidebar-basic-info-details h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .main aside .sidebar-details {
        display: none;
    }

    .main aside .sidebar .contact-btn {
        border: none;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.041), rgba(0, 0, 0, 0.068));
        color: var(--accent-clr);
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px 13px;
        font-size: 12px;
        border-bottom-left-radius: 13px;
        border-top-right-radius: 13px;
    }

    .main aside .sidebar .contact-btn span {
        display: none;
    }

    .main .box-outer .navbar {
        justify-content: center;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        /* border: 5px solid #757575; */
        border: 1px solid rgba(153, 153, 153, 0.253);
        position: fixed;
        top: calc(100% - 49px);
        left: 0;
        right: 0;
        z-index: 99;
        background-color: rgba(43, 43, 44, 0.75);
        backdrop-filter: blur(3px);
        box-shadow: 0px 16px 30px 10px rgba(0, 0, 0, 0.25);
        padding: 0px;
    }

    .main .box-outer .navbar a {
        margin-right: 20px !important;
        font-size: 11px !important;
        padding: 15px 10px !important;
    }

    .main .box-outer .about-content .about-item .item-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-bottom: 15px;
    }

    .main .box-outer .about-content .about-item .item-inner img {
        margin-bottom: 13px;
        width: 40px;
        height: 40px;
    }

    .main .box-outer .about-testimonial .heading {
        margin-bottom: 0px;
    }

    .main .box-outer .about-testimonial .testimonial-item .item-inner .inner-img {
        width: 60px;
        height: 60px;
    }

    .main .box-outer .about-testimonial .testimonial-item .item-inner h3 {
        margin: 24px 0px 5px;
        font-weight: 600;
        font-size: 16px;
    }

    .main .box-outer .about-testimonial .testimonial-item .item-inner {
        padding: 16px;
    }

    .owl-dots {
        margin-top: 0px !important;
    }

    .owl-theme .owl-dots .owl-dot span {
        width: 6px !important;
        height: 6px !important;
    }

    .owl-theme .owl-dots .owl-dot.active span {
        width: 12px !important;
    }

    .main .box-outer .client .heading {
        margin-bottom: 0px;
    }

    .main .box-outer .client .client-item .owl-item a {
        width: auto;
    }

    /* MEDIA CSS FOR ABOUT PAGE */

    .main .box-outer .page-heading .title::before {
        top: 33px;
    }

    .main .box-outer .education .book-icon {
        margin-right: 16px;
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .main .box-outer .education .book-icon i {
        font-size: 14px;
    }

    .main .box-outer .education h3 {
        font-size: 18px;
    }

    .main .box-outer .timeline::before {
        left: 14px;
        top: -20px;
        height: 20px;
    }

    .main .box-outer .timeline {
        padding-left: 14px;
        margin-top: 20px;
    }

    .main .box-outer .timeline .timeline-item h3 {
        font-size: 13px;
        font-weight: normal;
    }

    .main .box-outer .timeline .timeline-item span {
        font-size: 14px;
    }

    .main .box-outer .timeline .timeline-item p {
        font-size: 14px;
    }

    .main .box-outer .skill-title {
        font-size: 18px;
    }

    .main .box-outer .skill-box {
        padding: 20px;
        border-radius: 12px;
    }

    .main .box-outer .skill-box .progress-title span {
        font-size: 13px;
    }

    .main .box-outer .skill-box .progress {
        margin-bottom: 16px;
    }

    /* MEDIA CSS FOR PORTFOLIO PAGE */

    .main .box-outer .portfolio-content .photo-gallery {
        grid-template-columns: 1fr !important;
        width: 100%;
    }


    .main .box-outer .portfolio-content .categories label {
        display: none;
    }

    #allproject {
        border: 1px solid #d6d6d650;
        border-radius: 14px;
        background-color: transparent;
        color: #d6d6d6;
        padding: 3px 16px;
        font-size: 14px;
        line-height: 38px;


    }

    #allproject:focus {
        box-shadow: none;
    }

    #allproject option {
        color: red;
        background-color: transparent;
    }


    /* MEDIA CSS FOR CONTACT PAGE */



    .main .box-outer form input {
        padding: 13px 22px 12px;
        font-size: 14px;
        font-weight: 450;
    }

    .main .box-outer form textarea {
        font-size: 14px;
        font-weight: 450;
    }

    .main .box-outer form input:first-child {
        margin-bottom: 27px;
    }

    .main .box-outer form button {
        float: initial !important;
        width: 100%;
        font-size: 14px;
        padding: 12px 18px;
        margin-bottom: 16px;
    }
}