body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
}

.main {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 4fr;
}

#sidebar {
    background-color: hsl(201deg 78% 47%);
    position: sticky;
    top: 0px;
    height: 100vh;
    padding-left: 20px;
}

.content {
    padding: 1px 30px;
}

@media screen and (min-width: 1100px) {
    .btn-blue {
        padding: 7px 17px;
        margin: 10px;
    }
    .left {
        display: flex;
        gap: 30px;
    }
    .menu-icon {
        display: none;
    }
    .announcement-title-phone {
        display: none;
    }
    .announcement-title {
        display: block;
    }
    .content-main {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 10px;
    }
    #right-block {
        margin-left: 15px;
    }
    .projects {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .nav-mobile {
        display: none;
    }
    #site-name-mobile {
        display: none;
    }
    .nav1 {
        margin-top: 10px;
    }
    .right {
        margin-top: 20px;
    }
}

@media screen and (max-width: 1100px) {
    #sidebar {
        display: none;
    }
    #container {
        width: 100vw;
    }
    .main {
        height: 100vw;
    }
    .menu-icon {
        display: block;
    }
    .menu-icon>span {
        font-size: 30px;
    }
    #user-name {
        font-size: 12px;
    }
    .btn-blue {
        padding: 7px 17px;
        margin: 10px;
    }
    .left {
        display: flex;
    }
    .announcement-title {
        display: none;
    }
    .announcement-title-phone {
        display: block;
    }
    .content-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .projects {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .nav-mobile {
        background-color: hsl(201deg 78% 47%);
        box-shadow: 0px 0px 20px 0px gray;
        position: fixed;
        top: 30;
        right: 0;
        left: 0;
        z-index: 1;
    }
    #site-name-mobile {
        padding: 20px;
        position: absolute;
        background: #1894d5;
        left: 0;
        top: 0;
        right: 0;
    }
    .nav1 {
        margin-top: 85px;
    }
    .right {
        margin-top: 20px;
    }
}

@media (max-width: 680px) {
    .projects {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .btn-blue {
        padding: 4px 6px;
        font-size: 12px;
        margin: 10px 0;
    }
    .nav-mobile {
        background-color: hsl(201deg 78% 47%);
        box-shadow: 0px 0px 20px 0px gray;
        position: fixed;
        top: 30;
        right: 0;
        left: 0;
        z-index: 1;
    }
    #user-name {
        display: none;
    }
    #site-name-mobile {
        padding: 10px 23px;
        position: absolute;
        background: #1894d5;
        left: 0;
        right: 0;
        top: 0;
    }
    .nav1 {
        margin-top: 60px;
    }
    .right {
        margin-top: 1px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}

.sidebar-links {
    list-style: none;
    margin-left: -40px;
}

.sidebar-links-mobile {
    list-style: none;
    margin-left: -40px;
}

.sidebar-links>li {
    padding-left: 5px;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
    transition: all 1s ease;
}

.sidebar-links-mobile>li {
    padding-left: 5px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 20px;
    cursor: pointer;
}

.sidebar-links>li:nth-of-type(7) {
    margin-top: 20px;
}

.sidebar-links>li:hover {
    background-color: rgb(3, 84, 128);
    border-left: 7px solid white;
}

.sidebar-links-mobile>li:hover {
    background-color: rgb(3, 84, 128);
}

.sidebar-links>li>a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: medium;
}

.sidebar-links-mobile>li>a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: medium;
}

.sidebar-links>li>a>span {
    margin-right: 8px;
}

.sidebar-links-mobile>li>a>span {
    margin-right: 8px;
}

.site-title>span {
    margin-right: 10px;
    font-size: 30px;
}


.site-title-mobile>span {
    margin-right: 8px;
    font-size: 20px;
}

#sidebar>nav {
    margin-top: 14px;
}

.site-title {
    text-decoration: none;
    color: white;
    font-size: 23px;
    font-weight: bold;
}

.site-title-mobile {
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.sidebar-links {
    list-style: none;
    margin-left: -40px;
}

.sidebar-links>li {
    padding-left: 5px;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
    transition: all 1s ease;
}

.sidebar-links>li:nth-of-type(7) {
    margin-top: 20px;
}

.sidebar-links>li:hover {
    background-color: rgb(3, 84, 128);
    border-left: 7px solid white;
}

.sidebar-links>li>a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: medium;
}

.sidebar-links>li>a>span {
    margin-right: 8px;
}

#sidebar>nav {
    margin-top: 14px;
}

#container {
    background-color: hsl(214deg 32% 91%);
    padding-bottom: 30px;
}

.nav-bar {
    background-color: white;
    padding: 1px 30px;
    box-shadow: 0px 0px 20px 0px gray;
    position: sticky;
    top: 0px;
    z-index: 1;
}

#search {
    height: 28px;
    width: 70%;
    border: 1px solid hsl(214deg 32% 91%);
    border-radius: 8rem;
    background-color: hsl(214deg 32% 91%);
    outline: none;
    padding-left: 15px;
    margin-left: 10px;
    /* margin-right: 140px; */
}

#search:focus {
    border: 1px solid blue;
}

.profile {
    display: flex;
    justify-content: space-around;
    gap: 20px
}

.img {
    border-radius: 50%;
    cursor: pointer;
}

.img-small {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.img-medium {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    /* animation: tournee infinite 5s linear; */
}

/* @keyframes tournee {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  } */
  
#user-name {
    padding-top: 8px;
    cursor: pointer;
}

.btn-blue {
    background-color: hsl(201deg 78% 47%);
    border-radius: 8rem;
    color: white;
    text-decoration: none;
    transition: all 0.5s ease;
    border: 1px solid hsl(201deg 78% 47%);
}

.btn-blue:hover {
    border: 1px solid hsl(201deg 78% 47%);
    background-color: white;
    color: hsl(201deg 78% 47%);
}

.nav1 {
    display: flex;
    justify-content: space-between;
}

.nav1>div:nth-of-type(1) {
    flex-basis: 70%;
}

.nav2 {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.project {
    background-color: white;
    box-shadow: 5px 5px 10px 0px rgb(185, 183, 183);
    padding: 5px 35px;
    padding-bottom: 5px;
    border-radius: 10px;
    border-left: 10px solid hsl(41deg 86% 58%);
    min-height: 182px;
    transition: all 1s ease;
    position: relative;
}

.project:hover {
    box-shadow: 5px 5px 30px 5px rgb(153, 151, 151);
    border-left: 10px solid rgb(161, 111, 2);
    cursor: default;
}

.icons {
    /* float: right; */
    /* margin-top: 10%;
    margin-left: 70%;
    display: flex; */
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.icons>span {
    margin-left: 10px;
}
.icons>span:hover {
    color: hsl(201deg 78% 47%);
}

::-webkit-scrollbar {
    width: 7px;
}

 ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
}

 ::-webkit-scrollbar-thumb:hover {
    background-color: hsl(201deg 78% 47%);
}

::-webkit-scrollbar-thumb:active {
    background: rgb(1, 60, 92);
}

.annonces {
    background-color: white;
    padding: 5px 20px;
    height: fit-content;
    box-shadow: 5px 5px 10px 0px rgb(185, 183, 183);
    transition: all 1s ease;
    border-radius: 7px;
}

.annonces:hover {
    box-shadow: 5px 5px 30px 5px rgb(153, 151, 151);
    cursor: default;
}

.trending {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trending-items {
    display: flex;
    align-items: center;
    gap: 15px;
    vertical-align: auto;
}

.mdi {
    cursor: pointer;
}

.project-detail {
    color: gray;
    margin-top: -20px;
    font-size: 14px;
}

.annonces-detail {
    color: gray;
    margin-top: -20px;
    font-size: 12px;
}

.trending-detail {
    color: gray;
    font-size: 11px;
}

.annonce-items {
    border-bottom: 2px solid lightgray;
}

.annonce-items:last-child {
    border-bottom: none;
}

.username {
    font-size: 14px;
}

.project-content {
    display: flex;
    flex-direction: column;
}

#menu-toggle {
    visibility: hidden;
}

.menu-icon:hover {
    background-color: lightskyblue;
}

.titles {
    display: flex;
    gap: 68%;
}
