@media screen and (max-width: 768px) {

    :root {
        --lm-bg: #f6f8ff;
        --lm-bg-content: #fefefe;
        --lm-text: #4b6a9b;
        --lm-text-alt: #2b3442;
        --lm-shadow: 0px 16px 30px -10px rgba(70, 96, 187, 0.2);
        --lm-shadow-inactive: 0px 16px 30px -10px rgba(0, 0, 0, 0.2);
        --lm-icon-bg: brightness(100%);
        --btn: #0079ff;
        --btn-hover: #60abff;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Space Mono", monospace;
    }

    .wrapper {
        height: 100vh;
        width: 100%;
        background-color: var(--lm-bg);
        color: var(--lm-text);
        position: relative;
        font-size: 13px;
    }

    .container {
        width: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        gap: 36px;
    }

    main {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .title
    {
        font-size:large;
    }

    .btn {
        display: flex;
        letter-spacing: 2.5px;
        width: 70px;
        align-items: center;
        justify-content: space-between;
        font-weight: bold;
        color: var(--lm-text);
        cursor: pointer;
    }

    .btn p {
        text-transform: uppercase;
    }

    .searchContainer {
        position: relative;
        background: var(--lm-bg-content);
        display: flex;
        height: 100%;
        padding: 6px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-image: url(./Images/search-icon.svg);
        background-repeat: no-repeat;
        background-position-x: 24px;
        background-position-y: center;
        background-size: 20px;
        border-radius: 15px;
        box-shadow: var(--lm-shadow);
    }

    #input {
        border: none;
        outline: none;
        width: 80%;
        color: var(--lm-text);
        padding-left: 50px;
        background: none;
    }

    #input::placeholder {
        color: var(--lm-text);
        letter-spacing: -0.5px;
        font-size: 13px;
    }

    .searchContainer img {
        height: 20px;
        width: 20px;
        padding: 0 10px 0px 16px;
    }

    #noResults {
        position: absolute;
        text-transform: capitalize;
        ;
        top: -30px;
        right: -40px;
        background-color: red;
        border-radius: 10px;
        width: 180px;
        padding: 4px 6px;
        color: white;
        text-align: center;
        font-weight: bold;
        scale: 0;
        transition: 0.5s;
    }

    .searchContainer #btn {
        background: var(--btn);
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 12px 16px;
        font-weight: bold;
        font-size: 14px;
        min-width: 84px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
        position: relative;
    }

    .searchContainer #btn:hover {
        background-color: var(--btn-hover);
    }

    .searchContainer #btn:active {
        scale: 0.975;
    }

    .profileContainer {
        background-color: var(--lm-bg-content);
        border-radius: 15px;
        box-shadow: var(--lm-shadow);
        padding: 20px;
        position: relative;
    }

    .profileContent {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 18px;
    }

    .profileHeader {
        display: flex;
        gap: 20px;
        margin-bottom: 8px;
    }

    #userImage {
        width: 90px;
        border-radius: 90px;
    }

    .profileInfoWrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .profileName {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    #name {
        font-size: small;
        font-weight: bold;
        color: var(--lm-text-alt);
    }

    #username {
        color: var(--btn);
    }

    #date {
        font-size: 12px;
        padding: 10px 0px 0px;
    }

    #profileBio {
        line-height: 25px;
        opacity: 0.75;
    }

    .statsContainer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        background: var(--lm-bg);
        padding: 18px 28px;
        border-radius: 10px;
    }

    .profileStats {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .statsTitle {
        font-size: 11px;
    }

    .profileStats a {
        text-decoration: none;
        color: var(--lm-text-alt);
        font-weight: bold;
        font-size: 16px;
    }

    .profileStats a:hover {
        text-decoration: underline;
    }

    .profileFooter {
        display: flex;
        flex-flow: row wrap;
        color: var(--lm-text);
    }

    .profileInfo {
        width: 50%;
        display: flex;
        gap: 14px;
        justify-content: center;
        align-items: center;
    }

    .bottomIcon {
        width: 20px;
        filter: var(--lm-icon-bg);
    }

    .profileInfo p {
        overflow-wrap: break-word;
    }

    .profileInfo a {
        color: var(--lm-text);
        word-break: break-all;
        text-decoration: none;
    }

    .profileInfo a:hover {
        text-decoration: underline;
    }

    footer {
        background-color: black;
        color: white;
        text-align: center;
        padding: 20px;
        width: 100%;
        font-size:x-small;
    }

}

